• 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: Droplet
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Droplet


  • Subject: Re: Droplet
  • From: Luther Fuller <email@hidden>
  • Date: Wed, 5 Apr 2006 20:41:01 -0500

Title: Re: Droplet
Michelle Steiner asked ...
when you drop a group of icons on a droplet, you get a list of aliases. How do you determine which aliases are to files and which are to folders? I can't figure that out.

yet another variant ...
on open dropList
      try
            tell application "Finder"
                  repeat with folderRef in dropList
                        if (class of item folderRef) is folder then

                        -- do your stuff here

                        end if
                  end repeat
            end tell
      on error errText number errNr
            if errNr = -128 then
                  return
            else if errNr = -2700 then
                  errText
            else
                  "Error = " & errNr & return & errText
            end if
            display dialog the result buttons {"OK"} default button 1
      end try
end open

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • ANN:FTP Droplet Toaster
      • From: Takaaki Naganoya <email@hidden>
  • Prev by Date: Out of memory??
  • Next by Date: ANN:FTP Droplet Toaster
  • Previous by thread: Re: Droplet
  • Next by thread: ANN:FTP Droplet Toaster
  • Index(es):
    • Date
    • Thread