Copy link to clipboard
Copied
Hi Everyone,
Is it possible to create a slider similar to attached one?
Thanks,
Baljeet
Copy link to clipboard
Copied
Yes and no.
ScriptUI has a Slider object which you can add just like any other component -- pretty simple to use.
But it doesn't come with the built-in notches. It's smooth.
So you'd either have to add the notches with some sort of complicated manual kludge, and the jumpiness of the slider (if you must emulate that) perhaps could be done with event listeners, although I think probably not. Or else just forget it, and use the slider as it is, smooth.
Ariel
Copy link to clipboard
Copied
I can create simple Slider by using Peter scripting UI reference but looking if similar one can be achievable.
Copy link to clipboard
Copied
Not without creating your custom element. You could use stacked group, images and event listeners to reproduce the shown ui element.
Copy link to clipboard
Copied
... and with a high likelihood that it will all stop working with some not-too-distant update.
Copy link to clipboard
Copied
yeah definitively. Story of "ScriptUI" life.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now