Re: do shell problem
Re: do shell problem
- Subject: Re: do shell problem
- From: Luca Pozzato <email@hidden>
- Date: Wed, 7 Nov 2007 21:26:56 +0100
Ciao Luca, you should try to specify the full path to gpgwrap for example: "/opt/local/bin/gpgwrap "
Luca Pozzato
On Nov 7, 2007, at 6:37 PM, luca materassi wrote: I am able to decrypt a file issuing the following command in Terminal:
sudo gpgwrap -p /Users/myuser/pw.txt gpg -o /Users/user/test.txt -d /Users/myuser/Documents/msg/22589.emlx
but if I try to use the do shell command to be launched on folder change nothing appens; here is my code:
set out to "PowerbookG4:Users:myuser:Documents:msg:test.txt" on adding folder items to this_folder after receiving these_items
tell application "Terminal"
(do shell script "gpgwrap -p /Users/myuser/pw.txt gpg -o" & out & " -d" & these_items user name "myuname" password "mypw" with administrator privileges) end tell end adding folder items to
Can anyone help
TIA
Luca Materassi
|
_______________________________________________
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