Re: do shell script with administrator privileges & shell commands
Re: do shell script with administrator privileges & shell commands
- Subject: Re: do shell script with administrator privileges & shell commands
- From: Alex Robinson <email@hidden>
- Date: Wed, 14 Aug 2002 12:10:26 +0100
>
This information is quite helpful. One further issue I've been encountering
>
with the "do shell script" command is converting Mac-style path strings
>
(e.g., "HD:Users:username:Folder1:") to Unix-style paths (e.g.,
>
"/Users/username/Folder1"). Is there a command to execute this conversion
>
directly?
This simple snippet should give you the basic idea
>
>>>
set the_file to (choose file)
return POSIX path of the_file
<<<<
_______________________________________________
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.