Tu sei qui
Home › Forum home › NSISDialogDesigner › General discussions & questions › How to recall script variables ›How to recall script variables
Please let our ADS show!
This sites offers only FREE software and it's supported by a few advertisement boxes (no intrusive popups).
Please:
- disable your AdBlocker by adding CoolSoft website to whitelist
- give the proper cookie consent
- enable JavaScript for this website
This seconds wait is to let you update your browser configuration...
Ok, I've done the required changes... now show me your content!!!! Please enable JavaScript !!!
- Anonymous
- Anonymous user
- coolsoft
- Posts: 1972
- Joined: 25 Mar 2012 - 01:19
http://nsis.sourceforge.net/Docs/nsDialogs/Readme.html#mref-gettext
Suppose you added a TextBox to a dialog, the generated script is this:
; === TextBox1 (type: Text) === ${NSD_CreateText} 8u 69u 66u 11u "foo" Pop $hCtl_Form1_TextBox1
To read/set the value into your variable:
Var myVar ${NSD_GetText} $hCtl_Form1_TextBox1 $myVar ${NSD_SetText} $hCtl_Form1_TextBox1 "bar"
Official nsDialog reference page: http://nsis.sourceforge.net/Docs/nsDialogs/Readme.html
Reply to existing threads: no
Edit own posts: no
Add attachments: no
Download attachments: no
Navigazione
Login
Clicca qui per supportare il mio lavoro con PayPal
oppure offrimi un caffè