0 Replies Latest reply on Mar 19, 2014 8:51 AM by JeffLambert

    [AS CC] how to toggle between two properties?

    JeffLambert

      Hi,

       

      I'm trying to make a script that would toggle the start paragraph properties between anywhere and next column.

       

      Here's what I have that doesn't work.

       

      tell application "Adobe InDesign CC"

                tell active document

                          tell paragraphs of selection

                                    if start paragraph is anywhere then

                                              set start paragraph to next column

                                    else

                                              set start paragraph to anywhere

                                    end if

                          end tell

                end tell

      end tell

       

      It works only if the paragraphs in questions are in the next column state, but not the other way around. I've tried to make a repeat loop, but can't figure out what the proper form is for this property.

       

      Any help would be appriciated.

       

      TIA

      Jeff