ddeerr Posted July 31, 2006 Share Posted July 31, 2006 Hi, THere is something strange i guess with Window Management Function. I don't understand why when i get the handle of a windows i need to use ID, cause in my case in open the regedit window but with AU3info tool i cannot get the global window ID, so i cannot use ControlSend (which is what i prefer to be sure to use the correct window). I hope you can help me. Tx Link to comment Share on other sites More sharing options...
ddeerr Posted July 31, 2006 Author Share Posted July 31, 2006 please close and push to trash this topic, i'm only a mass spammer sorry ..... Link to comment Share on other sites More sharing options...
PsaltyDS Posted July 31, 2006 Share Posted July 31, 2006 Hi,THere is something strange i guess with Window Management Function.I don't understand why when i get the handle of a windows i need to use ID, cause in my case in open the regedit window but with AU3info tool i cannot get the global window ID, so i cannot use ControlSend (which is what i prefer to be sure to use the correct window).I hope you can help me.TxYou don't need the window handle, just title (and optionaly some visible text) for ControlSend(). I don't know if it will take a window handle in place of title/text. Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law Link to comment Share on other sites More sharing options...
Moderators big_daddy Posted July 31, 2006 Moderators Share Posted July 31, 2006 I don't know if it will take a window handle in place of title/text. It will if you use this at the top of your script. Opt("WinTitleMatchMode", 4) Link to comment Share on other sites More sharing options...
ddeerr Posted August 1, 2006 Author Share Posted August 1, 2006 It will if you use this at the top of your script. Opt("WinTitleMatchMode", 4) yes it works like that But i have a problem i try to solve again, i launch a CTRL+H (^f) to open search windows and sometimes it works sometimes not ? When it doesn't work if i make myself the shorcut, my script then execute the next steps ?? strange. I correctly get the handle and add a winwait but ? Mybe its my windows that his crazy 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