AceLoc Posted September 25, 2006 Share Posted September 25, 2006 well i need it to get the Title of the current Activated window Thnk. [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
AceLoc Posted September 25, 2006 Author Share Posted September 25, 2006 (edited) so this should work fine? Opt("WinTitleMatchMode", 2) $oEmail = InputBox("Email:", "Email:", "", "", 100, 10) $oMessenger = ObjCreate("Messenger.UIAutomation.1") $oControl = ("DirectUIHWND1") $oMessenger.InstantMessage($oEmail) $oTitle = WinGetTitle("") ControlSend($oTitle, "", $oControl, "!l") ControlSend($oTitle, "", $oControl, "{DOWN}") ControlSend($oTitle, "", $oControl, "{ENTER}") Edited September 25, 2006 by aceloc [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
Xenobiologist Posted September 25, 2006 Share Posted September 25, 2006 Hi, Opt("WinTitleMatchMode",4) Opt("WinSearchChildren",1) MsgBox(0,"", WinGetTitle("active")) So long, Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times Link to comment Share on other sites More sharing options...
jpm Posted September 25, 2006 Share Posted September 25, 2006 Hi, Opt("WinTitleMatchMode",4) Opt("WinSearchChildren",1) MsgBox(0,"", WinGetTitle("active")) So long, MegaWhy "WinSearchChildren" is needed? Link to comment Share on other sites More sharing options...
AceLoc Posted September 25, 2006 Author Share Posted September 25, 2006 (edited) @Lar .. Thanks worked fine And also Thanks to all others that helped/ Try'd Edited September 25, 2006 by aceloc [quote name='AceLoc']I gots new sunglasses there cool.[/quote] Link to comment Share on other sites More sharing options...
Xenobiologist Posted September 25, 2006 Share Posted September 25, 2006 Why "WinSearchChildren" is needed? Never tested without in every case. :"> You whippersnapper! So long,Mega Scripts & functions Organize Includes Let Scite organize the include files Yahtzee The game "Yahtzee" (Kniffel, DiceLion) LoginWrapper Secure scripts by adding a query (authentication) _RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...) Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc. MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times 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