Sign in to follow this  
Followers 0
shadowsin

Need help on a script

18 posts in this topic

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

Share this post


Link to post
Share on other sites



#2 ·  Posted (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 thx

Whats 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 by Paulie

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

anyone have any ideas? thx

Share this post


Link to post
Share on other sites

Try checking window one by one.

i542


I can do signature me.

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

#7 ·  Posted (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 by Paulie

Share this post


Link to post
Share on other sites

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

And what is fullscreen game if is not maximized window without titlebar? :whistle:

i542


I can do signature me.

Share this post


Link to post
Share on other sites

And what is fullscreen game if is not maximized window without titlebar? :whistle:

i542

Play warcraft or diablo, disable your internet, and try to get on battlenet

In-Game, a window pops up, but if you minimize it, the only taskbar icon is for the game, not the error

Share this post


Link to post
Share on other sites

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"

Share this post


Link to post
Share on other sites

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 first

when that message pops up in game, alt tab out and see if any new window has appeared(taskbar) is so, i need that title

otherwise, I'm afraid you'll need to memory edit like zero sugested

Share this post


Link to post
Share on other sites

nope its not like that ima have to memory edit

Share this post


Link to post
Share on other sites

a memory editor would be something like TSearch right? and how can i find the memory of the box

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

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...

Share this post


Link to post
Share on other sites

what value should i look under?

Share this post


Link to post
Share on other sites

How will i be able to narrow it down anyways?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0