Detect scroll activity (when LC is not frontmost)

Mike Bonner bonnmike at
Sat Dec 24 12:24:06 EST 2016

While digging around for answers I came across something interesting..

>From windows vista and onward there is a program quser.exe located in
\windows\system32 that returns the current user state. From the command
line it shows
mike                  console             1  Active      none   12/16/2016
5:56 PM

I was going to test and see if it would show idle after a period of
inactivity (using a looping lc shell call) but heres the interesting
thing..  Lc can't see it.  At all.  Trying a shell call returns " is not
recognized as an internal or external command, operable program, or batch

I can change to the directory in shell and "dir" and there it is.  I can
run it from shell.

If I do a shell call shell("dir quser.exe") on that directory it says
"Directory of c:\windows\system" file not found.
If I get the files, it isn't there.

So my question is this.. What the heck is going on?  Its not a hidden or
system file, as far as I can tell its just a file sitting there like
normal.  Why can't lc see it?  (why can't the LC shell see it for that

On Sat, Dec 24, 2016 at 9:49 AM, Richmond Mathewson <
richmondmathewson at> wrote:

> Sorry: late to the party!
> A rawKeyDown message IS recieved even IF the mouse is NOT in the LiveCode
> window, BUT
> the LiveCode window MUST be the front window.
> A rawKeyDown message won't be recieved IF the mouse is NOT in the LiveCode
> windows if
> it comes from a mouse button, scrollwheel or track ball.
> The micro trackball on the top of my Macintosh mouse sends these
> rawKeydowns:
> Left: 65310 . . . . . . Left Arrow Key: 65361
> Right: 65311 . . . . . . Right Arrow Key: 65363
> Forward: 65308 . . . . . . Up Arrow Key: 65362
> Back: 65309 . . . . . .Down Arrow Key 65364
> Richmond.
> _______________________________________________
> use-livecode mailing list
> use-livecode at
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:

More information about the Use-livecode mailing list