Alynn
May 24th, 2023, 17:08
So I have a big project that I am working on that has 3 major components. a FGU extension is the last one I need to make, then I can fold all of them together into one working ecosystem.
I've read over some tutorials, and I have a good idea of what I need to do.
However, I have one question about filesystem locations (for example DB.export) can I use can I use os.getEnv to pull the home directory or can I use system variables like %localappdata%\Exports for my default value.
The idea here is there will be a text box that can be edited to specify where we are exporting our character data and combat tracker data from the database.
Thats all I need this extension to do, as the local server then does all the operations from there after it detects the files were updated.
Lastly, is stringfield my best option for this when I register the option?
I've read over some tutorials, and I have a good idea of what I need to do.
However, I have one question about filesystem locations (for example DB.export) can I use can I use os.getEnv to pull the home directory or can I use system variables like %localappdata%\Exports for my default value.
The idea here is there will be a text box that can be edited to specify where we are exporting our character data and combat tracker data from the database.
Thats all I need this extension to do, as the local server then does all the operations from there after it detects the files were updated.
Lastly, is stringfield my best option for this when I register the option?