• 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: AppleScript Editor (Result Window)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript Editor (Result Window)


  • Subject: Re: AppleScript Editor (Result Window)
  • From: Mr Tea <email@hidden>
  • Date: Wed, 03 Jan 2001 16:59:58 +0000

This from Dave Moen - dateline 3/1/01 11.17 am:

> Is is possible to get the text out of the result window?

Yes, by referring to 'the result' in your script. If the contents of the
result window are not displayed as a text string, you may need to coerce
them by referring to 'the result as text'. Then you can send this to the
clipboard and do what you will with it from there.

A simple example would be:

(current date) as text
set the clipboard to the result

or

(current date)
set the clipboard to the result as text

The script does not have to be run from within the Script Editor (ie, so
that the result window is available) to achieve this. An applet or a
compiled script run from a script menu will do the same thing.

Regards

Mr Tea
--
Brew of the day: Breakfast Blend


References: 
 >AppleScript Editor (Result Window) (From: Dave Moen <email@hidden>)

  • Prev by Date: Re: Monitoring a folder
  • Next by Date: running out of steam
  • Previous by thread: AppleScript Editor (Result Window)
  • Next by thread: Re: AppleScript Editor (Result Window)
  • Index(es):
    • Date
    • Thread