Jump to content

WinGetTitle problm


AceLoc
 Share

Recommended Posts

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 by aceloc

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Link to comment
Share on other sites

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

Why "WinSearchChildren" is needed? :)

Never tested without in every case. :">

You whippersnapper! :P

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

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...