• 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: osadecompile misfires with 2 Apple supplied scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: osadecompile misfires with 2 Apple supplied scripts
      • From: Axel Luttgens <email@hidden>
References: 
 >Re: osadecompile misfires with 2 Apple supplied scripts (From: Axel Luttgens <email@hidden>)
 >Re: osadecompile misfires with 2 Apple supplied scripts (From: Joe <email@hidden>)
 >Re: osadecompile misfires with 2 Apple supplied scripts (From: Axel Luttgens <email@hidden>)

  • Prev by Date: Re: osadecompile misfires with 2 Apple supplied scripts
  • Next by Date: Re: Dialog command
  • Previous by thread: Re: osadecompile misfires with 2 Apple supplied scripts
  • Next by thread: Re: osadecompile misfires with 2 Apple supplied scripts
  • Index(es):
    • Date
    • Thread