Sign in to follow this  
Followers 0
Agent

First time using gui

6 posts in this topic

#1 ·  Posted (edited)

Ok, so I'm using

GUICtrlCreateGroup,GUICtrlCreateInput and GUICtrlCreateButton

Group I'm trying to get the below to be set within a group in a tree form so its "look within the group at input or button, see if it contains a value or was pressed if turns true, what does it read or perform action due to button being pressed... "

What I'm trying to do for Input is to get it to only recognize numbers without the comma's (pure number form)

Then read that number and insert it into a constant/variable set in code such as $input1 = (number that was read from inputgui box 1)

so I can call it whenever I want in my code...

For Button I'm trying to learn how to tell if it was pressed or not...

if you don't want to help me thats ok, at least show me actual example code (link or whatever) so I can look over the script and see how it all fits together...

if you can help me, thats great! Please do because I'm having a little problem with these.

its been a few years since I've messed with autoit and so much has changed.

Edited by Agent

Share this post


Link to post
Share on other sites



There's code examples for just about every function in the local help file. There is a help file online too, http://www.autoitscript.com/autoit3/docs/, and the wiki, http://www.autoitscript.com/wiki/.

Oh, and with the local help file, there's the 'open' button on the bottom, that opens the code example in SciTe. Easy to run..


- Bruce /*somdcomputerguy */  If you change the way you look at things, the things you look at change.

Share this post


Link to post
Share on other sites

Yeah I used Koda to design the overall layout, as for the help within the scite itself, of course I've been using it but it isnt very userfriendly in terms of showing examples based off these things, and they need to be a little bit more descriptive on some of the ctrl codes....

wiki hm... never tried the wiki, will give it a look.

Anyone else have a guide on basic uses of how gui codes interact with each other?

Share this post


Link to post
Share on other sites

Guess and Check is how i learned.

Share this post


Link to post
Share on other sites

#6 ·  Posted (edited)

Guess and Check is how i learned.

lol i think i figured it out on the gui side now but having other problems, will have to post in correct area so I don't go off topic here.

here is the topic continuation in its correct corresponding section:

http://www.autoitscript.com/forum/index.php?showtopic=105285

since it deals with math and gui i had to post it there... sorry :)

Edited by Agent

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  
Followers 0