• 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
re: Tex-Edit, Paste clipboard?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

re: Tex-Edit, Paste clipboard?


  • Subject: re: Tex-Edit, Paste clipboard?
  • From: Greg <email@hidden>
  • Date: Wed, 10 Oct 2001 11:14:36 -0700

> Gnarlodious <email@hidden> wrote:

> Will someone pleeeeeze send a tiny script that uses the "paste" command to
> the selection in an open Tex-Edit window?
> Please do not post obscure or full featured scripts, only the absolute
> minimum to use the "paste command".
> Thank you.

Try this:

tell application "Tex-Edit Plus"
activate -- must be activated
make new window
set the contents of window 1 to "stuff"
select contents of window 1
set the clipboard to selection of window 1 as styled text --must be
--styled text
set the contents of window 1 to "Other stuff"
select contents of window 1
paste
end tell

-Greg Robb


  • Prev by Date: Re: Unstable OSAXEN?
  • Next by Date: Re: HelpPlease!!: Running Scripts causing Garbage characters.
  • Previous by thread: Solution! Tex-Edit, Paste clipboard?
  • Next by thread: Re: Updating last modified
  • Index(es):
    • Date
    • Thread