RE: do shell problem UPDATE
RE: do shell problem UPDATE
- Subject: RE: do shell problem UPDATE
- From: luca materassi <email@hidden>
- Date: Thu, 8 Nov 2007 16:01:03 +0100
Hi all,
after several tests i found the problem; the onerror message tells
that there is no gpgwrap around even after hardcoding the correct
full path, with or without the Volume name.
This is the actual code:
on adding folder items to this_folder after receiving these_items
set outpath to "/Users/user/Documents/msg/test.txt"
set fpath to POSIX path of these_items
set cmd to "/usr/local/bin/gpgwrap -p /Users/user/pw.txt gpg -o " &
outpath & " -d " & fpath
try
do shell script cmd password "mypwd" with administrator privileges
on error the error_message number the error_number
display dialog "si รจ verificato un errore: " & the error_number &
". " & the error_message buttons {"OK"} default button 1
end try
end adding folder items to
_______________________________________________
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