Sign in to follow this  
Followers 0
dark_jedi

Detect window flash and title name

12 posts in this topic

How would I monitor window titles and detect if the are flashing and return the title of the flashing window? Thanks :)

Share this post


Link to post
Share on other sites



Search in helpfile:

WinActive()

WinGetTitle()


Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%

Share this post


Link to post
Share on other sites

How would WinActive() help me with detecting if a window title is flashing?

Share this post


Link to post
Share on other sites

WinActive

--------------------------------------------------------------------------------

Checks to see if a specified window exists and is currently active.

WinActive ( "title" [, "text"] )


Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%

Share this post


Link to post
Share on other sites

ok... sorry


Do Not Steal The Government Hates CompetitionO2JAM AutoPlayBot [|||||.............] 10%Friendster Commenter [..................] 0%Auto Message Download Percentage [|||||||||||||||||] 100%

Share this post


Link to post
Share on other sites

#7 ·  Posted (edited)

i would like to know that to :)

hmm i think if you have a "normal" window title (not variabel) then it wil work with

while 1

if winflash("Window") then

msgbox(0,"","Its flashing !")

endif

Wend

Edited by {NL}--Xantios---

Share this post


Link to post
Share on other sites

I need to know which window is flashing out of many.

Share this post


Link to post
Share on other sites

I need to know which window is flashing out of many.

i have the same problem :)

i am going to make a function for it :P that's the only way :D

Share this post


Link to post
Share on other sites

i have the same problem :)

i am going to make a function for it :P that's the only way :D

unfortunately, WinFlash() does not return anything, so it isn't detectable through the function

Share this post


Link to post
Share on other sites

#11 ·  Posted (edited)

i know , but it must be loggen somewhere that the window is flashing :) or maybe im going to use a pixelchecksum , but that will be my second choice

hmm it seems harder than i thougt . need some help on this ,

Edited by {NL}--Xantios---

Share this post


Link to post
Share on other sites

WinGetState() would be useful if only it returned something for flashing window.

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