• 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: Help with applescript creating folders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help with applescript creating folders


  • Subject: Re: Help with applescript creating folders
  • From: Michelle Steiner <email@hidden>
  • Date: Fri, 3 Aug 2007 08:34:56 -0700

On Aug 3, 2007, at 8:23 AM, Tim Rycroft wrote:

Can anyone help me please?


I haven't tested it, but this should work:

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

-- 
If you're not going somewhere, you're not getting anywhere.

 _______________________________________________
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: Help with applescript creating folders
      • From: "Mark J. Reed" <email@hidden>
    • Re: Help with applescript creating folders
      • From: Tim Rycroft <email@hidden>
References: 
 >Help with applescript creating folders (From: Tim Rycroft <email@hidden>)

  • Prev by Date: Help with applescript creating folders
  • Next by Date: Re: Script to click on NSStatusItem menu & its submenus
  • Previous by thread: Help with applescript creating folders
  • Next by thread: Re: Help with applescript creating folders
  • Index(es):
    • Date
    • Thread