UQOII Posted September 25, 2007 Share Posted September 25, 2007 Is it possible to select all the text in a (GUICtrlCreate)input? i tried with ctrl + a but that doesn't work. Greetsz UQOII [center]uqoii.nl[/center] Link to comment Share on other sites More sharing options...
Valuater Posted September 25, 2007 Share Posted September 25, 2007 $info = GUICtrlRead($Input) 8) Link to comment Share on other sites More sharing options...
UQOII Posted September 25, 2007 Author Share Posted September 25, 2007 (edited) $info = GUICtrlRead($Input) 8) it doesn't select the text... it's like push Enter then must the text in $input been selected Edited September 25, 2007 by UQOII [center]uqoii.nl[/center] Link to comment Share on other sites More sharing options...
Valuater Posted September 25, 2007 Share Posted September 25, 2007 #include <GUIConstants.au3> GUICreate("Tester") $Input = GUICtrlCreateInput("", 20,20, 100, 20) GUISetState() WinWaitActive("Tester") Send ("123456") Sleep(1000) ControlClick("Tester", "", "", $Input, 2) Sleep(5000) 8) Link to comment Share on other sites More sharing options...
UQOII Posted September 25, 2007 Author Share Posted September 25, 2007 many thanx [center]uqoii.nl[/center] Link to comment Share on other sites More sharing options...
Valuater Posted September 25, 2007 Share Posted September 25, 2007 Welcome 8) Link to comment Share on other sites More sharing options...
magician13134 Posted November 14, 2007 Share Posted November 14, 2007 Sorry to bring up a slightly old topic, but I also need a solution to this. My problem is that my text has spaces in it, so it only selects a single word. I've also tried Send("^a") and some controlCommands, but those don't work well with inputs... Any other ideas? Visit Magic Soft Inc. for some of my software Link to comment Share on other sites More sharing options...
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