this works in script editor, but not if i save as an application, please help
this works in script editor, but not if i save as an application, please help
- Subject: this works in script editor, but not if i save as an application, please help
- From: Gabe Benveniste <email@hidden>
- Date: Fri, 18 Apr 2003 15:38:13 -0700
set AdminPass to "AdminPass"
set VictimDrive to "X"
set diskLocation to do shell script "/bin/df /Volumes/'" & VictimDrive
& "' | /usr/bin/tail -1 | /usr/bin/awk '{print $1 }'"
do shell script "/usr/sbin/diskutil partitionDisk " & diskLocation & "
2 HFS+ 'Macintosh HD' 10G HFS+ Data 10G" password AdminPass with
administrator privileges
_______________________________________________
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.