Assign Macros to Custom Buttons - FREEWARE

For those who wish they could assign macros to custom buttons on the POS screen:

formatting link
on 'AltKeys'.

Download the Read Me file first. Read it. Twice. Deploy at your own risk.

There's a file called Testdll.dll that may be an answer to your prayers. You can assign up to 12 macros (F1 through F12) to custom buttons. Source code is also available.

It's working very well for me.

I didn't write it and the author shall remain anonymous until or unless they wish to step forward on their own.

Happy day! Tom

Reply to
Terrible Tom
Loading thread data ...

Sorry about the faulty URL. Try:

formatting link
Tom

"Terrible Tom" wrote:

Reply to
Terrible Tom

Reply to
Dale G.

Hi Dale, In your case if you wanted to create a custom button that triggered the Customer Info, you would just change the underlying code so that the sendkeys command did the equivalent of pressing the Shift+F7 key, instead of the Alt+whatever Function key. It would be a simple change. The method shown in Tom's webpage is useful if you want to assign a more complex series of key strokes to a macro, and then trigger that macro with a custom button instead of pressing the keyboard keys. For example, you could record a macro that would do the equivalent of pressing the F11 key, the down arrow, and the enter key twice, which would do a recall for return and take you directly to the screen to select your transaction date range. It is those types of situations where you would create a macro.

"Dale G." wrote:

Reply to
kskinne

Dale,

Think lowest common denominator. I have extremely low expectations when it comes to my sales people and remembering that there are more functions available by holding shift, ctrl and shift+ctrl. Much less remembering about Alt-keys on top of that. I have created custom buttons for practically every common task at my store and encourage the sales people to use them.

You can use FireEvent codes for many things, but Customer Info isn't one of them. Yes, you can access it with a Shift-F7 or record a Macro for Alt-Fx to perform the same function. But if you want a custom button, there's no FireEvent command for Customer Info. Now you have a method to create custom buttons to access features for which no FireEvent command exists.

For example, I recorded a macro that types COMMENT, , , Ctrl-F10. I assigned it to a Custom Button labeled "Add COMMENT" and with a click of the button you get a non-inventory item COMMENT, and the Add Comment dialog box appears for that line.

How you choose to use it is up to you. I know that a several people on this NG have expressed an interest in a custom button for Work Order Details. Now they can record a macro for Ctrl-F2, Shift-F9 and have the work order created and the work order details brought up automatically--all with the click of a button.

HTH, Tom

"Dale G." wrote:

Reply to
Terrible Tom

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.