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
Mads Juul
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com
Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2
Storyboard Artist
blog: http://mjstoryboard.blogspot.dk/
Mail: mjstoryboard@gmail .com
Windows 10, 64 bit i7-4790 CPU 4.00 Hz,32 GB RAM, With TVP Animation 11 Pro (11.0.2-64bits)
2 Monitors 1920X1080 pixels + 1 Wacom Cintiq 21UX 2