Re: Copy text to the clipboard
Re: Copy text to the clipboard
- Subject: Re: Copy text to the clipboard
- From: "Brett K." <email@hidden>
- Date: Thu, 01 Dec 2005 15:19:42 -0500
[2005-12-01 13:37-0500] John R. wrote:
How do I ask politely for the "process that was active just
before I ran this script"?! Is there a better way to copy
selected text to the clip board
This is how I do it:
tell application "System Events"
set theProcess to every process whose frontmost is true
tell process theProcess to keystroke "c" using command down
end tell
[Mac OS X 10.4.3]
--
Brett
Thunderbird: Reclaim Your Inbox
<http://www.GetThunderbird.com/>
Firefox: Rediscover the Web
<http://www.GetFirefox.com/>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden