c# - UI button is enabled -



c# - UI button is enabled -

how check ui button enabled , visible in lua. suppose command ui button. want check if button visible, enabled or movedtoobject

suppose have button creation code in c# , writing lua script have automation id , main application window title

now able command on button. can click on button through lua script , parent of button command below code. need know how can check lua script visible or enabled

assuming using luainterface connect lua , clr, create button object globally available in lua:

luainstance["buttonname"] = buttoninstance;

then in lua script:

isenabled = buttonname.isenabled isvisible = buttonname.isvisible

(not tested; started playing luainterface.)

c# lua

Comments

Popular posts from this blog

iphone - Dismissing a UIAlertView -

intellij idea - Update external libraries with intelij and java -

javascript - send data from a new window to previous window in php -