Re: What to set the clipboardData to for exchanging styled text with a 3rd party app

2023-11-13 Thread Bob Sneidar via use-livecode
Couldn’t you choose door number 2? Using just the clipBoardData without a parameter is something I never do anymore. Bob S > On Nov 13, 2023, at 11:24 AM, Craig Newman via use-livecode > wrote: > > Hi. > > I always use the “htmlText”. > > Of course this encode

Re: What to set the clipboardData to for exchanging styled text with a 3rd party app

2023-11-13 Thread Craig Newman via use-livecode
Hi. I always use the “htmlText”. Of course this encodes the original text with HTML tags, so you cannot just: set the clipBoardData to the htmlText of fld 1 set the text of fld 2 to the clipBoardData you have to: set the htmltext of fld 2 to the clipBoardData Craig > On Nov 13, 2023,

What to set the clipboardData to for exchanging styled text with a 3rd party app

2023-11-13 Thread Paul Dupuis via use-livecode
Hivemind, Recommendation as to what is best to set the clipboardData property to, when you want to copy styled text from a field to the clipboard for exchange with a 3rd party (any 3rd party) application that supports some form of styled text, that can include text in multiple languages (i.e

Re: clipboardData on Mobile?

2021-01-28 Thread Trevor DeVore via use-livecode
t For Boring Code > > > Am 28.01.2021 um 09:32 schrieb matthias rebbe via use-livecode < > use-livecode@lists.runrev.com>: > > > > Hi Dan, > > > > The ClipboardData property is only supported on desktop operating > systems. > > > > If using nati

Re: clipboardData on Mobile?

2021-01-28 Thread Mark Smith via use-livecode
I could definitely use the same feature in my upcoming app. Does anyone know if a feature request has been logged? > On Jan 27, 2021, at 11:56 PM, Dan Friedman via use-livecode > wrote: > > Greetings! > > Is there a way to set the clipboardData a mobile device?

Re: clipboardData on Mobile?

2021-01-28 Thread matthias rebbe via use-livecode
1.2021 um 09:32 schrieb matthias rebbe via use-livecode > : > > Hi Dan, > > The ClipboardData property is only supported on desktop operating systems. > > If using native fields, then you could let the mobile os copy/paste the > clipboard data. > > But i am

Re: clipboardData on Mobile?

2021-01-28 Thread matthias rebbe via use-livecode
Hi Dan, The ClipboardData property is only supported on desktop operating systems. If using native fields, then you could let the mobile os copy/paste the clipboard data. But i am afraid using a LC to copy/paste to/from Clipboard on mobile is currently not possible. - Matthias Rebbe Life Is

clipboardData on Mobile?

2021-01-27 Thread Dan Friedman via use-livecode
Greetings! Is there a way to set the clipboardData a mobile device? (iOS and Android). Client want's a "copy" button so they can paste the text outside of the app (in Notes, or a external document). -Dan ___ use-livecode mailing li

Re: set the clipboarddata["image"] not compatible with Adobe Photoshop

2017-08-04 Thread Trevor DeVore via use-livecode
On Fri, Aug 4, 2017 at 4:41 AM Tiemo Hollmann TB via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Panos, > > you are right: > > MS Paint (old version): No > Adobe Photoshop: No > Adobe InDesign: No > MS Paint 3D (new Windows 10): Yes (this was my first test) > MS Word: Yes > MS Excel:

Re: set the clipboarddata["image"] not compatible with Adobe Photoshop

2017-08-04 Thread panagiotis merakos via use-livecode
; > > > -Ursprüngliche Nachricht- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im > Auftrag von panagiotis merakos via use-livecode > Gesendet: Freitag, 4. August 2017 12:19 > An: How to use LiveCode > Cc: panagiotis merakos > Betreff: Re: set the

AW: set the clipboarddata["image"] not compatible with Adobe Photoshop

2017-08-04 Thread Tiemo Hollmann TB via use-livecode
...@lists.runrev.com] Im Auftrag von panagiotis merakos via use-livecode Gesendet: Freitag, 4. August 2017 12:19 An: How to use LiveCode Cc: panagiotis merakos Betreff: Re: set the clipboarddata["image"] not compatible with Adobe Photoshop Thanks Tiemo. Could you please double-check if your original

Re: set the clipboarddata["image"] not compatible with Adobe Photoshop

2017-08-04 Thread panagiotis merakos via use-livecode
> von panagiotis merakos via use-livecode > Gesendet: Freitag, 4. August 2017 11:31 > An: How to use LiveCode > Cc: panagiotis merakos > Betreff: Re: set the clipboarddata["image"] not compatible with Adobe > Photoshop > > Hi Tiemo, > > What happens if you

AW: set the clipboarddata["image"] not compatible with Adobe Photoshop

2017-08-04 Thread Tiemo Hollmann TB via use-livecode
Betreff: Re: set the clipboarddata["image"] not compatible with Adobe Photoshop Hi Tiemo, What happens if you do: export snapshot from grp "ScreenShot" to tScreenshot as JPEG lock the clipboard set the fullclipboarddata["image"] to tScreenshot unlock the clipboard

Re: set the clipboarddata["image"] not compatible with Adobe Photoshop

2017-08-04 Thread panagiotis merakos via use-livecode
ecode < use-livecode@lists.runrev.com> wrote: > Hello, > > LC 8.1.5, Windows 10 > > export snapshot from grp "ScreenShot" to tScreenshot as JPEG > > set the clipboarddata["image"] to tScreenshot > > The following paste command works in most programs, like

set the clipboarddata["image"] not compatible with Adobe Photoshop

2017-08-04 Thread Tiemo Hollmann TB via use-livecode
Hello, LC 8.1.5, Windows 10 export snapshot from grp "ScreenShot" to tScreenshot as JPEG set the clipboarddata["image"] to tScreenshot The following paste command works in most programs, like MS Paint, MS Word, but not with Adobe Photoshop. Here the past menu is greyed o

clipboarddata mixed up

2017-07-04 Thread Matt Maier via use-livecode
es, if I open a document in open office I can past the picture But when I try to get the picture with clipboarddata["image"] it's empty in case (2). Additionally, I selected the image I pasted into the document in case (2) and hit ctrl+c to copy it to the clipboard, then pasted it into

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Stephen Barncard via use-livecode
And it was the discussions on this list that led me to update that "clipboard explorer" stack to use that newer property. I'm not sure if I built in backward compatibility to earlier versions than 7 or 8. On Thu, Feb 2, 2017 at 11:34 AM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Richard Gaskin via use-livecode
orums.livecode.com/viewtopic.php?f=7&t=28531&start=30#p150801> ...and included some queries about the differences between clipboardData and fullClipboardData. Mark, no need to reply: I always recommend to newcomers that they take a little time to explore new features to get a feel

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Richard Gaskin via use-livecode
Mark Waddingham wrote: > On 2017-02-02 01:46, Richard Gaskin via use-livecode wrote: >> What is the difference between "LiveCode HTML text" and "LiveCode >> HTML format"? > > Nothing - they are the same format in that context (the > clipboardData)

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Bob Sneidar via use-livecode
lly HTML - rtf: Only present if the data on the clipboard is actually RTF This is explained in more detail in the fullClipboardData entry. I'd generally recommend not using 'the clipboardData' for new apps, and using 'the fullClipboardData' instead. It allows you to put mu

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-02 Thread Mark Waddingham via use-livecode
On 2017-02-02 01:46, Richard Gaskin via use-livecode wrote: The Dictionary entry for clipboardData lists these among the array keys: - htmlText: LiveCode HTML text - html: styled text in LiveCode HTML format That dictionary entry could do with a little refinement :) What is the difference

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread Stephen Barncard via use-livecode
On Wed, Feb 1, 2017 at 7:33 PM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > Thanks. Interestingly, it shows a key for "html" but not "htmlText". > > Do you know what the difference between those keys is? > no. The key list is derived from the clipboard array. > >

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread J. Landman Gay via use-livecode
On 2/1/17 9:33 PM, Richard Gaskin via use-livecode wrote: Interestingly, it shows a key for "html" but not "htmlText". Do you know what the difference between those keys is? Is this just a bug in the Dictionary and there is no "htmlText", with the "html" key using LC's htmlText? They appear t

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread Richard Gaskin via use-livecode
Stephen Barncard wrote: > On Wed, Feb 1, 2017 at 4:46 PM, Richard Gaskin wrote: > >> The Dictionary entry for clipboardData lists these among the array >> keys: >> >> - htmlText: LiveCode HTML text >> - html: styled text in LiveCode HTML format >> >&g

Re: Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread Stephen Barncard via use-livecode
if you need it. http://media.barncard.com/downloads/clipboardTest.livecode On Wed, Feb 1, 2017 at 4:46 PM, Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > The Dictionary entry for clipboardData lists these among the array keys: > > - htmlText: Liv

Difference between "html" and "htmlText" in clipboardData?

2017-02-01 Thread Richard Gaskin via use-livecode
The Dictionary entry for clipboardData lists these among the array keys: - htmlText: LiveCode HTML text - html: styled text in LiveCode HTML format What is the difference between "LiveCode HTML text" and "LiveCode HTML format"? If there is no difference and they'r

Re: ClipboardData

2013-05-15 Thread J. Landman Gay
gt;> >> >> Run this, maybe in a button and with your text already in the >> clipBoardData: >> >> >> >> on mouseUp >> repeat with y = 1 to 20 --there surely must be a few "spaces" in >that >> many chars >> put char y of

Re: ClipboardData

2013-05-15 Thread Magicgate Software - Skip Kimpel
32 there... just the next character. > > SKIP > > > On Wed, May 15, 2013 at 8:58 AM, wrote: > >> Hi. >> >> >> Run this, maybe in a button and with your text already in the >> clipBoardData: >> >> >> >> on mouseUp >>

Re: ClipboardData

2013-05-15 Thread Magicgate Software - Skip Kimpel
Okay... ran that and no sign of ASCII 32 there... just the next character. SKIP On Wed, May 15, 2013 at 8:58 AM, wrote: > Hi. > > > Run this, maybe in a button and with your text already in the > clipBoardData: > > > > on mouseUp > repeat with y = 1 to 2

Re: ClipboardData

2013-05-15 Thread dunbarx
Hi. Run this, maybe in a button and with your text already in the clipBoardData: on mouseUp repeat with y = 1 to 20 --there surely must be a few "spaces" in that many chars put char y of the clipBoardData & ":" && charToNum(char y of the clipBoardData)

Re: ClipboardData

2013-05-15 Thread Magicgate Software - Skip Kimpel
> Can you find out what the 4th char in this string is? Is it a "t", or > ASCII 32? > > > Craig Newman > > > > -Original Message- > From: Magicgate Software - Skip Kimpel > To: How to use LiveCode > Sent: Tue, May 14, 2013 6:09 pm > Subject: R

Re: ClipboardData

2013-05-14 Thread dunbarx
te Software - Skip Kimpel To: How to use LiveCode Sent: Tue, May 14, 2013 6:09 pm Subject: Re: ClipboardData Phil, I tried your method and then took a look at _temp_ and the result was the same. Craig, If I paste my clipboard into Notepad or any other text based application, it translates ove

Re: ClipboardData

2013-05-14 Thread Magicgate Software - Skip Kimpel
iveCode > Sent: Tue, May 14, 2013 3:05 pm > Subject: ClipboardData > > > I have used clipboarddata for many project in the past. Today I was trying > to process a clipboard selection that came from a Word 2003 document and it > did not preserve any of the spaces. I have used th

Re: ClipboardData

2013-05-14 Thread Phil Davis
Hi Skip, If you're using LC 5.5 or better, have you considered processing the styledText of the field after the paste instead of the clipboardData before the paste? I found this makes it possible to do pretty much whatever you need to do. I recently created a field behavior script

Re: ClipboardData

2013-05-14 Thread dunbarx
pm Subject: ClipboardData I have used clipboarddata for many project in the past. Today I was trying to process a clipboard selection that came from a Word 2003 document and it did not preserve any of the spaces. I have used the format of "text", "html", "rtf".

ClipboardData

2013-05-14 Thread Magicgate Software - Skip Kimpel
I have used clipboarddata for many project in the past. Today I was trying to process a clipboard selection that came from a Word 2003 document and it did not preserve any of the spaces. I have used the format of "text", "html", "rtf". actually tried all the a