• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: do shell problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >do shell problem (From: luca materassi <email@hidden>)

  • Prev by Date: Grammar and spelling checker
  • Next by Date: Re: Grammar and spelling checker
  • Previous by thread: Re: do shell problem
  • Next by thread: RE: do shell problem
  • Index(es):
    • Date
    • Thread