QSrules: Add item automatically

Jul 10, 2006 6 Replies

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


Hi Dexter,

You need to send ENTER key programmatically to RMS POS apps

">

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:

Hello again,

Use the PERFORMADDITEM() > Hi Noe

Hi Noe,

Yup I already done that.

Thanks, Noe

"Noe" wrote:

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

Mart>

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>

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required