Dave,
> >I hope someone can help me. I'm trying to write a handler that will
>>crawl a folder path and verify the existence of the path, making new
>>folders as necessary to fulfill the path.
>
>set pathToBuild to "Test Folder:Test Folder:Test Folder:Test Folder:"
>set theRoot to path to startup disk as string
>set tid to AppleScript's text item delimiters
>set AppleScript's text item delimiters to {":"}
>set folderList to text items 1 through -2 of pathToBuild
>set AppleScript's text item delimiters to tid
>tell application "Finder"
> repeat with i in folderList
> set thePath to theRoot & i & ":"
> if not (exists folder thePath) then make new folder=20
>at folder theRoot =AC
> with properties {name:i}
> set theRoot to thePath
> end repeat
>end tell
Many thanks for your fine code... is it necessary to place the TID=20
within a list?
I have since traced the problem to locations more sinister!
If you modify your code above (or mine) to work with the Desktop=20
=46older of any volume _except_ startup, it _will_ fail!
I can get by for now by using a folder buried within a working=20
volume, but some of my operators have messy desktops 'cuase they=20
like to use it allot!
Thanks,
Scott
________________________________________
Scott Sandeman-Allen
Roderick Scott Corporation
Edmonton, Alberta. Canada
------------------------------
This archive was generated by hypermail 2b29 : Sun May 27 2001 - 12:00:29 AEST