4 Replies Latest reply: Aug 11, 2012 4:54 AM by Marc Autret RSS

    absolute flip bug CS5?

    restless_mind Community Member

      Hi there,

       

      I'm trying to check if an image has been flipped in InDesign CS5 using applescript:

       

      tell application "Adobe InDesign CS5"

        activate

                set image_flip to absolute flip of the selection

        display dialog (image_flip as string)

      end tell

       


      If I flip the selected image horizontally only and run the script it returns 'horizontal'. If I flip the selected image vertically only and run the script it returns 'vertically'. However if i flip the selected image horizontally and vertically it returns 'none'. The dictionary for CS5 clearly states that it should be able to return 'horizontal and vertical/both':

       

      absolute flip (none/horizontal/vertical/horizontal and vertical/both) : Indicates whether the image has been flipped independently of its parent object and, if yes, the direction in which the image was flipped.

       

      Is this a bug with CS5 or am I doing something wrong?

       

      Any help would be gratefully appreciated.

       

      Thanks,

      Nik