wnight77 Posted December 20, 2005 Share Posted December 20, 2005 ok so i wrote my own prog to grab some control ids from windows but heres the thing! my control send dosnt work!! check it out ControlSend ( "Dark Age of Camelot, Copyright © 2001-05 Mythic Entertainment, Inc.", " ", "0x001B02E8", "1" ) is that the wrong form of the control id? aka hex? or is it soposed to be converted to something else for this function?? any ideas? Link to comment Share on other sites More sharing options...
w0uter Posted December 20, 2005 Share Posted December 20, 2005 ok so i wrote my own prog to grab some control ids from windows but heres the thing! my control send dosnt work!! check it outControlSend ( "Dark Age of Camelot, Copyright © 2001-05 Mythic Entertainment, Inc.", " ", "0x001B02E8", "1" )is that the wrong form of the control id? aka hex? or is it soposed to be converted to something else for this function?? any ideas?ususally it is like "Button1" as a controlid try the hex without the quotes. My UDF's:;mem stuff_Mem;ftp stuff_FTP ( OLD );inet stuff_INetGetSource ( OLD )_INetGetImage _INetBrowse ( Collection )_EncodeUrl_NetStat_Google;random stuff_iPixelSearch_DiceRoll Link to comment Share on other sites More sharing options...
wnight77 Posted December 20, 2005 Author Share Posted December 20, 2005 heh i shoulda posted more i have it in like 5 forms trying to get it to work.... 1 hex quotes 1 hez no quotes 1 dec quotes 1dec no quotes booo non worked Link to comment Share on other sites More sharing options...
wnight77 Posted December 20, 2005 Author Share Posted December 20, 2005 (edited) Func get() $i=ControlGetHandle ( "Dark Age of Camelot, Copyright © 2001-05 Mythic Entertainment, Inc.", "", "DAoCMWC1" ) MsgBox ( 1, "blah", $i ) EndFunc this returns that value u are seeing hmm wait so the control id is dAoCmwc1 and the HWND is that hex value?? but thats odd because this dosnt work ether ControlSend ( "Dark Age of Camelot, Copyright © 2001-05 Mythic Entertainment, Inc.", " ", "DAoCMWC1", "1" ) quotes runs but dosnt work no quotes i cant even run it hmm but that cant be right ether becauase... Control ID: ClassNameNN: DAoCMWC1 Edited December 20, 2005 by wnight77 Link to comment Share on other sites More sharing options...
wnight77 Posted December 20, 2005 Author Share Posted December 20, 2005 (edited) no its working as intended the way i have it.... now i gota find a way to make autoit tell what window is what... i have 2 windows with the exact same name and ID why cant i use the HWND!! darn it! or can i.... =-=) if anyone knows feal free to enlighten me Edited December 20, 2005 by wnight77 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