Re: Capture Keystrokes & MouseMovements without being in focus?

2018-07-05 Thread Tom Glod via use-livecode
Hi Mike, actually the main problem I was facing is getting a hotkey press detected when another stack is in focus I think this function will allow me to do that. The keystroke counter was something i wanted to do but can live without. Thanks, I will try this tomorrow ...i don't see why it

Re: Capture Keystrokes & MouseMovements without being in focus?

2018-07-05 Thread Mike Bonner via use-livecode
The only way I know of is to start a relatively fast send loop and check the keysdown(). For some things it works fine but for most other things its not a good answer since you can see if a key is down, but not how long its down, or tell if it has been pressed, then pressed again before the next

Capture Keystrokes & MouseMovements without being in focus?

2018-07-05 Thread Tom Glod via use-livecode
Hi folks, Is it possible to still trigger the rawKey message or the mousemove message? when the LC stack is not in focus? I know can can sort of create my own mousemove message by tracking the absolute (or is it relative) location of the mouse but the rawkey up message seems like a no go for

Re: Mastering TS Net

2018-07-05 Thread Sannyasin Brahmanathaswami via use-livecode
With TSGetNet, is it possible to just get the "status code" ("200" is good, "404" it bad, among other things) Of a file on a webserver, *before* you download it? If it is a 404 you "bail on the operation", in form the user "Not Found" but if it is 200, continue to stream it? Brahmanathaswami

Re: Future support for Serial Coms

2018-07-05 Thread General 2018 via use-livecode
Just to add , LC works with Bluetooth on Windows using the Bluetooth SPP (Serial Port Profile). Bluetooth was originally designed to replace wired serial coms. So on LC Windows just treats it as a serial comport - wired or not ! Regards Camm > On 5 Jul 2018, at 16:00, General 2018 via

Re: Future support for Serial Coms

2018-07-05 Thread General 2018 via use-livecode
Douglas , Serial over Bluetooth on all Windows with LC - Yes , but as you say it is seen as a Com port. I have a Bluetooth device that needs serial commands - Windows sees this as a Bluetooth device (in the loaded driver VCP should be ticked) I then pair it and use LC with the standard com

Re: Script Only Stack Behaviors and Nesting

2018-07-05 Thread Bob Sneidar via use-livecode
Not misquoted, but misunderstood. > On Jul 2, 2018, at 12:33 , J. Landman Gay via use-livecode > wrote: > > Actually, do you mean you want to set the script locals for the behavior > object itself? You can do that, but it will only apply to that particular > control. The magic word is "this

Re: Future support for Serial Coms

2018-07-05 Thread Douglas Ruisaard via use-livecode
Cam .. you mention that you have Windows working with LC "over USB and *Bluetooth*" ...??? Really? Can you describe more details about using Bluetooth / Windows / LC? As far as I know, the ONLY implementation for Bluetooth from LC is Monte Goulding's "mergBLE" which exclusively runs on iOS.