maniootek Posted February 28, 2012 Posted February 28, 2012 Hello, Whenever I writing my scripts and I want let the user enter number or string I have to create gui and put the code: $value = GUICtrlCreateInput after i can use my variable "$value" is there any easier way to get string or integer from user? like popup window which let us to enter something which will be saved in variable?
Realm Posted February 28, 2012 Posted February 28, 2012 Hello maniootek, Yes, most simple solution would be InputBox() Realm maniootek 1 My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry.
Blue_Drache Posted February 28, 2012 Posted February 28, 2012 Create an edit box on a GUI, create an "Entry" button. Read contents of edit box when Entry button is clicked. Lofting the cyberwinds on teknoleather wings, I am...The Blue Drache
maniootek Posted March 1, 2012 Author Posted March 1, 2012 Hello maniootek,Yes, most simple solution would be InputBox()Realmthis is it, thank you ! I don't know how I could miss this function Create an edit box on a GUI, create an "Entry" button. Read contents of edit box when Entry button is clicked.Thank you for reply but I was rather looking for solution without using gui. Thank you anyway
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now