Re: Finder can't count?
Re: Finder can't count?
- Subject: Re: Finder can't count?
- From: Christopher Stone <email@hidden>
- Date: Wed, 16 Feb 2011 20:43:37 -0600
On Feb 16, 2011, at 12:55, Robert Poland wrote: Either my explanation was bad or my system is broken. ______________________________________________________________________
I think if you review your posts it's not quite clear that you have folders open in hierarchical list view. I'm not criticizing mind you. I just had to read pretty far through the thread before I got it.
This works reliably on my system reliably with many folders open and a total of 1785 items and is nearly instant:
tell application "Finder" activate set wdw to front window tell application "System Events" keystroke "a" using command down end tell delay 0.01 set sel to selection as alias list set itemCount to length of sel end tell
-- Best Regards, Chris |
_______________________________________________
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