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