://lists.runrev.com/mailman/listinfo/use-livecode
If you reply to this email, your message will be added to the discussion
below:
http://runtime-revolution.278305.n4.nabble.com/Putting-two-groups-onto-the-clipboard-tp4666332p4666342.html
To unsubscribe from Putting two groups onto
/Putting-two-groups-onto-the-clipboard-tp4666332.html
Sent from the Revolution - User mailing list archive at Nabble.com.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
Hi Charles,
I wonder what you have tried to far and why it didn't work?
One solution is
on mouseUp
export snapshot from grp 1 to myPict as PNG
set the clipboarddata[image] to myPict
end mouseUp
but because this doesn't always give nice results, you might try
on mouseUp
export
Charles,
If you want to copy two groups at once, you can temporarily group the
groups or create a rect from the topleft of one and the bottomright of
the other group:
put the topleft of grp 1 comma the bottomright of grp 2 into myRect
--
Best regards,
Mark Schonewille
Economy-x-Talk
Yeah, as mark said, you can do the snapshot thing. If you want to just get
the text you'd have to loop through the fields in each group, grab the text
and assemble it however you need it in a variable, then put it into the
clipboarddata[text] or .. well something like that.
On Tue, Jun 11, 2013