Is it possible for a george script to create a folder to save files into?
Seems like it can only accept paths that already exist.
Thanks
Kyler
Have a George Script Create a New Folder
Re: Have a George Script Create a New Folder
yes
tv_writetextfile "AskUser" "Message" return "OK" or "Forbiden"
tv_writetextfile "MkDir" FolderPath return "Exists" or FolderPath if Dir is created
tv_writetextfile "Exists" Path return ExistingFolderPath or ""
tv_writetextfile "Remove" Path return ""
and then there's
return linenumber and line readed or EOF if the linenumber is after the end of the file
TO read a folder use
tv_readtextfile line folderPath
with line = file number
-Mads
Code: Select all
tv_WriteTextFile "AskUser"|"Create"|"Append"|"Remove"|"Exists"|"MkDir" Path ["Line to write"]
tv_writetextfile "MkDir" FolderPath return "Exists" or FolderPath if Dir is created
tv_writetextfile "Exists" Path return ExistingFolderPath or ""
tv_writetextfile "Remove" Path return ""
and then there's
Code: Select all
tv_readtextfile linenumber filename
TO read a folder use
tv_readtextfile line folderPath
with line = file number
-Mads