Skip navigation
Currently Being Moderated

absolute flip bug CS5?

Aug 10, 2012 2:46 AM

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

 
Replies
  • Currently Being Moderated
    Aug 10, 2012 7:19 AM   in reply to restless_mind

    I get the same using AppleScript and the ESTK…

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 10, 2012 8:05 AM   in reply to restless_mind

    Yes that is what I thought too… Listed as r/w all is just wrongly documented me thinks?

     
    |
    Mark as:
  • Currently Being Moderated
    Aug 11, 2012 4:54 AM   in reply to Muppet Mark

    I guess that 'both' (or 'horizontal and vertical') is a set-only property, because when you flip an object horizontally and vertically this simply results in a 180° rotation angle, so the object is in fact not flipped at all (in the sense that the x-scale and the y-scale have the same sign).

     

    @+

    Marc

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points