silvermirai Posted July 1, 2012 Share Posted July 1, 2012 I made a gui with 4 ControlEdit, but I cannot click on the controls to edit them, I can only use tab to select the controls, how do I make the controls to focus if I click on them ? Link to comment Share on other sites More sharing options...
BrewManNH Posted July 1, 2012 Share Posted July 1, 2012 I made a gui with 4 ControlEdit, but I cannot click on the controls to edit them, I can only use tab to select the controls, how do I make the controls to focus if I click on them ?Without your code it's very difficult to troubleshoot this. If you have labels anywhere near your edit controls, they might be overlapping the controls and blocking you from clicking inside them. If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
silvermirai Posted July 1, 2012 Author Share Posted July 1, 2012 (edited) This script with GUI reads from a .txt file into 4 instances of control edit, there are two buttons "close" that exits, and "save and exist" that sends the content of the 4 instances of control edit to 4 lines in .txt file. <Removed> And this is the main script with no gui, it reads 4 lines from a .txt file, so they can be used to send to controls of an application called dota keys. it also runs a software named auto joiner, and clicks on it's buttons and stuff like <Removed> Edited July 2, 2012 by Valik Link to comment Share on other sites More sharing options...
BrewManNH Posted July 1, 2012 Share Posted July 1, 2012 I ran the top script and it works fine for me, I can click in any of the 4 controls without a problem. Win Vista x86 If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag GudeHow to ask questions the smart way! I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from. Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays. - ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script. - Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label. - _FileGetProperty - Retrieve the properties of a file - SciTE Toolbar - A toolbar demo for use with the SciTE editor - GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI. - Latin Square password generator Link to comment Share on other sites More sharing options...
Zedna Posted July 1, 2012 Share Posted July 1, 2012 Don't create multiple topics about the same! Try to move GUISetState() just before main While 1 loop. Resources UDF ResourcesEx UDF AutoIt Forum Search Link to comment Share on other sites More sharing options...
SilverSekai Posted July 2, 2012 Share Posted July 2, 2012 Thank you both and sorry for making multiple topics, it's just that people seem to confuse my script with a game automation script because the software I'm trying to automate is inside a game path directory, but it doesn't interact with the game... Anyway, I have win7 x64, still doesn't work, but I will try what Zedna said. Thanks again. Link to comment Share on other sites More sharing options...
Valik Posted July 2, 2012 Share Posted July 2, 2012 This idiot made 4 different threads to post this bullshit. Ugh. Link to comment Share on other sites More sharing options...
Recommended Posts