Text preview
Text preview
- Subject: Text preview
- From: Michael Grant <email@hidden>
- Date: Fri, 16 May 2003 12:02:21 -0500
I'd like to write a Big Cat script to view text files without launching any
application (including Terminal, but I'll assume that the Finder is
running). I thought of swapping out the clipboard and using the Finder's
Show Clipboard command, but I can't find a programmatic equivalent in the
Finder's dictionary. I suppose I could use GUI scripting, but I'd rather
avoid it if there's an alternative. Messing with the clipboard is getting
pretty hackish anyway. It would be pretty easy to just create a window with
a text field in AS Studio, but then we're back to launching an app and I
might as well just open the file in BBEdit or whatever.
Am I overlooking anything obvious?
Thanks,
Michael
--
The lights are growing dim Otto. I know a life of crime has led me to this
sorry fate, and yet, I blame society. Society made me what I am.
Duke, "Repo Man" 1984
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.