From: Bernard D. <bde...@gm...> - 2017-04-21 19:24:08
|
Well done François ! Very nice tool ! Le 20 avr. 2017 à 17:17, Francois Chaplais <sno...@us...> a écrit : > let me make some advertisement for the utility popclip, which allows many manipulations of text clipboard. In particular it offers the possibility of pasting raw text (unicode, I guess). It has also many other extensions. > https://pilotmoon.com/popclip/ https://pilotmoon.com/popclip/ > François > > Le 20 avr. 2017 à 11:29, Bernard Desgraupes bde...@us... a écrit : > > Unfortunately, after a lot of experiments, it seems that there is no way of removing the rich data flavours from the pasteboard. There is no obvious API to remove a data type from the pasteboard anyway. I tried the hard way: after a copy instruction, I stored a copy of all the data types in a dictionary, then cleared the entire pasteboard (there is a command for this), then reconstructed the pasteboard items filtering out the rich text types. No matter what, the "public.rtf" item is back again. > Also as soon as I switch to another application, the contents of the pasteboard change and much more types are present, including other rich text types. Maybe it is a question of data providers (promised data as opposed to actual data). > I can't think of any other solution and I give up. > > [tickets:#120] https://sourceforge.net/p/alphacocoa/tickets/120/ Copy copies also font info > > Status: open > Created: Tue Apr 04, 2017 07:31 PM UTC by Joachim Kock > Last Updated: Wed Apr 19, 2017 07:43 PM UTC > Owner: nobody > > Alpha (in contrast to AlphaX) copies text WITH formatting, > instead of just copying the text as a sequence of chars. > > I think this is wrong, since the formatting is not an attribute > of the text copied but only an artefact of how the text editor > presents the text on screen. > > (In practical terms, when from time to time I have to edit a Word > document, I always found it useful to do as much as possible of > the editing in AlphaX, before pasting it into Word, where it > will be inserted free of formatting. I hope this use of AlphaX > can be inherited by Alpha.) > > If for some reason the new behaviour is deemed useful, perhaps > this is not a bug report but a feature request: could we then have > a prefs flag for controlling this, please? > > Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ https://sourceforge.net/p/alphacocoa/tickets/ > To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. > > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______ > AlphaCocoa-devel mailing list > Alp...@li... > https://lists.sourceforge.net/lists/listinfo/alphacocoa-devel > > [tickets:#120] Copy copies also font info > > Status: open > Created: Tue Apr 04, 2017 07:31 PM UTC by Joachim Kock > Last Updated: Thu Apr 20, 2017 11:04 AM UTC > Owner: nobody > > Alpha (in contrast to AlphaX) copies text WITH formatting, > instead of just copying the text as a sequence of chars. > > I think this is wrong, since the formatting is not an attribute > of the text copied but only an artefact of how the text editor > presents the text on screen. > > (In practical terms, when from time to time I have to edit a Word > document, I always found it useful to do as much as possible of > the editing in AlphaX, before pasting it into Word, where it > will be inserted free of formatting. I hope this use of AlphaX > can be inherited by Alpha.) > > If for some reason the new behaviour is deemed useful, perhaps > this is not a bug report but a feature request: could we then have > a prefs flag for controlling this, please? > > Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ > > To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. > > ------------------------------------------------------------------------------ > Check out the vibrant tech community on one of the world's most > engaging tech sites, Slashdot.org! http://sdm.link/slashdot_______________________________________________ > AlphaCocoa-devel mailing list > Alp...@li... > https://lists.sourceforge.net/lists/listinfo/alphacocoa-devel |