Jump to content
Sign in to follow this  
maniootek

How to easy "transfer" integer or string to program?

Recommended Posts

maniootek

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?

Share this post


Link to post
Share on other sites
Realm

Hello maniootek,

Yes, most simple solution would be InputBox()

Realm

  • Like 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.  

Share this post


Link to post
Share on other sites
Blue_Drache

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

Share this post


Link to post
Share on other sites
maniootek

Hello maniootek,

Yes, most simple solution would be InputBox()

Realm

this is it, thank you ! I don't know how I could miss this function :oops:

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

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×