• 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: AppleScript-Users Digest, Vol 11, Issue 60
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 11, Issue 60


  • Subject: Re: AppleScript-Users Digest, Vol 11, Issue 60
  • From: Jim Weisbin <email@hidden>
  • Date: Sun, 16 Feb 2014 14:11:50 -0500

Running OS X 10.9.1, this does not give up after the specified time:

tell application "BBEdit"
display dialog (get ID) giving up after 5
end tell

but this does:

tell application “Finder"
display dialog (get id of application "BBEdit") giving up after 5
end tell

>
>
> Well, it works for me with TextWrangler 4.5.6 on 10.9.1.
>
> tell application "TextWrangler"
> 	display dialog (get ID) giving up after 5
> end tell
>
> Replies:
> tell application "TextWrangler"
> 	display dialog "com.barebones.textwrangler" giving up after 5
> 		--> {button returned:"OK", gave up:false}
> end tell
> Result:
> {button returned:"OK", gave up:false}




Jim Weisbin | C.T.O. | human | 138 Fifth Avenue | 3rd Floor | New York, NY | 10011 |  (212) 352-0211 |  (917) 375-2272 | Los Angeles Office | 2046 Broadway | Santa Monica, CA | 90404 |  (310) 264-0211 telephone | www.humanworldwide.com

Click here to view our online reel




 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden


  • Prev by Date: Re: Upgrading to Mavericks - is it likely to break EVERYTHING!?
  • Next by Date: elementary question
  • Previous by thread: Export Handlers from Libraries
  • Next by thread: elementary question
  • Index(es):
    • Date
    • Thread