Re: AppleScript - paste into message window
- From: Charles Howse <me@xxxxxxxxxxx>
- Date: Sat, 12 Nov 2005 07:26:13 -0600
On 11/12/05 6:46 AM, in article BF9B4049.1F64%me@xxxxxxxxxxx, "Charles
Howse" <me@xxxxxxxxxxx> wrote:
> Hi,
> I have an AppleScript that copies a line of text to the clipboard, and I'm
> looking for a way to paste that into a message.
>
> Looking at the Entourage Dictionary in AppleScript, it looks like Entourage
> doesn't support 'paste'.
>
> Is there some workaround or hack so that I can run my script, and have it
> paste the contents of the clipboard into the message?
OK, sorry to reply to my own post, but I've solved this.
Here's the script...
do shell script "/Users/Charles/bin/sig.sh"
tell application "Microsoft Entourage"
tell application "System Events"
tell process "Microsoft Entourage"
click menu item "Paste" of menu "Edit" of menu bar item "Edit"
of menu bar 1
end tell
end tell
end tell
.
- Follow-Ups:
- Re: AppleScript - paste into message window
- From: Paul Berkowitz
- Re: AppleScript - paste into message window
- References:
- AppleScript - paste into message window
- From: Charles Howse
- AppleScript - paste into message window
- Prev by Date: Re: Entourage Errors with Exchange
- Next by Date: groups/distribution lists on exchange server not showing up
- Previous by thread: AppleScript - paste into message window
- Next by thread: Re: AppleScript - paste into message window
- Index(es):
Relevant Pages
|