grandMA3 ユーザマニュアル » プラグイン » Lua 関数 - Object-Free API » GetUIObjectAtPosition(integer, table) |
Version 2.1
|
The GetUIObjectAtPosition Lua function returns the handle of the UI Object at a specified position on a specified display.
This example prints the Dump of the UIObject at a specific position on display 1. It also uses the DrawPointer function to draw a red pointer at the position.
The Dump() function returns a string with information about the object, for instance, the name, class, path of the object, its properties, and children.
Learn more in the Dump() topic.
The DrawPointer function draws a red pointer at a display. Learn more about it in the DrawPointer() topic.
Lua |
return function() |