AW: globalLoc returns wrong values!
Tiemo Hollmann TB
toolbook at kestner.de
Wed Apr 23 05:58:28 EDT 2014
In my case I think I can workaround this issue by changing my snapshot
parameter from "rect" to "obj", when changing some more lines around.
But I wonder what to do, when you need the "rect"
> -----Ursprüngliche Nachricht-----
> Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im
> von Tiemo Hollmann TB
> Gesendet: Mittwoch, 23. April 2014 11:15
> An: 'How to use LiveCode'
> Betreff: globalLoc returns wrong values!
> With LC 6.5.2 on Windows 7 I am taking a screenshot from a rect like this:
> put globalLoc (the topleft of image "Image") into tTopLeft
> put globalLoc (the bottomright of image "Image") into tBotRight
> put tTopLeft & "," & tBotRight into tRectSnap
> export snapshot from rect tRectSnap to tScreenshot as PNG
> This works fine, beside when the user changes the textsize to 150% in his
> display settings. Then the snapshot rect is shifted and the user gets
> content in his snapshot.
> Has anybody stumpled upon this issue yet and has found a workaround for
> Perhaps checking a windows system setting and recalculating the rect?
> I know, you can change the textsize on mac too, but that's really only the
> TEXT size and that doesn't bother my LC program. On windows this option is
> actually not only the text size, but the whole screen is resized. Is there
> something similar on Mac, what could cause a similar problem, what I
> find yet?
> Thanks for any ideas
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
More information about the Use-livecode