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: Martin Orpen <email@hidden>
- Date: Fri, 12 Nov 2004 13:15:38 +0000
Title: Re: SV: Reading contents of a clipping file?
on 12/11/04 1:06 pm, Richard Rönnbäck wrote:
> 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.
And I’ve always wanted to use “FISH” as a tid:
set foo to choose file
set bar to quoted form of (POSIX path of foo & "/rsrc")
set clipText to do shell script "strings " & bar
set AppleScript's text item delimiters to "FISH"
set theText to text item 1 of clipText
It’d need a bit of work to get it to remove everything apart from the text, but it’s worth using “strings” as it’s so useful for getting information out of files – especially usernames and passwords out of compiled scripts...
--
Martin Orpen
Idea Digital Imaging Ltd -- The Image Specialists
http://www.idea-digital.com
_______________________________________________
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