Re: Initialize using Apple Script
Re: Initialize using Apple Script
- Subject: Re: Initialize using Apple Script
- From: Pier Kuipers <email@hidden>
- Date: Thu, 8 Feb 2001 09:04:00 +0000
>
Is there a way to specify which hardrive to initialize through apple
>
script without using, the X and Y position axis implemented by
>
Cursor OSAX extension?
Seems like a *very* dangerous idea to rely on somthing as
inconsistent as the position of items on the desktop to manipulate
them. To select a particular disk, you'd be better off using criteria
such as capacity, whether it's a local volume, startup disk,
removable etc. The finder's dictionary has plenty to offer:
tell application "Finder"
select (every disk whose local volume is false and capacity > 100000)
end tell
BTW, why would you want a script to initialize a hard drive?
Pier.
--
Pier Kuipers
Visual ID
* the Media Asset Management solution *
2 Whitefriars
Aungier Street
Dublin 2
Tel. +353 1 476 7059
Mobile +353 87 294 3063
Fax +353 1 478 1366
ISDN +353 1 602 0754
http://www.visualid.com