On 1/29/2016 1:35 PM, Richmond wrote:
So, I thought I'd have a bash at rolling my own, but got stuck:on mouseUp put topleft of img "border.png" & "," & the bottomright of img "border.png" into ZZZZ put quote & ZZZZ & quote into fld "guff" put fld "guff" into QQQQ export snapshot from rect QQQQ of stack "Super Snap" to file "QQQQ.png" as PNG end mouseUp the thing gets stuck on the "export snapshot" line . . . cannot think why . . . image "snapBTN.png": execution error at line 5 (import: error in expression), char 1 that stuff about "char 1" makes NO sense at all.
I think in general it means the line won't compile at all, there's no specific place it errors.
By adding quotes to the variable, you are specifying a string rather than a rect. Omit the quotes from the field.
-- Jacqueline Landman Gay | [email protected] HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
