• 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: Robert Poland <email@hidden>
  • Date: Mon, 09 Mar 2015 08:02:26 -0600
  • Z-usanet-msgid: XID422Tciocb9792X34

> On Mar 8, 2015, at 10:58:PM, Dave C <email@hidden> wrote:
>
> 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

Dave,

I assume that what you are doing is ejecting the Time Machine at night and remounting it in the morning. Seem like a good idea.
I’m curious how you remount it?

TIA,

Robert Poland
iMac, Late 2013, 14,2
 3.2 GHz Intel Core I5, 27”
 16 GB Ram, 1TB Fusion HD
 OS X 10.10.2
Robert Poland
Fort Collins CO


 _______________________________________________
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


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>)
 >Re: Error handling? (From: Dave C <email@hidden>)

  • Prev by Date: How Can I Access Properties of Script Applications?
  • Next by Date: Re: Requesting help with illustrator problem
  • Previous by thread: Re: Error handling?
  • Next by thread: Script Editor having problems saving files
  • Index(es):
    • Date
    • Thread