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

c# - Move local mssql database to webhosted MYSQL -

java - How to pass parameters between Request-Scoped Controllers? -

string - what is the difference between "some" == "some\0" and strcmp("some","some\0") in c++? -