Re: Copy text to the clipboard
Re: Copy text to the clipboard
- Subject: Re: Copy text to the clipboard
- From: John M <email@hidden>
- Date: Fri, 2 Dec 2005 21:52:08 +0000
Hi,
I'm not sure if I've missed something in this, but OMM this shows the
last frontmost application (apart from the Finder) when used in the
script menu, or as an application clicked in the Finder. It does
involve some flickering.
tell application "System Events"
set visible of (first process whose frontmost is true) to false
tell application "Finder" to activate
set visible of first process whose name is "Finder" to false
set appName to name of (first process whose frontmost is true and
visible is true)
set visible of first process whose name is "Finder" to true
end tell
activate
display dialog appName
Best wishes
John M
_______________________________________________
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