Copy to clipboard question
Copy to clipboard question
- Subject: Copy to clipboard question
- From: Oakley Masten <email@hidden>
- Date: Thu, 24 Jan 2008 12:28:27 -0800 (PST)
Greeting all.
What is the syntax to copy a variable to the clipboard
as text.
(I want to paste it into another application later.)
tell application "Finder"
set theFile to choose file
display dialog (theFile as text) -- the actual file
path
copy (theFile as text) to the clipboard --this does
not work.
end tell
Can I treat clipboard data like a regular variable.
What I mean is can I do something like:
set clipboard to clipboard & return & (theFile as
text)
Well I guess that is actually two questions then !
Thanks
Oakley
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden