seeking way to capture cursor position at millisecond intervals

35 views
Skip to first unread message

Ed Jahn

unread,
Mar 14, 2010, 2:12:40 PM3/14/10
to OpenQM
For a really geeky project, I want to capture the x, y, t coordinates
of the mouse cursor location at millisecond intervals. I see that I
can get the milliseconds from SYSTEM(9), but I'm not clear how to get
the mouse position.

Is this possible in QMBasic?

Will AccuTerm do it?

Just another strange request,
Ed Jahn
happily retired hobbyist

CDMI - Steve T

unread,
Mar 14, 2010, 2:26:06 PM3/14/10
to ope...@googlegroups.com
refer to:

http://www.asent.com/downloads/at2k2pg53.pdf

look in the area of  ' AccuTerm Programming'
there is actually very little AccuTerm can NOT do
where it's running a Windows app, accepting mouse input, browsing to a URL, displaying images, programming in GUI
it's pretty much all there

also check out:

http://www.asent.com/manuals.html

lots of examples, help, tutorial videos, etc


Thanks AccuTerm for being a part of the QM community
the commercial QM includes a AccuTerm license
 
Steve Trimble
Computerized Data Mgmt Inc
PO Box 13403
Maumelle, AR 72113
(501) 803-0974 09:00am - 6:00pm CST
 
Home of self defense products: http://www.protecturself.com



From: Ed Jahn <ejah...@yahoo.com>
To: OpenQM <ope...@googlegroups.com>
Sent: Sun, March 14, 2010 1:12:40 PM
Subject: seeking way to capture cursor position at millisecond intervals
--
You received this message because you are subscribed to the Google Groups "OpenQM" group.
To post to this group, send an email to ope...@googlegroups.com.
To unsubscribe from this group, send email to openqm+unsub...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openqm?hl=en-GB.

FFT...@aol.com

unread,
Mar 14, 2010, 8:51:43 PM3/14/10
to ope...@googlegroups.com
You forgot that Accuterm can also launch Windows applications, and these launching scripts can be activated from inside a Pick BASIC program running on the host system.
 
So from Pick BASIC I can say... oh look we have an MP3 file here, I'll go ahead and launch your MP3 player and feed it this file location... and it works.  To the end user it's close to magic.
 
Will Johnson
 
 
 
To unsubscribe from this group, send email to openqm+un...@googlegroups.com.

Martin Phillips

unread,
Mar 15, 2010, 4:12:43 AM3/15/10
to ope...@googlegroups.com
Hi Ed,

> For a really geeky project, I want to capture the x, y, t coordinates
> of the mouse cursor location at millisecond intervals.

QM itself has no knowledge of the cursor position, therefore, any mechanism
to determine where it is must be handled within AccuTerm. I believe that
there is a control code to ask where the cursor is and receive this back as
an input data burst but I can imagine that the whole process may take more
than 1mS to complete.

What is moving the cursor? I would have thought that the easiest solution is
to track its position within your application.


Martin Phillips
Ladybridge Systems Ltd
17b Coldstream Lane, Hardingstone, Northampton, NN4 6DB
+44-(0)1604-709200

Reply all
Reply to author
Forward
0 new messages