Putting two groups onto the clipboard

charles61 cszasz at mac.com
Wed Jun 12 14:41:40 CEST 2013


Thanks Mike and Mark for your suggestions!

Sent from my iPad

On Jun 11, 2013, at 8:18 PM, "Mike Bonner [via Runtime Revolution]" <ml-node+s278305n4666342h31 at n4.nabble.com> wrote:

> 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 at 6:12 PM, Mark Schonewille < 
> [hidden email]> 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 
> > 
> > -- 
> > Best regards, 
> > 
> > Mark Schonewille 
> > 
> > Economy-x-Talk Consulting and Software Engineering 
> > Homepage: http://economy-x-talk.com
> > Twitter: http://twitter.com/**xtalkprogrammer<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/<http://livecodebeginner.economy-x-talk.com/survey/> 
> > 
> > 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? 
> >> 
> >> 
> >> 
> > ______________________________**_________________ 
> > use-livecode mailing list 
> > [hidden email] 
> > Please visit this url to subscribe, unsubscribe and manage your 
> > subscription preferences: 
> > http://lists.runrev.com/**mailman/listinfo/use-livecode<http://lists.runrev.com/mailman/listinfo/use-livecode> 
> >
> _______________________________________________ 
> use-livecode mailing list 
> [hidden email] 
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences: 
> http://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 the clipboard, click here.
> NAML




--
View this message in context: http://runtime-revolution.278305.n4.nabble.com/Putting-two-groups-onto-the-clipboard-tp4666332p4666363.html
Sent from the Revolution - User mailing list archive at Nabble.com.


More information about the use-livecode mailing list