Hi Charles,
Your examples are about pasting;
> Both Apple's Pages and Microsoft’s Word software have key commands for
> pasting text into an existing document to match the current formatting (font).
But, your question is about copying;
> How do you script to accomplish this when copying text t
Hi Charles,
Is this what you’re looking for?:
put the clipboardData["html"] into tStoredData
put the fullClipboardData["text"] into tData
set the clipboardData to tData
paste
set the clipboardData["html"] to tStoredData
Peter Bogdanoff
> On May 28, 2020, at 7:04 AM, Charles Szasz via use-livec
Both Apple's Pages and Microsoft’s Word software have key commands for pasting
text into an existing document to match the current formatting (font). How do
you script to accomplish this when copying text to the clipboard in a button so
the user does not have to use keyboard commands?
Sent from
Oh right got it backwards.
Bob S
> On Oct 24, 2016, at 18:41 , hh wrote:
>
> @Bob.
> After your answer I read Charles' question again. Probably he asks
> for the other way: how to match the styled text of the 'paste-target'
> *in LC*?
>
> @Charles. If this is correct, then you could try to i
@Stephen.
This is really a great stack. TMHO, it should become a 'standard'
plugin for LC 8/9 (the 'old' clipboardData-version for LC 6/7).
In the meantime, please upload it to "Sample Stacks" (livecodeshare)?
> Stephen B. wrote:
> I've updated my clipboard data exploring stack to include RAW cli
I've updated my clipboard data exploring stack to include RAW clipboard
data.
There's suddenly a lot of data in the clip. A good test is a Pages, Web
or Word document text copied..
version 8 (legacy!) version
go URL "http://fulton.barncard.com/stax/clipboardTest(8).livecode"
version 9
go URL
@Bob.
After your answer I read Charles' question again. Probably he asks
for the other way: how to match the styled text of the 'paste-target'
*in LC*?
@Charles. If this is correct, then you could try to insert the
clipboardData["text"] or use menu Edit > Paste Unformatted.
This has no style and t
I believe there is the clipboardData ["html"] and clipboardData ["rtf"].
Bob S
> On Oct 24, 2016, at 12:29 , Charles Szasz wrote:
>
> I having been trying to implement Paste and Match Style found on Pages app
> and also on Word, which is called Paste Special, where the text contents of
> th
I having been trying to implement Paste and Match Style found on Pages app and
also on Word, which is called Paste Special, where the text contents of the
clipboard are pasted into a document that matches the existing font and font
style in the document.
I searched the Rev and LC archives and
As far as I can tell there is no way to access the clipboard on mobile?
Using clipboardData on iOS throws an error on mobile and the dictionary
says both clipboardData and fullClipboardData are not available on mobile?
On 18 November 2015 at 13:26, Geoff Canyon wrote:
> I'm using 6.7.3, so the f
I'm using 6.7.3, so the fundamental component works:
put clipboardData["text"] into the selectedchunk
On Wed, Nov 18, 2015 at 7:43 AM, Peter M. Brigham wrote:
> I don't know, does it? I'm a relative troglodyte, as I work in 5.5 mostly,
> but I don't see why it wouldn't work in later versions. W
I don't know, does it? I'm a relative troglodyte, as I work in 5.5 mostly, but
I don't see why it wouldn't work in later versions. With the newer additions to
the language there are probably other ways to accomplish the task.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~p
But I am using LC 6.1.3.
Sent from my iPad
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode
Peter,
Does this script work with LC 6.1.3?
Sent from my iPad
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription
preferences:
http://lists.runrev.com/mailman/listinf
To expand on this, below are the handlers I have in my LC frontscript, so I can
paste and match style anywhere in LC.
-- Peter
Peter M. Brigham
pmb...@gmail.com
http://home.comcast.net/~pmbrig
--
on commandKeyDown pKey
-- to paste plain text
--(matching the formatting of the
Please look also in the dictionary of newest LC 8:
fullClipboardData and rawClipboardData
greatly enhanced the clipboard access.
___
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your
I think this works:
put clipboardData["text"] into the selectedchunk
There may be failure modes I'm unaware of.
On Mon, Nov 16, 2015 at 11:25 PM, Charles Szasz wrote:
> I having been trying to implement Paste and Match Style found on Pages app
> and also on Word, which is called Paste Speci
I having been trying to implement Paste and Match Style found on Pages app and
also on Word, which is called Paste Special, where the text contents of the
clipboard are pasted into a document that matches the existing font and font
style in the document.
I searched the Rev and LC archives and
18 matches
Mail list logo