• 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: Simple Syntax Question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Simple Syntax Question...


  • Subject: Re: Simple Syntax Question...
  • From: Michelle Steiner <email@hidden>
  • Date: Mon, 4 Aug 2008 00:17:45 -0700

On Aug 3, 2008, at 6:31 PM, Don Fuller wrote:

It should be simple but I obviously have my syntax all fouled up. Can someone provide some insight into what I'm missing or doing wrong?

set checkFolder to (path to desktop as text) & "Test Directory" as alias

tell application "Finder"
repeat with thisFolder in (get folders of checkFolder)
if (count of folders of thisFolder) is 1 then set label index of thisFolder to 2
end repeat
end tell

-- Michelle

--
Please contribute to the Leukemia and Lymphoma Society, and help me meet my fund raising goal for my marathon training.
<http://www.active.com/donate/tntdms/tntdmsMSteine>




 _______________________________________________
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

References: 
 >Simple Syntax Question... (From: Don Fuller <email@hidden>)

  • Prev by Date: Re: Simple Syntax Question...
  • Next by Date: ICON changes
  • Previous by thread: Re: Simple Syntax Question...
  • Next by thread: ICON changes
  • Index(es):
    • Date
    • Thread