For Each object of Instance
Hello, with Instance I can do this according to documentation,.
# Button_1's onClick console.log(Instance) Instance.Button_2.text = "hello world";
But If I have 40 select componentes, how can I use it without write 40 lines, something like this:
For Each O in Instance do
if o.name = 'Select_1'
o.value = 'cup of cofffe'
Thanks
/Jorge
Jorge Turiel
Post edited by Jorge on
0
Comments
-
Hi, I found the soluttion.Instance["Select_1"]Jorge Turiel1
Categories
- All Categories
- 5.6K RobotStudio
- 401 UpFeed
- 21 Tutorials
- 15 RobotApps
- 306 PowerPacs
- 407 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.9K Robot Controller
- 359 IRC5
- 77 OmniCore
- 8 RCS (Realistic Controller Simulation)
- 851 RAPID Programming
- 29 AppStudio
- 4 RobotStudio AR Viewer
- 19 Wizard Easy Programming
- 110 Collaborative Robots
- 5 Job listings