I am brand new to AutoHotKey & just learning scripting. I currently have this script which puts data in the field through google Chrome. The 17th line is asking for the current hour & line 20 is asking for the current minuet. Can anyone help me out please? I have included the script for your help - thank you in advance.
Code: Select all
{
Run chrome.EXE "http://projects/PWA/ERP Project/Team Portal/Lists/New Triage/NewForm.aspx"
Sleep, 100
WinWait, ERP Triage - New Item - Google Chrome,
IfWinNotActive, ERP Triage - New Item - Google Chrome, , WinActivate, ERP Triage - New Item - Google Chrome,
WinWaitActive, ERP Triage - New Item - Google Chrome,
Sleep, 2000
Send {t}{t}{t}
Send, {Tab}
Sleep, 100
Send {k}
Sleep, 100
Send {tab}
SendInput %CurrentDateandTime%
Send {tab}
Sleep, 100
SendInput %wHour%
Send {tab}
Sleep, 100
SendInput %wMinute%
Send {tab}
Sleep, 100
Send rwebber
Send {tab 3}
Sleep, 100
Send, {2}
Send {tab 2}
Send {k}
Sleep, 100
Send, {Tab 3}
Send {s}{s}
Sleep, 100
Send, {Tab 4}
Sleep, 100
Send rwebber
Sleep, 100
Send {tab 3}
Sleep, 100
Send rwebber
Send {tab 6}
}