QSrules: Add item automatically

Hi, When I attempt to add item using this script "session.transaction.entries.add" it will add but it will hide item into POS screen. How can I automate to refresh my POS screen. What should I do to see my added item, that I know loaded into my screen invisibly.

I'm currently using RMS 1.3R

Regards, Dexter

Reply to
Online issue
Loading thread data ...

Hi Dexter,

You need to send ENTER key programmatically to RMS POS apps

">

Reply to
Noe

Hi Noe

No, If I trigger programmatically the send enter. It will prompt the tender transaction screen. Any suggestion?

Thanks for the reply.

Regards, Dexter

"Noe" wrote:

Reply to
Online issue

Hello again,

Use the PERFORMADDITEM() > Hi Noe

Reply to
Noe

Hi Noe,

Yup I already done that.

Thanks, Noe

"Noe" wrote:

Reply to
Online issue

PerformAddItem is a Member of QSBridge. How do you use it within a Hook (QSRules)?

Mart>

Reply to
martin

Hi I found a solution:

first I read the Transactionscreen size from the Registry then I determined the POS Window Handle with function FindWindow("","Microsoft Store Operations POS")

when I needed to refresh the screen I used SetWindowPos: With TransactionScreen SetWindowPos(POSHandle, -2, .left, .top, .width + 1, .height, &H8) SetWindowPos(POSHandle, -2, .left, .top, .width, .height, &H8) End With

this changes the screen size and then set it back to the original size

The only backdraw is a smal flickering Transactionscreen.

Mart>

Reply to
martin

BeanSmart website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.