ui.getHandle
Get a handle from a control enum.
controlEnum integer (see list under Comments)
handle integer (0 if failed)
local handle = ui.getHandle(HANDLE_CURRENT_WINDOW)
print("The curerent active window handle is " .. handle)
Valid predefined enums are:
HANDLE_CURRENT_WINDOW
HANDLE_CONTACTS_CUSTOM_TAB
HANDLE_CHECKOUT_AREA
HANDLE_INVOICES_CUSTOM_TAB
Every window instance has a unique handle. For example if there are more than one invoice editors open, they each have their own handle.
Generated on the 26 June 2024 at 22:01:29 (UK Time)