This content has been marked as final. Show 4 replies
I'm trying to check if an image has been flipped in InDesign CS5 using applescript:
tell application "Adobe InDesign CS5"
set image_flip to absolute flip of the selection
display dialog (image_flip as string)
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.