• 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: John W Baxter <email@hidden>
  • Date: Wed, 10 Oct 2001 15:54:43 -0700

At 10:14 -0600 10/10/2001, Gnarlodious wrote:
>Entity wemedge spoke thus:
>
>>> Now I need to paste to the selected text, not a new window.
>> Provided you have something selected in thr frontmost window, this works to
>> paste over it:
>>
>> tell window 1 of application "Tex-Edit Plus"
>> paste
>> end tell
>Still not working. For some reason the "paste" statement in the script
>window gets hilited but the Tex-Edit window is unaffected.

You'll probably have to include an activate (you will unless Tex-Edit Plus
has been in front since what you feel are the clipboard contents were put
into the clipboard).

tell window 1 of application "Tex-Edit Plus"
activate
paste
end tell

Note: untested, as I don't have Tex-Edit. But...the issue is universal
(it goes back to the way the clipboard was handled in the
one-application-at-a-time days of 1984, and how that was hacked for more
than one app at a time, later). [Literally one-app-at-a-time: Finder quit
in the process of starting some other app.]

--John

--
John Baxter email@hidden Port Ludlow, WA, USA


  • Follow-Ups:
    • Re: Tex-Edit, Paste clipboard?
      • From: Gnarlodious <email@hidden>
References: 
 >Re: Tex-Edit, Paste clipboard? (From: Gnarlodious <email@hidden>)

  • Prev by Date: Re: Making JPEG thumbnails of PDF files
  • Next by Date: Re: Working with a text selection in Quark
  • Previous by thread: Re: Tex-Edit, Paste clipboard?
  • Next by thread: Re: Tex-Edit, Paste clipboard?
  • Index(es):
    • Date
    • Thread