Re: Insert text and paste command
Re: Insert text and paste command
- Subject: Re: Insert text and paste command
- From: Joseph Weaks <email@hidden>
- Date: Thu, 14 Apr 2005 17:13:05 -0500
On Apr 14, 2005, at 4:03 PM, J Stewart wrote:
There is a catch to this when run from the Script Menu. Here's some
info from the AppleScript v1.9.2 release notes -
Scripts that use the path to frontmost application command will now
get the correct path when run from the Script Menu menu extra.
Previously, the command would return the path to System Events.
[3084984]
Here is the work-around I use to bypass the bug/feature. This line
returns the proper/expected result when run from the script menu:
tell application "Finder" to set frontProcess to displayed name of
(path to frontmost application)
Cheers,
Joe Weaks
_______________________________________________
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