• 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: 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.

  • Follow-Ups:
    • Re: Dropin'
      • From: Michelle Steiner <email@hidden>
  • Prev by Date: Re: entire contents / alias list working
  • Next by Date: Mathematica's kernel in Terminal
  • Previous by thread: Re: Dropin'
  • Next by thread: Re: Dropin'
  • Index(es):
    • Date
    • Thread