• 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: "Mark J. Reed" <email@hidden>
  • Date: Fri, 3 Aug 2007 12:07:32 -0400

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:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Help with applescript creating folders
      • From: Michelle Steiner <email@hidden>
    • Re: Help with applescript creating folders
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Help with applescript creating folders (From: Tim Rycroft <email@hidden>)
 >Re: Help with applescript creating folders (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Help with find text command
  • Next by Date: Re: Help with applescript creating folders
  • Previous by thread: Re: Help with applescript creating folders
  • Next by thread: Re: Help with applescript creating folders
  • Index(es):
    • Date
    • Thread