• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Insert text and paste command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Insert text and paste command
      • From: Andrea -XFox- Govoni <email@hidden>
References: 
 >Re: Insert text and paste command (From: J Stewart <email@hidden>)

  • Prev by Date: Re: Re: Selecting mail message by ID
  • Next by Date: Re: Insert text and paste command
  • Previous by thread: Re: Insert text and paste command
  • Next by thread: Re: Insert text and paste command
  • Index(es):
    • Date
    • Thread