Porting FolderCount routine to OSX
Porting FolderCount routine to OSX
- Subject: Porting FolderCount routine to OSX
- From: "Jeff Handy" <email@hidden>
- Date: Thu, 4 Dec 2003 20:52:19 -0500
- Thread-topic: Porting FolderCount routine to OSX
This bit of code doesn't seem to work in OSX like it does in OS9. The
FolderCount variable doesn't seem to want to set properly. Also, I'm
using Script Debugger and the value of "count" is way off. There are
only three folders but a value of 28 is showing up. I must be missing
something here. Any help appreciated.
Jeff Handy - Sr. Digital Media Specialist
Bisk Education - Technology Development Dept.
9417 Princess Palm Avenue
Tampa, FL 33619
email@hidden
tell application "Finder"
try
set the Folder_list to (every folder of the entire
contents of folder QTtarget_fldr) as list
set the FolderCount to (count of (every folder of the
entire contents of folder QTtarget_fldr)) as text
end try
end tell
set x to 1
repeat (FolderCount) times
--yadda, yadda
This email transmission is confidential and intended solely for the person or organization to which it is addressed. The views expressed by Jeff Handy may not necessarily reflect the views or policies of Bisk Education, Inc. If you are not the intended recipient, copying, printing, distributing or disseminating the information contained herein as well as taking any action in reliance of its content is prohibited and may be unlawful. If this message has been received in error, please notify the sender immediately and subsequently delete the message.
_______________________________________________
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.