Re: osadecompile misfires with 2 Apple supplied scripts
Re: osadecompile misfires with 2 Apple supplied scripts
- Subject: Re: osadecompile misfires with 2 Apple supplied scripts
- From: Joe <email@hidden>
- Date: Wed, 3 Sep 2008 12:41:27 -0700
At 5:46 PM +0200 9/3/08, Axel Luttgens wrote:
>Anyway, a slight change in your script seems to do the trick:
>
> set theScript to do shell script "/usr/bin/osadecompile " & qfPoxPath & "| /usr/bin/tr -d '\\000'"
>
>It works with "pathological" scripts, such as the above "Import Addresses.scpt", as well as with "regular" ones.
>So, there's perhaps no need at all to break fingers?
Thank you Axel. That works nicely. I'm looking at the man page for tr trying to figure out the argument you used, '\\000'
And 30 min. later I'm still looking I need a Rosetta stone for reading man pages
I think the first \ escapes the next \ (for AppleScript) but I don't understand this part \000
Joe
_______________________________________________
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