5 Replies Latest reply on Mar 11, 2012 8:48 AM by Andymc7

    Simple Script for Multiple Objects?

    Andymc7 Level 1

      Someone recently helped me with setting an opacity level for an object using this one line script and binding a keyboard shortcut to it: app.selection[0].transparencySettings.blendingSettings.opacity=50; (Pressing "5" sets the object's opacity to 50%)

       

      Although the script works perfectly for one object, when mutiple objects are selected it only affects the first selected object. Can someone show me how to get this script to affect multiple objects at once?

       

      Thanks in advance!