Re: Dropin'
Re: Dropin'
- Subject: Re: Dropin'
- From: Rob Jorgensen <email@hidden>
- Date: Thu, 17 Apr 2003 13:31:35 -0400
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
===
It works for me using OS X 10.2.5.
--
Rob Jorgensen
Ohio, USA
_______________________________________________
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.
References: | |
| >Dropin' (From: Bernard Azancot <email@hidden>) |