Re: clipboard issue in Windows?

2011-11-30 Thread Peter M. Brigham, MD
Just noticed: there is missing piece in my controlkeydown handler -- if you try to just paste it into your frontscript and run it, it will halt on the last line below. It calls a function q(), which you also need: function q str return quote and str and quote end q Sorry. Another piece of my

Re: clipboard issue in Windows?

2011-11-30 Thread J. Landman Gay
On 11/30/11 5:47 PM, Peter M. Brigham, MD wrote: BTW, Jacque's shortcuts for the script editor (I'm pretty sure it was you, Jacque -- if not, then someone take credit!) include not just scriptPaint but a several other nifty tricks, ie, putting quotes or parens or brackets around a selection. I'v

Re: clipboard issue in Windows?

2011-11-30 Thread Peter M. Brigham, MD
I have the following in my frontscript, loaded at LC startup: private command doUndoSpace -- this solves the problem that after the certain operations -- the script editor remains unaware that the script has changed, -- so an will close but not save the changed script -- thus we have to *

RE: clipboard issue in Windows?

2011-11-30 Thread Ralph DiMola
1 Cell: 518-796-9332 -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Mike Bonner Sent: Wednesday, November 30, 2011 2:21 PM To: How to use LiveCode Subject: Re: clipboard issue in Windows? This is why I only use ctr

Re: clipboard issue in Windows?

2011-11-30 Thread Mike Bonner
This is why I only use ctrl-c ctrl-v. It seems that shift-insert doesn't necessarily set the dirty bit in the script editor so I have caught myself pasting, hit enter to compile, since it doesn't think theres a change.. poof editor closes, no compile and changes lost. ctrl-v works fine though so i'

RE: clipboard issue in Windows?

2011-11-30 Thread Ralph DiMola
x:11 Cell: 518-796-9332 -Original Message- From: use-livecode-boun...@lists.runrev.com [mailto:use-livecode-boun...@lists.runrev.com] On Behalf Of Warren Samples Sent: Wednesday, November 30, 2011 1:47 PM To: How to use LiveCode Subject: Re: clipboard issue in Windows? On 11/30/2011 11:35 AM,

Re: clipboard issue in Windows?

2011-11-30 Thread Mike Bonner
I found this page http://milianw.de/code-snippets/access-klipper-clipboard-on-cli-under-kde4 If you scroll down in the comments it has this line. echo "foobar" | ./clipboard -- would add "foobar" to the clipboard I 'think' you can do this as a shell call to add stuff to the klipper clipboard. At

Re: clipboard issue in Windows?

2011-11-30 Thread Warren Samples
On 11/30/2011 11:35 AM, J. Landman Gay wrote: On 11/30/11 1:00 AM, Pete wrote: I can see where the confusion comes from on this. The dictionary claims you can copy a chunk of a control to the clipboard, even has an example - copy word -3 to -1 of field "Help". I was wrong, the dictionary is

Re: clipboard issue in Windows?

2011-11-30 Thread Pete
Thanks for confirming that Jacque. SO I guess now we're left wondering what the original problem was. On Wed, Nov 30, 2011 at 9:35 AM, J. Landman Gay wrote: > On 11/30/11 1:00 AM, Pete wrote: > >> I can see where the confusion comes from on this. The dictionary claims >> you can copy a chunk of

Re: clipboard issue in Windows?

2011-11-30 Thread J. Landman Gay
On 11/30/11 1:00 AM, Pete wrote: I can see where the confusion comes from on this. The dictionary claims you can copy a chunk of a control to the clipboard, even has an example - copy word -3 to -1 of field "Help". I was wrong, the dictionary is right. Either I was relying on old info, or el

Re: clipboard issue in Windows?

2011-11-30 Thread Mike Kerner
Thanks Bob and Jacque - I think I'm going to submit a comment in the documentation for future reference... On Wed, Nov 30, 2011 at 06:40, Mike Bonner wrote: > copy char 1 to -1 of field "fieldname" -- works fine for me, win 7. > > Set up a stack with 2 fields, 2 buttons, one copies the other pas

Re: clipboard issue in Windows?

2011-11-30 Thread Mike Bonner
copy char 1 to -1 of field "fieldname" -- works fine for me, win 7. Set up a stack with 2 fields, 2 buttons, one copies the other pastes. http://dl.dropbox.com/u/11957935/copyPaste.livecode When you say it doesn't seem to do anything, what do you mean? If you have an insertion point, and paste no

Re: clipboard issue in Windows?

2011-11-29 Thread Pete
I can see where the confusion comes from on this. The dictionary claims you can copy a chunk of a control to the clipboard, even has an example - copy word -3 to -1 of field "Help". Maybe it used to work as documented in the dictionary and somehow got changed over the years? On Tue, Nov 29, 201

Re: clipboard issue in Windows?

2011-11-29 Thread J. Landman Gay
On 11/29/11 5:43 PM, Mike Kerner wrote: copy char 1 to -1 of field "total" -- doesn't seem to do anything. If you do it that way, you need to select the text first, just as if you were doing it manually: select char 1 to -1 of fld "total" copy But as was already mentioned, setting the c

Re: clipboard issue in Windows?

2011-11-29 Thread Bob Sneidar
use set the clipboardData instead Bob On Nov 29, 2011, at 3:43 PM, Mike Kerner wrote: > Win 7, > LC 5.0.2 dp1 > So I have a field "total", and I want to copy the contents (a number) to > the clipboard for inclusion in a spreadsheet - but it doesn't seem to > happen. > > copy char 1 to -1 of fi

clipboard issue in Windows?

2011-11-29 Thread Mike Kerner
Win 7, LC 5.0.2 dp1 So I have a field "total", and I want to copy the contents (a number) to the clipboard for inclusion in a spreadsheet - but it doesn't seem to happen. copy char 1 to -1 of field "total" -- doesn't seem to do anything. -- On the first day, God created the heavens and the Earth