Re: Unknown token in do shell script
Re: Unknown token in do shell script
- Subject: Re: Unknown token in do shell script
- From: Luther Fuller <email@hidden>
- Date: Thu, 08 Mar 2012 17:16:48 -0600
On Mar 8, 2012, at 3:13 PM, Iurista GmbH wrote:
>> This works ...
>>
>> property myDisk : alias "LutherFuller-2"
>>
>> quoted form of (POSIX path of myDisk)
>> do shell script "diskutil unmount " & the result
>
> This one works, but it needs nearly 15 seconds to do the job. Maybe it's because it adds a ":" at the end of the disk name in line 1 when compiling..???
The colon is odd. 'posix path' should remove the colon.
I just looked at this (in 10.6.8) and there is no colon.
>> But, so does this ...
>>
>> tell application "Finder" to eject myDisk
>
> This one does not work.
> I dont know if this has to do with Tiger (I still use sometimes an iMac G4 "Lamp", because of Classic).
Yes, this may have something to do with Tiger. Slowness and colon.
_______________________________________________
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