WinWait, WinWaitActive, IfWinNotActive Functions for VB.Net

Get help with using AutoHotkey and its commands and hotkeys
chngrcn
Posts: 84
Joined: 29 Feb 2016, 08:55

WinWait, WinWaitActive, IfWinNotActive Functions for VB.Net

08 Mar 2018, 13:34

Code: [Select all] [Download] GeSHi © Codebox Plus

WinWait, , Document1 - Microsoft Word
IfWinNotActive, Document1 - Microsoft Word, , WinActivate, Document1 - Microsoft Word,
WinWaitActive, Document1 - Microsoft Word,
Send, {ENTER}ABCDEFG{ENTER}
WinWait, Untitled - Notepad,
IfWinNotActive, Untitled - Notepad, , WinActivate, Untitled - Notepad,
WinWaitActive, Untitled - Notepad,
Send, {ENTER}1234567890{ENTER}


Valuable members of the forum.
It's a topic that goes out of court, but I still want information and help from you.
I want to do the task that the AutoHotkey code that I wrote above has done on vb.net (visual basic.net).
I know that VB.net's platform is not here. but as a result of my research on the internet, I have not reached a conclusion.

As in the code,
When the window "Document1 - Microsof Word" is activated, the send command will be enabled and then the unreadable send command will be activated which will wait for the notepad with the title "Untitled - Notepad" to open.

if there is anyone who knows VB.NET coding of this event, I would be very happy if it helps me ..

thank you very much for your help already..
your esteemed friends ..

respectfully ..

Return to “Ask For Help”

Who is online

Users browsing this forum: Meow and 32 guests