Quantcast
Channel: Adobe Community : Popular Discussions - Photoshop Scripting
Viewing all articles
Browse latest Browse all 12244

UI Elements Properties

$
0
0

Hello,

Is there a place for documentation of UI Elements Properties?

  • Scroll Bars
    I use scroll bars like that:

    parametersPanel.parametersGrp1.parameter1ScrollBar                  = parametersPanel.parametersGrp1.add('Scrollbar');
    parametersPanel.parametersGrp1.parameter1ScrollBar.minvalue         = tonalRangeCeneterMinValue;
    parametersPanel.parametersGrp1.parameter1ScrollBar.maxvalue         = tonalRangeCeneterMaxValue;
    parametersPanel.parametersGrp1.parameter1ScrollBar.value            = tonalRangeCeneterDefault;
    parametersPanel.parametersGrp1.parameter1ScrollBar.stepdelta        = tonalRangeCeneterStepDelta;
    parametersPanel.parametersGrp1.parameter1ScrollBar.jumpdelta        = tonalRangeCeneterJumpDelta;
    parametersPanel.parametersGrp1.parameter1ScrollBar.preferredSize    = [200, 20];

    Yet though I set both jumpdelta and stepdelta to 1, it doesn't obey (Clicking on the arrow moves the value by 0.01).
    How can I make a scroll bar work only on Integers?

  • Sliders
    I saw people here using sliders, what's are it properties?
    What's the difference between slider and a Scroll Bar?
  • Drop Down Menus
    How can I set the different values?
    How can I extract which one was selected?

 

In general I didn't found anything on Adobe Photoshop Scripting.

 

Thank You.


Viewing all articles
Browse latest Browse all 12244

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>