• 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: Way to detect if sound file drag-n-dropped?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Way to detect if sound file drag-n-dropped?


  • Subject: Re: Way to detect if sound file drag-n-dropped?
  • From: bryan <email@hidden>
  • Date: Mon, 08 Jul 2002 00:32:32 -0400

on open (the_list)
tell application "Finder"
set sound_list to items of the_list whose file type is (your file type here)
end tell
do_stuff_to (sound_list)
end open

on do_stuff_to (sound_list)
-- do stuff here
end do_stuff_to

Bryan Kaufman


email@hidden wrote:

> Is there a way to write an Applescript App that has an "on open" handler that
> detects if the file dragged on it is a "sound file", as opposed to any other
> file type?
>
> - Rob
> _______________________________________________
> 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.

[demime 0.98b removed an attachment of type text/x-vcard which had a name of bryan.vcf]
_______________________________________________
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: 
 >Way to detect if sound file drag-n-dropped? (From: email@hidden)

  • Prev by Date: Way to detect if sound file drag-n-dropped?
  • Next by Date: Re: do shell script
  • Previous by thread: Way to detect if sound file drag-n-dropped?
  • Next by thread: SmileLab [was Re: Looking to display an image on screen]
  • Index(es):
    • Date
    • Thread