• 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: SV: Reading contents of a clipping file?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SV: Reading contents of a clipping file?


  • Subject: Re: SV: Reading contents of a clipping file?
  • From: Gnarlodious <email@hidden>
  • Date: Sat, 13 Nov 2004 00:05:38 -0700

Title: Re: SV: Reading contents of a clipping file?
Entity Martin Orpen spoke thus:

> I already had Satimage installed but I have to admit I haven't yet needed it
> (or known that I did :-) ) but from now one it seems I will be using it
> frequently

You don't need osax to do this.

You sure dont! But you DO need XCode:

property devToolsPath : "/Developer/Tools/" -- path to Apple Developer Tools

set theFile to "hfsPathToClipping"

set clipPath to quoted form of POSIX path of theFile

set cmd to devToolsPath & "DeRez -e -only 'TEXT' " & clipPath & " | grep '\\/\\* .* \\*\\/' | sed 's/^.*\\/\\* //;s/ \\*\\/$//' | tr -d '\\n'"

set theText to do shell script cmd


--
Gnarlie
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • SV: SV: Reading contents of a clipping file?
      • From: Richard Rönnbäck <email@hidden>
References: 
 >Re: SV: Reading contents of a clipping file? (From: Martin Orpen <email@hidden>)

  • Prev by Date: Re: computing 20! all the way
  • Next by Date: SV: SV: Reading contents of a clipping file?
  • Previous by thread: Re: SV: Reading contents of a clipping file?
  • Next by thread: SV: SV: Reading contents of a clipping file?
  • Index(es):
    • Date
    • Thread