How to copy to clipboard
How to copy to clipboard
- Subject: How to copy to clipboard
- From: Roberto Targa <email@hidden>
- Date: Fri, 27 Apr 2001 16:22:33 +0100
Hi scripters,
I need to copy the computer name to the clipboard and use following script:
set MyName to ""
tell application "File Sharing"
set MyName to computer name
quit
end tell
copy myName to the clipboard
The variable has the exact computer name but I get a syntax error such as :
"Can't set "Macintosh HD" to "
Where am I wrong?
TIA
Roberto Targa