Re: Error handling?
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