• 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: Move a sound file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Move a sound file


  • Subject: Re: Move a sound file
  • From: Paul Berkowitz <email@hidden>
  • Date: Fri, 02 Aug 2002 08:49:32 -0700

On 8/2/02 7:55 AM, "John Delacour" <email@hidden> wrote:

> Now either I'm going mad or the open handler in a droplet does not
> accept a list of arguments but accepts only a single file. I've been
> trying for over an hour to get it to work and the above script ought
> not to need the first line.

It accepts a list, but not in list brackets. You use a regular variable.
It's always been this way but you've been away and must have forgotten. The
items are aliases, not Finder objects.


on open ls
repeat with n in ls
display dialog (n as string)
end repeat
end open

You need the (n as string) in OS X: no Pallas Athena here (although Jon's
working on it).

--
Paul Berkowitz
_______________________________________________
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: 
 >Re: Move a sound file (From: John Delacour <email@hidden>)

  • Prev by Date: Re: Move a sound file
  • Next by Date: Is...a puzzlement!
  • Previous by thread: Re: Move a sound file
  • Next by thread: Re: Move a sound file
  • Index(es):
    • Date
    • Thread