read value from INI file
hi all,
I have a problem with my script. I can't solve a bug about reading value from an ini file. I am not a scriptwriter, just trying to write a little script but I need to save my script setting to an INI file. In my case, I have to save a folder path for batch process. Saving works fine I would say, but loading that value crashes the script.
Script has been attached.
Thank you buddies for any help!
Attachment | Size |
---|---|
library_helper_bug.ms | 1.52 KB |
Comments
why stringStream?
You did unnecessary convertion from String to stringStream. The Edittext control expect String value.
text_infold.text = getIniSetting libraryhelperbugIniFile "Presets" "max_dir"
my recent MAXScripts RSS (archive here)