• 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: Folder or File?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Folder or File?


  • Subject: Re: Folder or File?
  • From: Shane Stanley <email@hidden>
  • Date: Fri, 24 Jun 2011 08:55:44 +1000
  • Thread-topic: Folder or File?

On 24/6/11 8:26 AM, "Luther Fuller" <email@hidden> wrote:

> You should do this ...
>
> set FolderA to (item 1 of FolderList) as alias
> set FolderB to (item 2 of FolderList) as alias
>
> And after it, insert this or something similar ...
>
> tell application "Finder"
> if class of item FolderA is not folder then return
> if class of item FolderB is not folder then return
> end tell

If you are going to use Finder's "item", FolderA/FolderB should be strings,
not aliases.

--
Shane Stanley <email@hidden>
'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Folder or File?
      • From: Gil Dawson <email@hidden>
References: 
 >Re: Folder or File? (From: Luther Fuller <email@hidden>)

  • Prev by Date: Re: tell block question
  • Next by Date: Re: Folder or File?
  • Previous by thread: Re: Folder or File?
  • Next by thread: Re: Folder or File?
  • Index(es):
    • Date
    • Thread