• 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
Getting a string on the clipboard in OE
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Getting a string on the clipboard in OE


  • Subject: Getting a string on the clipboard in OE
  • From: Jan Pieter Kunst <email@hidden>
  • Date: Sat, 28 Apr 2001 10:03:54 +0200

Hello all,

I'm just beginning to play around with Applescript so forgive me if this is
a stupid question.

I managed to script Outlook Express to get the source of the selected
message in a variable. Now I want to "copy" this string to the clipboard and
switch to another application, and then paste (Command-V) the string by
hand.

The only way I could find to accomplish this was to pass the variable ("x")
to BBEdit, like this:


tell application "BBEdit 6.1.1"
activate
make new text window with properties {contents:x}
copy selection
close text window 1 saving no
end tell


and then use Applescript to activate another app, and paste by hand.


Can I somehow change the clipboard from within Outlook Express and leave out
the BBEdit step?

Thanks,
Jan Pieter Kunst.-


  • Follow-Ups:
    • Re: Getting a string on the clipboard in OE
      • From: Rob Jorgensen <email@hidden>
  • Prev by Date: Photoscripters wanted
  • Next by Date: Re: Getting a string on the clipboard in OE
  • Previous by thread: Photoscripters wanted
  • Next by thread: Re: Getting a string on the clipboard in OE
  • Index(es):
    • Date
    • Thread