ScriptSpot home

Forum topic · General Scripting

read value from INI file

By tomastnt · 2012-12-19

Downloads
Description

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!

Comments (1)
Panayot Karabakalov

why stringStream?

You did unnecessary convertion from String to stringStream. The Edittext control expect String value.

text_infold.text = getIniSetting libraryhelperbugIniFile "Presets" "max_dir"