• 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
Creating a folder hierarchy from variables.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a folder hierarchy from variables.


  • Subject: Creating a folder hierarchy from variables.
  • From: Pauline Krebs <email@hidden>
  • Date: Thu, 10 May 2001 14:50:25 -0500

Hello!
I am just beginning to learn AppleScript and have ran into a brick wall. Any
suggestions or assistance would be tremendously appreciated.

I am trying to create a folder hierarchy of one main folder and 5 subfolders
on the network. Within the script I ask the user for 3 variables and
depending on the input the folder is created, named, and filed in the
appropriate area on the network.

The 3 variables are VarProjectNumber, VarProjectFormName, and
VarProjectRevDate. The script will create, name, and file the main folder
correctly but I am unable to create the 5 subfolders below the newly created
main folder. I can't get the script to recognize or find the newly created
folder.

Script:
make new folder at VarProjectLocation with properties {name:VarProjectNumber
& " " & VarProjectFormName & " " & VarProjectRevDate}

-- This is where the script stops working.
-- Setting the variable SubVarProjectLocation to the newly created main
folder above.
set SubVarProjectLocation to VarProjectNumber & " " & VarProjectFormName & "
" & VarProjectRevDate

--Creating and naming one of the 5 subfolders.
make new folder at SubVarProjectLocation with properties
{name:VarProjectNumber & " " & "DESIGN COLLECT"}

etc.

ANY SUGGESTIONS!


  • Prev by Date: Re: Current date notation
  • Next by Date: Re: Fetch download command, newbie question.
  • Previous by thread: Re: Network Assistant not scriptable??
  • Next by thread: Re: UnGrouping of boxes
  • Index(es):
    • Date
    • Thread