Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

LoadKybdmacro not working 1

Status
Not open for further replies.

LeanClink

Programmer
Nov 26, 2020
10
PH
I am trying to use LoadKybdmacro command but for some reason it is throwing "ISL Error No SIM File".

I am pretty sure I specified the correct details.

I am trying to call Event Inq 18, and the interface has the ID of 5. I already tried reloading DB but same error happens.

Am I doing something wrong? Based on documents, should pass "KEYS" to Event 18

Code:
event inq : 17

loadkybdmacro makekeys ("TEST"), key(24, 16384 * 18 + 5)

endevent

event inq : 18

waitforclear "18 IS CLICKED"
		 
endevent
 
Is 5 the object number in the Pos Configurator or is it the primary key in the interface_def table?

--------
Specialist in creating custom applications for the Micros POS range: 3700, 9700, Simphony FE, Simphony. SIM Scripts, Data Exports, Simphony extension applications, API Creation and integration. If you need anything please contact me via my website
 
Yes, to be specific, it is the number in "Interfaces" in POS Configurator.

I am not sure where I can find interface_def table? Table view shows the same number.
 
It needs to be the database sequence number. Its not visible in the pos configurator.

You need to log into the database and view the interface_def table.

image_fgabv9.png


Specialist in creating custom applications for the Micros POS range: 3700, 9700, Simphony FE, Simphony. SIM Scripts, Data Exports, Simphony extension applications, API Creation and integration. If you need anything please contact me via my website
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top