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

SV: SV: Reading contents of a clipping file?


  • Subject: SV: SV: Reading contents of a clipping file?
  • From: Richard Rönnbäck <email@hidden>
  • Date: Sat, 13 Nov 2004 13:58:14 +0100

Title: SV: SV: Reading contents of a clipping file?
Thanks, I am only slowly picking up the unix stuff but I have to say I am impressed what you can don with it once you know how.

And with half an hour of looking through man pages I almost understand what is going on :-)

--
Richard Rönnbäck




Från: Gnarlodious <email@hidden>
Datum: Sat, 13 Nov 2004 00:05:38 -0700
Till: Applescript <email@hidden>
Ämne: 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
 _______________________________________________
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

References: 
 >Re: SV: Reading contents of a clipping file? (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: SV: Reading contents of a clipping file?
  • Next by Date: X11 and do shell script
  • Previous by thread: Re: SV: Reading contents of a clipping file?
  • Next by thread: Re: Reading contents of a clipping file?
  • Index(es):
    • Date
    • Thread