Re: Help duplicating file, desesperated
Re: Help duplicating file, desesperated
- Subject: Re: Help duplicating file, desesperated
- From: Michelle Steiner <email@hidden>
- Date: Wed, 5 May 2004 13:15:58 -0700
On May 5, 2004, at 5:14 AM, Bill White wrote:
Try the following:
set chav to (path to me) as string
set AppleScript's text item delimiters to ":"
set vol to text item 1 of chav
This assumes that the file to be duplicated is on the same volume as
the Script Editor (or the application that invokes the script). If it
is indeed on the same volume as Script Editor, and Script Editor is in
its standard location (the Applications folder of the boot volume),
this is easier:
tell application "System Events" to set vol to the name of the startup
disk
-- Michelle
--
There's no place like 127.0.0.1
There's no place like 127.0.0.1
There's no place like 127.0.0.1
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.