Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with applescript creating folders



On 8/3/07, Michelle Steiner <email@hidden> wrote:

tell application " Finder "
set main_folder to (make new folder at desktop with properties ¬
{ name : temp_name }) as alias
repeat with this_name in subf_names
set temp_name to this_name
set new_folder to (make new folder at main_folder with properties {name : temp_name })
if temp_name is " Design " then set design_folder to new_folder
end repeat
end tell

tell application " Finder "
set chosen_folder to job_number & j_name
repeat with this_name in subg_names
set temp_name to this_name
make new folder at design_folder with properties {name : temp_name }
end repeat
end tell

Why split into two tell blocks to the same app?


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

This email sent to email@hidden

References: 
 >Help with applescript creating folders (From: Tim Rycroft <email@hidden>)
 >Re: Help with applescript creating folders (From: Michelle Steiner <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.