![]() ![]() Hence i probably need to whitelist the correct name instead of blacklist the possible errors. ![]() (But when executed above code works cause #4 window will be the focus after #3, and #3 will be in the background) The tricky part is, #3 and #4 have the same window title name. Con questo software possibile acquisire immagini a colori, in scala di grigi o in bianco e nero e ottenere risultati di qualit professionale. I need to place the close window function that i mentioned on my first post on #1 until #5. adjprog vers.1.0.3 Gratis download software a UpdateStar - EPSON Scan controlla direttamente tutte le funzioni dello scanner EPSON. ![]() Expand collapse popup opt - Opt ( 'MustDeclareVars', 1 ) Opt ( 'WinTitleMatchMode', 2 ) declaration - Global $sAdjsutExe = 'C:\resetter\adjust.exe' Global $sExpectedTitle = 'yourProgramTitle' Global Const $iTimeoutInSeconds = 2 processing - Run ( $sAdjsutExe ) AdlibRegister ( '_closeWindows', 1000 ) While True If WinWaitActive ( $sExpectedTitle, '', $iTimeoutInSeconds ) Then ExitLoop EndIf _closeWindows ( ) Sleep ( 250 ) WEnd AdlibUnRegister ( '_closeWindows' ) MsgBox ( '', '', 'Script continues' ) functions - Func _closeWindows ( ) _closeWindow ( 'yourErrorWindowTitle' ) _closeWindow ( 'yourOtherWindowTitle' ) _closeWindow ( 'justAnotherOne' ) EndFunc Func _closeWindow ( $sWindowTitle ) If WinExists ( $sWindowTitle ) Then WinActivate ( $sExpectedTitle ) Send ( '" ) #close whole program ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |