• 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: Sending AppleScript to yourself
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending AppleScript to yourself


  • Subject: Re: Sending AppleScript to yourself
  • From: jj <email@hidden>
  • Date: Mon, 10 Oct 2005 17:33:28 +0200
  • Thread-topic: Sending AppleScript to yourself

> display dialog (current application's name) as string
>
> When run from Script Editor, it returns "Script Editor."  When run
> from the Script's menu, it returns "System Events."

Apple fixed a similar [bug] in AS 1.9.2 (with "path to frontmost
application"):

http://www.apple.com/applescript/releasenotes/192OSX.html

I use myself FastScripts, which will return "FastScripts" with your code
(and much more interesting features):

http://www.red-sweater.com/fastscripts/index.html


jj

--
http://www.macscripter.net/
http://www.osaxen.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

References: 
 >Re: Sending AppleScript to yourself (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Sending AppleScript to yourself
  • Next by Date: Re: Sending AppleScript to yourself
  • Previous by thread: Re: Sending AppleScript to yourself
  • Next by thread: Re: Sending AppleScript to yourself
  • Index(es):
    • Date
    • Thread