SV: SV: Reading contents of a clipping file?
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