Re: Another server question (mixing node.js and LC)

2018-02-28 Thread Jonathan Lynch via use-livecode
In reading about fastCGI and LC, it seems rather experimental. I am just wondering if replacing Apache with node.js as the http server would give us the necessary concurrency capacity for using LC server on a large scale. Basically, I am soon going to start pitching augmented tours (idea

Re: Another server question (mixing node.js and LC)

2018-02-28 Thread Mike Bonner via use-livecode
One thing you might do if you were to decide to stick with apache would be to make sure you use either the worker mpm or events mpm (sounds like events would be the one you wanted for this) (read more on this page... https://httpd.apache.org/docs/2.4/misc/perf-tuning.html ) to get better

Re: Another server question (mixing node.js and LC)

2018-02-28 Thread Jonathan Lynch via use-livecode
I think you might be right, Mike. I have been reading about benchmark tests between node, Apache, and ningx. Node does not seem to live up to the hype at all. Sent from my iPhone > On Feb 28, 2018, at 2:27 PM, Mike Bonner via use-livecode > wrote: > > One

building deb packages

2018-02-28 Thread Mike Bonner via use-livecode
I decided to see how hard it was to turn LC into a deb package. So far it hasn't been too difficult, the only thing I need to find again is how to have the icon auto update during the install. (as it is, to see the lc icon one must log out and in for it to show up, otherwise its the generic icon

Re: Internet checking?

2018-02-28 Thread Bob Sneidar via use-livecode
Here is a script I use. A lot of this stuff won't make sense because it is part of my interface with sqlYoga, but the core is a repeat loop where I open a socket to the server, then check if the socket is among the lines of the openSockets. If it is I exit the repeat loop and close the socket,

Internet checking?

2018-02-28 Thread Graham Samuel via use-livecode
I know this is a golden oldie, but I can’t find a reference… I have a script that wants to check a file on a server, and basically to do nothing if the program is offline. Remind me, is there an easy way to tell from within an LC standalone if the internet is not accessible? I don’t want my

"Open in New Navigator" is back

2018-02-28 Thread Geoff Canyon via use-livecode
Thanks to Mark Talluto for pointing out the issues with it. It does what it says on the tin: right-click on any set of groups, cards, or stacks, select Open in New Navigator and each one opens in a new copy of Navigator. gc ___ use-livecode mailing

Re: building deb packages

2018-02-28 Thread Mark Wieder via use-livecode
On 02/28/2018 11:37 AM, Mike Bonner via use-livecode wrote: I decided to see how hard it was to turn LC into a deb package. So far it hasn't been too difficult, the only thing I need to find again is how to have the icon auto update during the install. (as it is, to see the lc icon one must log

Re: building deb packages

2018-02-28 Thread Mike Bonner via use-livecode
Thanks for testing! Tickled that it actually worked. As far as installing for individual use, I haven't stumbled on a way to do that, so i'm not sure if its possible either. Thanks for the reminder about the link. It does work easier by changing the dl=0 to a 1, so here's the alternate link. (I

Re: Internet checking?

2018-02-28 Thread J. Landman Gay via use-livecode
On 2/28/18 5:20 PM, Graham Samuel via use-livecode wrote: I know this is a golden oldie, but I can’t find a reference… I have a script that wants to check a file on a server, and basically to do nothing if the program is offline. Remind me, is there an easy way to tell from within an LC

AW: IDE Cursor icon often hangs on windows

2018-02-28 Thread Tiemo Hollmann TB via use-livecode
Ok, I found a small recipe for one of these situations and file a QR: http://quality.livecode.com/show_bug.cgi?id=21021 There are other situations and other cursors, but this is one of them Tiemo -Ursprüngliche Nachricht- Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com]

Re: Background color in an 'answer' dialog?

2018-02-28 Thread dunbarx via use-livecode
This is a great example of the maxim "Everything in LC is simply a stack" Craig Newman -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please

Re: Background color in an 'answer' dialog?

2018-02-28 Thread dunbarx via use-livecode
As a follow-up, is there anywhere a list of all IDE stacks? For example, the stack named "answer dialog", though perfectly logical, is not listed anywhere, and the names of some stacks, like the script editor, have changed over the several LC versions. It is a great way to get oneself in real

Re: Background color in an 'answer' dialog?

2018-02-28 Thread panagiotis merakos via use-livecode
Hi Craig, You can "force" all the (open) IDE stacks to appear in the Project Browser: in the menubar: "View" -> "Show IDE stacks in Lists" Another way is to type in the msg box: put the name of the mousestack but do NOT press Enter yet. Then place the cursor over the stack whose name you

Re: [OT] Haiku OS

2018-02-28 Thread Roger Eller via use-livecode
AROS however is quite good, and has some 2018 activity. http://aros.sourceforge.net/ http://aros.sourceforge.net/pictures/screenshots/ ~Roger On Wed, Feb 28, 2018 at 9:52 AM, Rick Harrison via use-livecode < use-livecode@lists.runrev.com> wrote: > Hi Richmond, > > Current Official Version

Re: [OT] Haiku OS

2018-02-28 Thread Rick Harrison via use-livecode
Hi Richmond, Current Official Version Information Version: R1/Alpha 4.1 Release date: November 14th, 2012 Computer platform: x86-32 Something that hasn’t seen an update since 2012 probably isn’t getting much traction at all. I hope you find this information somewhat helpful. Rick > On Feb

Re: [OT] Haiku OS

2018-02-28 Thread William de Smet via use-livecode
This is probably more interesting: https://www.omgubuntu.co.uk/2018/02/google-enable-linux-apps-chrome-os-recent-code-commits-suggest greetings, William 2018-02-28 15:52 GMT+01:00 Rick Harrison via use-livecode < use-livecode@lists.runrev.com>: > Hi Richmond, > > Current Official Version

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Devin Asay via use-livecode
Graham, I think what is happening is that when you run in the IDE the parent stack of the answer dialog stack is the LiveCode engine, which sets a platform-appropriate background color (or no background color) for all child stacks. When you include it in a standalone, your

Re: IDE Cursor icon often hangs on windows

2018-02-28 Thread Richard Gaskin via use-livecode
Tiemo Hollmann wrote: > On Windows, since LC 8 the icon of the cursor often "hangs", it just > keeps the icon from the last action and doesn't changes back to the > standard pointer icon when moving around the screen, so that I often > have to select any action with the "resize cursor" - just an

Re: [OT] Haiku OS

2018-02-28 Thread Richard Gaskin via use-livecode
Richmond Mathewson wrote: > https://www.haiku-os.org/ > > Does anyone know if Haiku OS; > > 1. Shows any sign whatsoever of gaining any traction? Slim to none. Microsoft owns the desktop, Linux is the de-facto standard beyond the desktop, Apple owns the high-end of the market. I see little

Size of screen diagonal?

2018-02-28 Thread Peter Reid via use-livecode
I'm developing a desktop app for Mac & PC that displays photos of coins. I'd like to display them at real size but I can't find the properties for the current screen (i.e. the one that my app is running on. I can get the screen colour depth, resolution, scaling factor, etc. but not the

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Richard Gaskin via use-livecode
dunbarx wrote: > As a follow-up, is there anywhere a list of all IDE stacks? For > example, the stack named "answer dialog", though perfectly logical, > is not listed anywhere, and the names of some stacks, like the script > editor, have changed over the several LC versions. For stacks in

Re: Background color in an 'answer' dialog?

2018-02-28 Thread dunbarx via use-livecode
Panos. Ah, of course. Thanks. I see one can get into real trouble. Craig -- Sent from: http://runtime-revolution.278305.n4.nabble.com/Revolution-User-f278306.html ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Graham Samuel via use-livecode
Craig, you make an excellent point. We now know there is a stack named “answer dialog” and that it has properties you can set. Surely the documentation should explain this somewhere? By the way, when I said my red background had disappeared, it hadn’t. It’s just that when you I through the

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Graham Samuel via use-livecode
Should have said “when I run through the script in the IDE…”. Sorry = Craig, you make an excellent point. We now know there is a stack named “answer dialog” and that it has properties you can set. Surely the documentation should explain this somewhere? By the way, when I said my red

Re: Navigator Update

2018-02-28 Thread Bob Sneidar via use-livecode
I just installed this and it looks to be really handy! Do you have a Paypal presence? Bob S > On Feb 27, 2018, at 16:27 , Geoff Canyon via use-livecode > wrote: > > Fixed. It's up on GitHub and at the download.

Re: Size of screen diagonal?

2018-02-28 Thread Richard Gaskin via use-livecode
Peter Reid wrote: > I'm developing a desktop app for Mac & PC that displays photos of > coins. I'd like to display them at real size but I can't find the > properties for the current screen (i.e. the one that my app is running > on. I can get the screen colour depth, resolution, scaling factor,

Re: send "keyUp" / "rawKeyUp" ?

2018-02-28 Thread hh via use-livecode
If I understand correctly what you have in mind then you could try the following. Clicking the button will place one copy of numToCodepoint(M) into both fld 1 and fld 2. Type into the fields as usual, especially you can delete. Typing outside the fields ("blind") will put one copy of space into

Re: send "keyUp" / "rawKeyUp" ?

2018-02-28 Thread Richmond Mathewson via use-livecode
Well . . . That puts "q" into both fields with a US English keyboard layout . . . & ит АЛСО (whoops) it ALSO puts "q" into both fields with a Bulgarian keyboard layout. So "NBG" I'm afraid. Thanks for the suggestion :-) Richmond. P.S. Had to change 'N' to 'M'. On 28/2/2018 11:19 am, hh

IDE Cursor icon often hangs on windows

2018-02-28 Thread Tiemo Hollmann TB via use-livecode
Hello, On Windows, since LC 8 the icon of the cursor often "hangs", it just keeps the icon from the last action and doesn't changes back to the standard pointer icon when moving around the screen, so that I often have to select any action with the "resize cursor" - just an example. It's not

Re: send "keyUp" / "rawKeyUp" ?

2018-02-28 Thread Richmond Mathewson via use-livecode
No, I don't: (Handler: can't find handler) near "rawKeyDown", char 1 Richmond. On 27/2/2018 11:16 pm, Bob Sneidar via use-livecode wrote: Do you mean: send "rawKeyDown" WITH 113? Bob S On Feb 25, 2018, at 02:09 , Richmond Mathewson via use-livecode wrote:

Background color in an 'answer' dialog?

2018-02-28 Thread Graham Samuel via use-livecode
I have created hundreds of LC ‘answer’ commands in my time, and as far as I can remember they all had white backgrounds. Recently I accidentally created one with a lovely red background, showing up in standalones on both Mac High Sierra and Windows 7. Well, it would be lovely if i wanted it

Re: Background color in an 'answer' dialog?

2018-02-28 Thread panagiotis merakos via use-livecode
Hi Graham, You can set this by script, something like: set the backcolor of stack "answer dialog" to red;answer "Hello" Best, Panos -- On Wed, Feb 28, 2018 at 11:38 AM, Graham Samuel via use-livecode < use-livecode@lists.runrev.com> wrote: > I have created hundreds of LC ‘answer’

Re: Size of screen diagonal?

2018-02-28 Thread Mark Talluto via use-livecode
On Feb 28, 2018, at 7:51 AM, Peter Reid via use-livecode wrote: > > I'm developing a desktop app for Mac & PC that displays photos of coins. I'd > like to display them at real size but I can't find the properties for the > current screen (i.e. the one that my

Re: Another server question (mixing node.js and LC)

2018-02-28 Thread Richard Gaskin via use-livecode
jonathandlynch wrote: > I have another server question. I really like scripting with LC, > because I can make improvements very quickly. This is important > because of my very limited free time. > > But, I want to be able to handle many many concurrent server requests, > the way node.js does.

Re: Size of screen diagonal?

2018-02-28 Thread Richmond Mathewson via use-livecode
I'm not really sure how you would go about this. For instance: I have a 2006 iMac that uses both its in-built monitor and another second one. System Info tells me that my in-built display is 20.1 inches, but nothing about my other one beyond the fact that it is a VGA display. However, my

Re: IDE Cursor icon often hangs on windows

2018-02-28 Thread Mark Wieder via use-livecode
On 02/28/2018 07:24 AM, Richard Gaskin via use-livecode wrote: If you do file a bug report please post the URL here.  I've seen this with v9 under Ubuntu, but haven't reported it yet as it's intermittent and I haven't yet found a recipe. Same here. I see this all the time. It's annoying and

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Brian Milby via use-livecode
Richard, That is super helpful. I’ve had Devolution loaded for a while but was using PB to get to IDE scripts. This will be so much better/faster. Thanks, Brian On Wed, Feb 28, 2018 at 9:56 AM Richard Gaskin via use-livecode < use-livecode@lists.runrev.com> wrote: > > For super-quick access to

Another server question (mixing node.js and LC)

2018-02-28 Thread Jonathan Lynch via use-livecode
Hello, I have another server question. I really like scripting with LC, because I can make improvements very quickly. This is important because of my very limited free time. But, I want to be able to handle many many concurrent server requests, the way node.js does. Would it work to have

Re: send "keyUp" / "rawKeyUp" ?

2018-02-28 Thread hh via use-livecode
Read again. Got it now. What you effectively want is the (current) foreign keyMapping. This is done by the OS, not gettable by LiveCode AFAIK. Apple even doesn't has a file to check, Linux and Win have. Look what they do: https://wiki.archlinux.org/index.php/Keyboard_configuration_in_console

Re: You should avoid using "Open in New Navigator" in Navigator

2018-02-28 Thread Mark Talluto via use-livecode
On Feb 27, 2018, at 9:14 PM, Geoff Canyon via use-livecode wrote: > > I've updated GitHub and the download to remove it for now. Under some > circumstances (that I can't replicate just yet) "Open in New Navigator" can > fail in a way that seems to mess with the

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Graham Samuel via use-livecode
Thanks Devin, that’s a great explanation - my program, which is just a one stack-one card helper app, did start off with a red background. Later I changed the card background (remember, there’s only one card) but forgot about the stack background since it didn’t show. So there you have it. We

Re: You should avoid using "Open in New Navigator" in Navigator

2018-02-28 Thread Geoff Canyon via use-livecode
I downloaded LC 9. I wasn't able to replicate the spurious/borked dialogs, but I was able to get the command to fail. I fixed a few things, and tweaked a few things. I am unable to make this update fail. Please have a look at this and see if it still fails in your environment. You can get it at

Re: IDE Cursor icon often hangs on windows

2018-02-28 Thread J. Landman Gay via use-livecode
This has been happening for years, it just may be more frequent now. I've had a handler in my private backscript for probably 10 years that does "unlock cursor" when I type "uc" in the message box. There's no consistent recipe. My best guess is that it happens when the cursor is moving so fast

Re: Navigator Update

2018-02-28 Thread Geoff Canyon via use-livecode
My wife does: poetical...@mac.com. I'm glad it's useful to you! gc On Wed, Feb 28, 2018 at 8:01 AM, Bob Sneidar via use-livecode < use-livecode@lists.runrev.com> wrote: > I just installed this and it looks to be really handy! Do you have a > Paypal presence? > > Bob S > > > > > On Feb 27, 2018,

Re: Another server question (mixing node.js and LC)

2018-02-28 Thread Jonathan Lynch via use-livecode
Thank you, Richard A given transaction involves processing a user request, making two or three requests to the database, and returning around 500 kB to the user. I certainly don’t need to load fonts in the LC process. Can that be turned off? I like the idea of maintaining a queue of running LC

Re: Background color in an 'answer' dialog?

2018-02-28 Thread Devin Asay via use-livecode
> On Feb 28, 2018, at 10:02 AM, Graham Samuel via use-livecode > wrote: > While I’m on to explanations, in all my years of using LC and its > predecessors, I have never understood what the right hand column in the > ‘colors’ tab of the object inspector is for.

CameraControl gives wrong rect and rotated preview on iPad

2018-02-28 Thread William de Smet via use-livecode
Hi there, What's wrong with cameraControl on iPad? In the IDE everything works fine: cameracontrol is shown on the given rect. On iPad the rect is much smaller and the preview is rotated. In the standalone iPad settings 'Landscape Left' and 'landscape Rght' are activated. Is this a bug? I am on

[OT] Haiku OS

2018-02-28 Thread Richmond Mathewson via use-livecode
https://www.haiku-os.org/ Does anyone know if Haiku OS; 1. Shows any sign whatsoever of gaining any traction? 2. Is there any point of attempting to compile LiveCode for Haiku OS (beyond a spare time project)? Richmond. ___ use-livecode mailing

IDE Cursor icon often hangs on windows

2018-02-28 Thread R.H. via use-livecode
I have this same problem of hanging cursor on Windows in the Script Editor. Clicking outside of the SE changes the cursor to normal behavior. But it is a bit annoying, yes. A bug report would be nice. Roland ___ use-livecode mailing list