• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Dropin'
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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>)

  • Prev by Date: Re: entire contents / alias list working
  • Next by Date: Re: Dropin'
  • Previous by thread: Dropin'
  • Next by thread: Re: Dropin'
  • Index(es):
    • Date
    • Thread