Seagul Posted October 18, 2009 Share Posted October 18, 2009 How Do I monitor when title of window changes heres what I have so far trying make a pidgin song changer Global $title WinGetTitle("[CLASS:{97E27FAA-C0B3-4b8e-A693-ED7881E99FC1}]", "") ; Gets Song Title ControlSetText("Buddy List", "", "gdkWindowChild5", "") ; Clears Box ControlSend("Buddy List", "", "gdkWindowChild5", $title) ; Sets Song Title Link to comment Share on other sites More sharing options...
FuryCell Posted October 18, 2009 Share Posted October 18, 2009 (edited) Try this code on for size. Modify it to suit your needs. =P $Handle=WinGetHandle("Untitled - Notepad") $OldTitle=WinGetTitle($Handle) While 1 Sleep(100) $NewTitle=WinGetTitle($Handle) If $NewTitle <> $OldTItle Then $OldTitle=$NewTitle MsgBox(0,"Title Changed","It is now:"& $NewTitle) EndIf WEnd -Mike Edited October 18, 2009 by P5ych0Gigabyte HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code. 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