• 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
Text preview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Text preview
      • From: Andrew Oliver <email@hidden>
References: 
 >Re: Reaching a remote Mac through IP (From: email@hidden)

  • Prev by Date: Re: Run-Only script in OSX 10.2.6
  • Next by Date: Re: Folder Labels in OS X?
  • Previous by thread: Re: Reaching a remote Mac through IP
  • Next by thread: Re: Text preview
  • Index(es):
    • Date
    • Thread