• 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: why won't force-eject work in a script, but will from command line?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: why won't force-eject work in a script, but will from command line?


  • Subject: Re: why won't force-eject work in a script, but will from command line?
  • From: Emmanuel <email@hidden>
  • Date: Fri, 4 Jul 2003 08:29:30 +0200

At 11:06 AM +0100 03/07/03, Charles Arthur wrote:
> set thedecision to (display dialog "Force-eject?" buttons {"OK",
>"Cancel"})
> if thedecision is "OK" then

If that's actually your code, then the last line should never return true. "thedecision" is that record. You mean "button returned of thedecision".

Emmanuel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

References: 
 >why won't force-eject work in a script, but will from command line? (From: Charles Arthur <email@hidden>)

  • Prev by Date: Re: Calling OSX AppleScript from Classic Apps
  • Next by Date: Re: Newbie blues (was Remove spaces)
  • Previous by thread: Re: why won't force-eject work in a script, but will from command line?
  • Next by thread: Dialog boxes in Photoshop
  • Index(es):
    • Date
    • Thread