Access element by html class or title in scripting

I want to simulate a click on the + range when I scroll up and on - when I scroll down on the Equipment Schedule. I know how to detect the scrolling part, but I don't know how to virtually click the icons.

image

This is the html:

Why do you want to simulate a click ?
Just increment/decrement the values, you don't need to go through simulating a click to do that.

1 Like

Correct me if I'm wrong but the only option I see to change that is defaultZoom and changing it doesn't change the views zoom, only the default one.

What are those buttons ? Is that a built-in component ?

Yes, it's a EquipmentSchedule component.

You will not have native access to the routine run by those buttons as IA has not provided an extension function or property to do so.

That said, you could potentially add some JS injection to "click" on the button, but personally I wouldn't feel it was worth the effort.

2 Likes

Alright, I'll wait for the property to come then... Thanks for the info!