Search the Community
Showing results for tags 'WinWaitActive'.
-
;WinWaitActive intermittently fails to find the "Exit Session Setting" window. ;If the window is moved my the mouse, it will then work. ;can anyone help? ; this changes the tws logout time to be a minute earlier than the pc clock time Opt("TrayAutoPause", 0) Opt("MouseCoordMode", 0) Opt("WinTitleMatchMode", 2) #include <File.au3> $logfile = "c:\log\twslogin2" & @YEAR & @MON & @MDAY & ".txt" TraySetIcon("Shell32.dll", 180) _FileWriteLog($logfile, "Starting") ; Live mode While 1 ;If (((@HOUR = 3 And (@MIN > 15 Or @MIN < 31))) Or (@HOUR = 15 And (@MIN > 15 Or @M
- 1 reply
-
- winwaitactive
- interactive brokers
-
(and 1 more)
Tagged with:
-
How to use winwaitactive to search for multiple titles at a time.? Like in my code I am searching for the window with title "Windows Security" and passing credentials automatically. WinWaitActive("Windows Security") But there is another window also where I need to pass credentials with title "User Account Control". How to modify the below code so that it will wait for any of the above windows and send the credentials. While 1 WinWaitActive("Windows Security") ;ANy option to keep or condition logic here Send($CmdLine[1]) Send("{TAB}") Send($CmdLine[2])
-
I have a script to open a bunch of programs when I start the computer. I was using WinWaitActive to activate a window then type some text, but it was not working. It could be I was opening too many things at the same time. So I found an alternative to use WinSetOnTop, type the text, then use WinSetOnTop again to make it not be on top anymore. Just thought I'd mention that alternative in case it helps someone out there in AutoIt-land.