Jump to content

Recommended Posts

Posted

Hi there, i'm trying to creat an inputbox like this:

$X = GUICtrlCreateInput("X", 160, 96, 57, 21)

And i wan't to use data from inputbox for:

ControlSend ("Untitled - Mozilla Firefox", "", "[CLASS:MozillaWindowClass; INSTANCE:3]", $X)

But the ControlSend only send a number 10 for whatever number i was entered on inputbox.

Please help!

Posted

I am actually thinking about GuiCtrlRead(). Very lazy to try it, but I still think it will work fine.

ControlSend ("Untitled - Mozilla Firefox", "", "[CLASS:MozillaWindowClass; INSTANCE:3]", GuiCtrlRead($X))

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
×
×
  • Create New...