I have a strange situation. I have to be able to export a snapshot of an image area in a stack that is set to fullscreen on a second monitor.
Code: Select all
get the topLeft of image "CombatView" of stack "CombatView"
put it into rPicTopLeft
get the bottomRight of image "CombatView" of stack "CombatView"
put it into rPicBottomRight
export snapshot from rect rPicTopLeft,rPicBottomRight to file "CombatAreaRot.jpg" as JPEG
this works fine when the stack is fullscreened on the main monitor, but when i move the stack to the second monitor, and set it to fullscreen it breaks. It takes the snapshot from the area of the main monitor instead of the second monitor even though the image CombatVIew is on the second monitor when the image area is defined. How can I specify that "rect rPicTopLeft,rPicBottomRight" is on the second monitor?