Re: Problem with pasting from a Rev App to Pages..

2012-05-06 Thread Jan Schenkel
_ From: Charles Szasz To: "use-livecode@lists.runrev.com" Sent: Sunday, May 6, 2012 4:03 AM Subject: Re: Problem with pasting from a Rev App to Pages.. Bob, Thanks for your help! I did get it working using your suggestions below: set the textFont of character 1 to

Re: Problem with pasting from a Rev App to Pages..

2012-05-05 Thread Charles Szasz
Stephen, Thanks for this stack! I will look at it tomorrow. It may be helpful with trying to set the size of the font. I also tried the following to get the font size but it did not worked. set the textFont of character 1 to -1 of field "statement" to "Times New Roman,12" set the clipboardD

Re: Problem with pasting from a Rev App to Pages..

2012-05-05 Thread Charles Szasz
Bob, Thanks for your help! I did get it working using your suggestions below: set the textFont of character 1 to -1 of field "statement" to "Times New Roman" set the clipboardData["rtf"] to the rtfText of field "statement" I also tried the following to get the font size but it did not worked.

Re: Problem with pasting from a Rev App to Pages..

2012-05-05 Thread stephen barncard
1. Continuing the discussion about the clipboard, I am offering to this thread a test stack I created to satisfy my curiosity about the clipboard contents array. This stack can be used to examine the copied data from any application. It can examine without pasting if one uses the 'show keys' button

Re: Problem with pasting from a Rev App to Pages..

2012-05-03 Thread Peter M. Brigham, MD
There used to be a clipboard utility for the Mac (somewhere back in the 10.5 days or thereabouts) that would allow you to manipulate the contents of the clip after copying, with a huge variety of options: text functions like changing case, font, size, unwrapping "hard" lines, etc., and IIRC also

Re: Problem with pasting from a Rev App to Pages..

2012-05-03 Thread Bob Sneidar
I don't think you can set the font and size of the clipboarddata directly. Have you tried changing the font and size of the field itself before copying? Another thing you can try is pasting into Textedit and see if the font and size are preserved. It may be that Pages is having it's paragraph st

Re: Problem with pasting from a Rev App to Pages..

2012-05-02 Thread Charles Szasz
Hi Bob, Believe it or not I have tried reversing scripts already but I always get the same font in Pages: Lucida Grande. I would appreciate any other suggestions that may have. Charles Szasz csz...@mac.com ___ use-livecode mailing list use-liveco

Re: Problem with pasting from a Rev App to Pages..

2012-05-02 Thread Bob Sneidar
Don't you want to do that in the reverse order? You are setting the clipboard to the rtftext of the field, but what you do to the field after that is irrelevant to the clipboard. Bob On May 2, 2012, at 3:23 PM, Charles Szasz wrote: > Mark, > > I tried your suggestion: > > set the clipboard

Re: Problem with pasting from a Rev App to Pages..

2012-05-02 Thread Charles Szasz
Mark, I tried your suggestion: set the clipboardData["rtf"] to the rtfText of field "statement" set the textFont of character 1 to -1 of field "statement" to "Times New Roman" As soon as I click on the button that had the script above the textfont in the field "statement" changed to the fon

Re: Problem with pasting from a Rev App to Pages..

2012-04-21 Thread Charles Szasz
Mark, No, I did not see your comment. I will try your suggestion. Thanks! 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://li

Re: Problem with pasting from a Rev App to Pages..

2012-04-21 Thread Charles Szasz
Jacque, I have not tried using the following by itself. I will try it tomorrow. set the clipboardData["rtf"] to the rtfText of field "statements" Sent from my iPad ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to su

Re: Problem with pasting from a Rev App to Pages..

2012-04-21 Thread Mark Schonewille
Hi Charles, Did you see my reply to your previous e-mail? Try setting the font of the text to one different from the font of the field. E.g. set the font of the field to Arial and the font of char 1 to -1 of the field to Time New Roman. Use set the clipboardData["rtf"] to the rtfText of field

Re: Problem with pasting from a Rev App to Pages..

2012-04-21 Thread J. Landman Gay
On 4/20/12 10:27 PM, Charles Szasz wrote: set the clipboardData["rtf"] to the rtfText of field "statements" copy character 1 to -1 of field "statements" Despite setting the font in the text field as Palatino I keep getting Times New Roman when it is pasted into the Pages document! How can I c

Problem with pasting from a Rev App to Pages..

2012-04-20 Thread Charles Szasz
I am working on an app that the user keeps open on the desktop that can take text and place it on the clipboard and paste into a word processor's document. I set up an option menu in my app that allows the user to set the font property in a text field. I have another button that allow the user