i am the newbie here,
i try to macro scheduler on my company software there to open it automatically,
i have try to input the user name and the password to login but the way,
during the login progress, it take some or few sec to updating the company software there (some sort of loading page).
it use the command there to wait for the 10 sec there~ and use the waitwindowopen command.
but do you have any best solution there to detect the window already ready to input there?
Code: Select all
//Run Program
RunProgram>D:\HRMS\myhrms\PEOPLEHR.EXE
//Wait Window Open
Let>WIN_USEHANDLE=0
Let>WF_TYPE=1
WaitWindowOpen>PeopleHR
SetFocus>PeopleHR
//TURN ON CAP
CapsOn
Let>SK_LEGACY=0
Let>SK_DELAY=0
//KEY IN DETAIL OF LOGIN
SendText>master
Press Tab
Let>SK_DELAY=0
Let>SK_IGNORECAPS=0
SendText>abcd1234
Press ENTER
Press ALT
Send>S
Release ALT
//WAIT WINDOWOPEN
WaitWindowOpen>PeopleHR DEMO DATA
Wait>5.42
//should i wait for so long to login into my interface there?
//EMPLOYEE MODULE
CapsOff
Wait>5.42
Press ALT
Send>me