I am trying to write a script that will capture user login information and send it to a log file on the scanner. I modified the example script slightly and am wondering how to remove the Ask feature. I don't want to ask the user, I just want to capture this information in the background so i can report it. The user should not even know the script is running.
Script(Get_Screen_Text_Test)
String(strScreenText)
Number(nRow)
Number(nColumn)
Activate(Connection)
Logging_On( "\\UserID.txt", TRUE )
nRow = Ask_Number("Enter row, top row is 1", "Get_Screen_Text_Test", 1, 99, 1)
nColumn = Ask_Number("Enter column, left-most column is 1", "Get_Screen_Text_Test", 1, 99, 1)
strScreenText = Get_Screen_Text(nRow, nColumn)
Logging_Off
Return
Thanks in advance for any advice!