Dropin'
Dropin'
- Subject: Dropin'
- From: Bernard Azancot <email@hidden>
- Date: Thu, 17 Apr 2003 19:09:18 +0200
The following simple script used to work under Mac OS 9, but does not
under MacOS X.
Any solution ?
Thx in advance
===
on open {theFile}
try
set thePath to theFile as string
set the clipboard to thePath
end try
end open
on run
try
display dialog ,
"Drop a single file or folder onto this script's icon" & ,
" to send the item's absolute path to the" & ,
" clipboard." buttons ("OK") default button 1 with icon 1
end try
end run
===
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.