SaveScum / skyrim-plugin-decoding-project

Automatically exported from code.google.com/p/skyrim-plugin-decoding-project
0 stars 0 forks source link

Add Two String Parameters to AddNewFile function #194

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Just a Small Change.  Give two optional string parameters to AddNewFile,  one 
parameter can override the text of the add file form label,  the other 
parameter can provide a default Filename in the input box.

So for example if I add 
AddNewFile('patch.esp not found, create new one?','Patch'); 

Then when the AddNewFile form pops up it will look something like the attached 
file
(mspaint all the way!)

This small change will allow script creators to explain why this form is 
popping up, as well as provide an appropriate filename suggestion so users who 
do not have a name in mind can have a default that they can resort to.

Thanks for taking the time to read this! 
-ThreeTen

Original issue reported on code.google.com by gtu...@gmail.com on 21 Apr 2015 at 2:51

Attachments: