• 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: Error handling?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error handling?


  • Subject: Re: Error handling?
  • From: Dave C <email@hidden>
  • Date: Sun, 08 Mar 2015 21:58:25 -0700

Hi Shane,
Thanks for your reply.

>> If the volume is not busy, eject. If it is busy (I presume the eject command returns an error when script tries to eject it?) then loop until it’s free and then eject.
>
> But how are you triggering the script in the first place -- do you want it to check continuously?

Oh, THAT! I’m executing a macro (using Keyboard Maestro) at a specific time of the day. Once per day. The macro executes this Applescript that I’m having difficulty with.

Once the macro calls the script, I want the script to eject the volume and if the volume is busy, just wait until it isn’t busy.

Is that clear as mud? (c;

Cheers,
Dave
 _______________________________________________
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


  • Follow-Ups:
    • Re: Error handling?
      • From: Robert Poland <email@hidden>
    • Re: Error handling?
      • From: Shane Stanley <email@hidden>
References: 
 >Error handling? (From: Dave C <email@hidden>)
 >Re: Error handling? (From: "S. J. Cunningham" <email@hidden>)
 >Re: Error handling? (From: Jörgen Stahle <email@hidden>)
 >Re: Error handling? (From: Dave C <email@hidden>)
 >Re: Error handling? (From: Shane Stanley <email@hidden>)
 >Re: Error handling? (From: Dave C <email@hidden>)
 >Re: Error handling? (From: Shane Stanley <email@hidden>)
 >Re: Error handling? (From: Dave C <email@hidden>)
 >Re: Error handling? (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: Error handling?
  • Next by Date: Re: Error handling?
  • Previous by thread: Re: Error handling?
  • Next by thread: Re: Error handling?
  • Index(es):
    • Date
    • Thread