Re: copy-paste not working in a standalone

2012-07-15 Thread Paul Hibbert
André, Pete, This script just works with the currently selected text and will work in a stack without a menu, it's not perfect, but could be a useful starting point, I think it should work OK with a DG too. Paul ## Paste into the Main Stack script on commandKeyDown pKey switch pKey

Re: copy-paste not working in a standalone

2012-07-15 Thread André Bisseret
Le 14 juil. 2012 à 21:23, J. Landman Gay a écrit : On 7/14/12 10:13 AM, André Bisseret wrote: Le 14 juil. 2012 à 15:13, Björnke von Gierke a écrit : I think that copy pasted used to be part of the standard library. This is a stack that The RunRev IDE always attaches to your standalones.

Re: copy-paste not working in a standalone

2012-07-15 Thread André Bisseret
Nice ! Thank you very much Paul I was looking for a way to make a menu that could be common to several hundred of stacks (mains stacks!!) Don't know if it is possible. Fortunately, in my app. these stacks have no scripts at all ; more precisely all the scripts are in behaviors (one for the

Re: copy-paste not working in a standalone

2012-07-15 Thread Peter M. Brigham
On Jul 15, 2012, at 2:42 AM, Paul Hibbert wrote: ## Paste into the Main Stack script on commandKeyDown pKey switch pKey case c if the selection is not empty then set the clipboardData[text] to the selection break case x if the selection

Re: copy-paste not working in a standalone

2012-07-15 Thread Paul Hibbert
Peter, I think technically you are right, but both versions work for me! (LC 5.5.1). Not too sure why I came up with that version though, it was quite a while ago now. Paul On 2012-07-15, at 5:15 AM, Peter M. Brigham wrote: if the clipboardData[text] is not empty then put the

Re: copy-paste not working in a standalone

2012-07-15 Thread J. Landman Gay
On 7/15/12 2:09 AM, André Bisseret wrote: With the current standalone I am using, I have no menu and copy-paste by the command keys is working well. But yesss! I like your simple solution! It was only a skeleton outline though. The suggestions to test for the clipboard content are good, so

Re: copy-paste not working in a standalone

2012-07-14 Thread André Bisseret
I don't think my problem with copy-paste come from the stack I am saving as a standalone ; there is only a few lines in it (to get it slowly disappearing and opening my main stack ; that works well for years now. I will contact runrev Best regards André Le 14 juil. 2012 à 00:40, Bob Sneidar

Re: copy-paste not working in a standalone

2012-07-14 Thread Björnke von Gierke
I think that copy pasted used to be part of the standard library. This is a stack that The RunRev IDE always attaches to your standalones. However, in a version (4.5 or 5.1 or so) all copy paste stuff got removed from there. Or it was an engine feature, that they removed. Either way, it's gone,

Re: copy-paste not working in a standalone

2012-07-14 Thread André Bisseret
Le 14 juil. 2012 à 15:13, Björnke von Gierke a écrit : I think that copy pasted used to be part of the standard library. This is a stack that The RunRev IDE always attaches to your standalones. However, in a version (4.5 or 5.1 or so) all copy paste stuff got removed from there. Or it was

Re: copy-paste not working in a standalone

2012-07-14 Thread J. Landman Gay
On 7/14/12 10:13 AM, André Bisseret wrote: Le 14 juil. 2012 à 15:13, Björnke von Gierke a écrit : I think that copy pasted used to be part of the standard library. This is a stack that The RunRev IDE always attaches to your standalones. However, in a version (4.5 or 5.1 or so) all copy paste

Re: copy-paste not working in a standalone

2012-07-14 Thread Peter Haworth
Hi Jacque, I'm not 100% sure but I don't think he has a menu script right now. Your handler works fine of course. However, when I tried that simplistic approach in my SQLiteAdmin program, it was politely pointed out to me by a customer that the availability of cut/copy/paste/clear commands

copy-paste not working in a standalone

2012-07-13 Thread André Bisseret
Bonjour, I did not get any answer to this post so I am trying again ;-) Mac 10.6.8 ; Livecode 5.0.2 I have a standalone for an app. which is running well since january 2011. Particularly, it allows copy-paste with command + C and command + V in any stack of the app. A couple of days ago, I

Re: copy-paste not working in a standalone

2012-07-13 Thread Bob Sneidar
Haven't a clue. Bob On Jul 12, 2012, at 11:48 PM, André Bisseret wrote: Bonjour, I did not get any answer to this post so I am trying again ;-) Mac 10.6.8 ; Livecode 5.0.2 I have a standalone for an app. which is running well since january 2011. Particularly, it allows

Re: copy-paste not working in a standalone

2012-07-13 Thread André Bisseret
Bob, thanks for your attention. André Le 13 juil. 2012 à 17:51, Bob Sneidar a écrit : Haven't a clue. Bob On Jul 12, 2012, at 11:48 PM, André Bisseret wrote: Bonjour, I did not get any answer to this post so I am trying again ;-) Mac 10.6.8 ; Livecode 5.0.2 I have a

Re: copy-paste not working in a standalone

2012-07-13 Thread Mark Wieder
André- Thursday, July 12, 2012, 11:48:34 PM, you wrote: But then, copy-paste does not work any more!(In fact, seems that it is only copy (with command +C) that does not work Command-C rarely works for me, in the IDE or out, on any platform. This got much worse with LC 5. I use the menu to

Re: copy-paste not working in a standalone

2012-07-13 Thread Bob Sneidar
The problem is we don't have a copy of your standalone and it wouldn't help anyway because we cannot debug a standalone. I take you to mean that copy-paste works fine in the IDE, but not in the standalone? I do recall that Mark Weider has a standalone debug solution in the GLX2 download. That

Re: copy-paste not working in a standalone

2012-07-13 Thread André Bisseret
Thank you Bob and Mark for your answers Le 13 juil. 2012 à 18:17, Bob Sneidar a écrit : The problem is we don't have a copy of your standalone and it wouldn't help anyway because we cannot debug a standalone. I take you to mean that copy-paste works fine in the IDE, but not in the

Re: copy-paste not working in a standalone

2012-07-13 Thread Peter Haworth
Hi Andre, Have you coded your own Edit menu items for cut/copy/paste? I could be wrong but I think these commands all work in the IDE because the IDE has handlers to implement them. But when you make a standalone, the IDE's handlers for them aren't there any longer and you have to create your

Re: copy-paste not working in a standalone

2012-07-13 Thread André Bisseret
Bonjour Peter Thanks for your reply Le 13 juil. 2012 à 20:25, Peter Haworth a écrit : Hi Andre, Have you coded your own Edit menu items for cut/copy/paste? No yet but I am going to go this way if I don't succeed in building a standalone allowing copy-paste by mean of command C V. I could

Re: copy-paste not working in a standalone

2012-07-13 Thread Mark Wieder
Bob- Friday, July 13, 2012, 9:17:10 AM, you wrote: wouldn't help anyway because we cannot debug a standalone. Except with PowerDebug, of course. g. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list

Re: copy-paste not working in a standalone

2012-07-13 Thread Bob Sneidar
Oh sorry I for some reason thought that the Standalone Debug came with GLX2 but of course not. It's a part of PowerDebug. Bob On Jul 13, 2012, at 1:59 PM, Mark Wieder wrote: Bob- Friday, July 13, 2012, 9:17:10 AM, you wrote: wouldn't help anyway because we cannot debug a standalone.

copy-paste not working in a standalone

2012-07-10 Thread André Bisseret
Bonjour, Mac 10.6.8 ; Livecode 5.0.2 I have a standalone for an app. since 2011 with which all is OK. Particularly, it allows copy-paste with command + C and command + V in any stack of the app. Several times this morning, I tried building a new standalone for the same app. But now, copy-paste