Putting two groups onto the clipboard

Mark Schonewille m.schonewille at economy-x-talk.com
Tue Jun 11 20:15:37 EDT 2013


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 Consulting and Software Engineering
Homepage: http://economy-x-talk.com
Twitter: http://twitter.com/xtalkprogrammer
KvK: 50277553

Use Color Converter to convert CMYK, RGB, RAL, XYZ, H.Lab and other 
colour spaces. http://www.color-converter.com

Buy my new book "Programming LiveCode for the Real Beginner" 
http://qery.us/3fi

Fill out this survey please
http://livecodebeginner.economy-x-talk.com/survey/

On 6/12/2013 02:12, Mark Schonewille wrote:
> 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 snapshot from rect (the rect of grp 1) of this cd \
>       to myPict as PNG
>     set the clipboarddata["image"] to myPict
> end mouseUp
>

>
> On 6/11/2013 21:57, charles61 wrote:
>> I have some edit fields that have been grouped into two separate
>> groups. How
>> can I placed the two groups onto the clipboard in an app that so that
>> they
>> can be pasted (from the app) to a word processing document?
>>
>>
>




More information about the use-livecode mailing list