Re: Dropin'
Re: Dropin'
- Subject: Re: Dropin'
- From: Bernard Azancot <email@hidden>
- Date: Fri, 18 Apr 2003 07:08:39 +0200
At 7:09 PM +0200 4/17/03, Bernard Azancot wrote:
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
===
Thanks Rob and Michelle.
The problem is that I am not able to save this script as an app. under
SE beta 2 and MacOS X 10.2.5.
An idea ?
Friendly yours
BA
_______________________________________________
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.