Selection Range UI

Upload Photoshop Scripts, download Photoshop Scripts, Discussion and Support of Photoshop Scripts

Moderators: Tom, Kukurykus

Mikeal.Sim

Selection Range UI

Post by Mikeal.Sim »

I created a UI for a script that logically demonstrates that it is a range with changeable min and max numbers.

I use two sliders to get the basic principle across but I also used images with a scaling bounding box. This shows the relationship more clearly to a first time user.
The range between the slider points is black (active) while the rest of the range is white. The image bounding box updates in real time (onchanging) with the slider points and moves 1:1.
I also built logic that wont allow one slider to pass the other and to check that edit box is a number.
Mikeal.Sim

Selection Range UI

Post by Mikeal.Sim »

I put this code to use.
I'm using to control a selection. The selection is driven by Gaussian Blur on the low end and HghPass on the high end. Thus creating the ability to make texture detail size requirements user controllable. (I work with 3d textures). Combining it with an undo I have built a preview into it.
This is just a small part of a script I'm finalizing.

I borrowed some "WhoAmI" code from Paul MR