Re: Insert text and paste command
Re: Insert text and paste command
- Subject: Re: Insert text and paste command
- From: Martin Orpen <email@hidden>
- Date: Thu, 14 Apr 2005 17:02:09 +0100
on 14/4/05 16:27, Andrea -XFox- Govoni at email@hidden wrote:
> I found that the frontmost application when I launch a script from the
> Script Menu is always System Events, so I tried to set the frontmost
> property of System Events to false, hoping that this would make the
> former frontmost application (that is the application where I want that
> the script operates) the new frontmost application... but I found that
> the Finder always became the new frontmost application. :-\
If I were you, I'd use a tool like "On My Command" to run your scripts from
the contextual menu.
Alternatively, you could duplicate your script for the most commonly used
applications and then drop them in:
/Library/Scripts/Applications/[app name]/[script name]
So that the correct script always appears at the bottom of the script menu.
A bit of a kludge, but much quicker than all this mucking about trying to
work out what the last but one active app process was :-)
Regards
--
Martin Orpen
_______________________________________________
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