• 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: send text returned to clipboard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: send text returned to clipboard


  • Subject: Re: send text returned to clipboard
  • From: yvan-koenig <email@hidden>
  • Date: Tue, 18 Jan 2005 17:49:00 +0100


Le 18 janv. 2005 , à 17:04, Robert Ly a écrit :

I set a variable to the text returned of display dialog.

I would like copy the value of this variable to the clipboard
then paste it into a new TextEdit document

My initial try resulted in unknown contents in clipboard

I found scripts where data was defined in quotation marks as a
constant, but how about variables?

Bob Ly

Perhaps this may help:

set theVar to "I am a poor lonesome cowboy."

set the clipboard to theVar

 tell application "System Events"
 set frontmost of process "TextEdit" to true
 keystroke "v" using {command down}
 end tell


Yvan KOENIG


_______________________________________________ Do not post admin requests to the list. They will be ignored. Applescript-users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: send text returned to clipboard
      • From: Christopher Biagini <email@hidden>
References: 
 >send text returned to clipboard (From: Robert Ly <email@hidden>)

  • Prev by Date: send text returned to clipboard
  • Next by Date: Re: Call Objective-C methods from any script
  • Previous by thread: send text returned to clipboard
  • Next by thread: Re: send text returned to clipboard
  • Index(es):
    • Date
    • Thread