On a Mac OS 9.1 I use:

put the windowID of this window into tW
  import snapshot from rect 325,17,727,551 of window tW

and it works fine.


When I do the same with Mac OS 10.0.4 Build 4Q12

the windowID number can be obtained but the snapshot does not get taken
at the correct location. To work around this I factor in the left & 
top like this:


--put the windowID of this window into tW
   --import snapshot from rect 325,17,727,551 of window tW
   put the left of this stack into tLeft
   put the top of this stack into tTop
   import snapshot from rect 323+tLeft,19+tTop,723+tLeft,551+tTop --WORKAROUND

Is this expected behavior for using import snapshot with windowID on OSX?

sims
_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution

Reply via email to