0 Replies Latest reply on Feb 21, 2010 11:09 PM by Superfreak85

    Transparency Settings: OuterGlow Size

    Superfreak85

      Hi there,

       

      I've got an big problem with my AppleScript for InDesign CS4. I would like; that my script apply some object effect with one click for my selection in my current InDesign Document. Here's my script:

       

      ------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------

       

      tell application "Adobe  InDesign CS4"
         
          set dieBreite to page width of document preferences of active document
          --activate
         
          tell active document


              set mySelection to selection
              if (count mySelection) is 0 then
                  display dialog "Please select an Object"
              else
                 
                  tell the selection
                     
                      tell transparency settings
                         
                          --set properties of outer glow  settings to {applied:true, blend mode:screen, size:150, effect  color:"Paper", opacity:100, technique:softer}
                          --set properties of  blending settings to {blend mode:normal, opacity:60.0}
                         
                          tell outer glow settings
                              set applied to true
                              --    set size to 0
                             
                             
                              set effect color to "R=255 G=251 B=143"
                              set size to 50.9
                          end tell
                         
                         
                      end tell
                     
                  end tell
                 
              end if
             
          end tell
         
      end tell

       

      ------------------------------------------------------------------------------------------ ------------------------------------------------------------------------------

      The Problem is the size; how can I make it higher than 140 points? I would like to have 150 points. Any ideas?

       

      Hope you can help me, and sorry for my english.

       

      Cheers

       

      TheFreak