shadowsin Posted August 6, 2006 Share Posted August 6, 2006 Anyone know how i can let my script know when something pops up and then select an option such as "Someone would like to add you to buddy list Accept Yes.No" any ideas thx Link to comment Share on other sites More sharing options...
Paulie Posted August 6, 2006 Share Posted August 6, 2006 (edited) Anyone know how i can let my script know when something pops up and then select an option such as "Someone would like to add you to buddy list Accept Yes.No" any ideas thxWhats the window title? While 1 Sleep(100) If WinExists("*PopUp Window*") Then $ans =MsgBox(4, "Accept?", "Someone would like to add you to buddy list"&@CRLF&"Accept?" If $ans = 6 then MsgBox(0, "No", "Do whatever") Else MsgBox(0, "Yes", "Do whatever") EndIf EndiF Wend Edited August 6, 2006 by Paulie Link to comment Share on other sites More sharing options...
shadowsin Posted August 6, 2006 Author Share Posted August 6, 2006 Paulie youre an autoit god lol but i have another ? you see this is in a game so i guess you can say its a window inside a window would that be a problem or can your code work th7e same? Link to comment Share on other sites More sharing options...
shadowsin Posted August 6, 2006 Author Share Posted August 6, 2006 anyone have any ideas? thx Link to comment Share on other sites More sharing options...
i542 Posted August 6, 2006 Share Posted August 6, 2006 Try checking window one by one. i542 I can do signature me. Link to comment Share on other sites More sharing options...
zeroZshadow Posted August 6, 2006 Share Posted August 6, 2006 its a game popup right ?? u should try getting a memory editor and look for a value that changes on one of those popups. *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip... Link to comment Share on other sites More sharing options...
Paulie Posted August 6, 2006 Share Posted August 6, 2006 (edited) Well what game is it? is it a full screen game like Warcraft or Diablo? If so, when a window pops up, It's not actually seen as a window, so therefore, the code won't work You're only hope if this is true is to find an OCR (Optical Character Recognizer) and have it look for text specific to that window Edit: What Zero said could work too, however, its complex stuff Edited August 6, 2006 by Paulie Link to comment Share on other sites More sharing options...
i542 Posted August 6, 2006 Share Posted August 6, 2006 Well what game is it?is it a full screen game like Warcraft or Diablo?If so, when a window pops up, It's not actually seen as a window, so therefore, the code won't workYou're only hope if this is true is to find an OCR (Optical Character Recognizer) and have it look for text specific to that windowEdit:What Zero said could work too, however, its complex stuffAnd what is fullscreen game if is not maximized window without titlebar? i542 I can do signature me. Link to comment Share on other sites More sharing options...
Paulie Posted August 6, 2006 Share Posted August 6, 2006 And what is fullscreen game if is not maximized window without titlebar? i542Play warcraft or diablo, disable your internet, and try to get on battlenetIn-Game, a window pops up, but if you minimize it, the only taskbar icon is for the game, not the error Link to comment Share on other sites More sharing options...
shadowsin Posted August 7, 2006 Author Share Posted August 7, 2006 its world of warcraft and when you go into a battleground when it finishes it ask you to leave i was wondering how i can script something letting it know that it popped and click "Leave Battleground" Link to comment Share on other sites More sharing options...
Paulie Posted August 7, 2006 Share Posted August 7, 2006 its world of warcraft and when you go into a battleground when it finishes it ask you to leave i was wondering how i can script something letting it know that it popped and click "Leave Battleground"Ok theres one thing i need to know firstwhen that message pops up in game, alt tab out and see if any new window has appeared(taskbar) is so, i need that titleotherwise, I'm afraid you'll need to memory edit like zero sugested Link to comment Share on other sites More sharing options...
shadowsin Posted August 7, 2006 Author Share Posted August 7, 2006 nope its not like that ima have to memory edit Link to comment Share on other sites More sharing options...
shadowsin Posted August 7, 2006 Author Share Posted August 7, 2006 a memory editor would be something like TSearch right? and how can i find the memory of the box Link to comment Share on other sites More sharing options...
zeroZshadow Posted August 7, 2006 Share Posted August 7, 2006 by trying allot. just see if some variable becomes 1 or something if the screen is up. always check the doubles and the floats. offcourse also the rest. *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip... Link to comment Share on other sites More sharing options...
strate Posted August 7, 2006 Share Posted August 7, 2006 If all you want to do is know when a control is visible try: ControlCommand with "IsVisible", "" INI TreeViewA bus station is where a bus stops, a train station is where a train stops. Onmy desk I have a work station... Link to comment Share on other sites More sharing options...
zeroZshadow Posted August 7, 2006 Share Posted August 7, 2006 but its probeably not a control mate, its an homemade code in-game and those are hard... i think *If u thought life couldn't get worse, u meet me *<guy> What would you give my little sister to unzip ?<friend> 10 bucks<guy> No, i mean like Winzip... Link to comment Share on other sites More sharing options...
shadowsin Posted August 8, 2006 Author Share Posted August 8, 2006 what value should i look under? Link to comment Share on other sites More sharing options...
shadowsin Posted August 8, 2006 Author Share Posted August 8, 2006 How will i be able to narrow it down anyways? 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