Hi,
I found the solution by myself ;-)
put "Tutorial/Ladies/Bugs" into test
set itemdel to slash
put the directory into oldDir
put "/Users/christ/Desktop" into tLoc
set the directory to tLoc
repeat with x=1 to the number of items of test
put "/"&item (x-1) of test after tPath
if tPath = "/" then put empty into tPath
set the directory to tLoc&tPath
create folder (item x of test)
end repeat
set the directory to oldDir
Christian
Le 24 mai 05 à 21:06, Christian Langers a écrit :
Hello,
can anybody help me with this ?
put "Tutorial/Ladies/Bugs" into test
set itemdel to slash
put the directory into oldDir
put "/Users/christ/Desktop/" into tLoc
repeat with x=1 to the number of items of test
set the directory to tLoc&item (x-1) of test
create folder (item x of test)
end repeat
set the directory to oldDir
Why am I getting Tutorial
instead of Tutorial ?
|
|
|
|
-----------
Ladies
|
| |
Ladies
Bugs |
Bugs
Thanks for any idea...
Christian
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution
_______________________________________________
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution