recording mouse movements

David McFarlane mcfarla9 at msu.edu
Thu Jun 10 21:50:09 UTC 2010


Oh, I should mention that PST has an example TrackMouseCoordinates 
program on their web site that you may find useful to look at.  (And 
then I must warn you, as I did in another post today, that in general 
PST programmers are pretty sloppy, so do not take their example 
programs as models of proper programming practice.  Instead, take 
them only as rough examples of particular features and then abstract 
the useful parts and recode it properly for yourself.)

-- David McFarlane, Professional Faultfinder


At 6/10/2010 04:41 PM Thursday, you wrote:
>Great ideas! Thank you for your help!
>
>
>
>On Thu, Jun 10, 2010 at 10:11 PM, David McFarlane 
><<mailto:mcfarla9 at msu.edu>mcfarla9 at msu.edu> wrote:
>Once you get the mouse coordinates (following Ben's sage advice) you 
>will want to save them somewhere.  You can store them directly in 
>the .edat file using some combination of c.SetAttrib and c.Log (see 
>the Context topic in the online E-Basic Help), or to any text file 
>of your choosing using something like Print# (again, see the E-Basic Help).
>
>Finally,  don't overlook PST Web Support at 
><http://support.pstnet.com/e%2Dprime/support/login.asp>http://support.pstnet.com/e%2Dprime/support/login.asp 
>, they like to help out with this sort of thing.
>
>-- David McFarlane, Professional Faultfinder
>
>
>
>At 6/10/2010 11:41 AM Thursday, you wrote:
>i think the syntax is Mouse.GetCursorPos (search for that in the 
>Help file), and you could GetCursorPos every x number of 
>milliseconds using a loop in an Inline, depending on the temporal 
>resolution you desire.  that would be one, obvious way, though there 
>may be better ways...
>
>On Thu, Jun 10, 2010 at 10:09 AM, Ashtyster 
><<mailto:ashtyster at gmail.com><mailto:ashtyster at gmail.com>ashtyster at gmail.com> 
>wrote:
>For one of my studies, I would like to record mouse movements (I'm
>using a touch pad, but it doesn't make a difference here) over a
>certain period of time. No clicks, just the movements. I was wondering
>whether it's possible to do it with E-Prime, and if yes - then how?
>
>I will appreciate any help and advice regarding this issue.

-- 
You received this message because you are subscribed to the Google Groups "E-Prime" group.
To post to this group, send email to e-prime at googlegroups.com.
To unsubscribe from this group, send email to e-prime+unsubscribe at googlegroups.com.
For more options, visit this group at http://groups.google.com/group/e-prime?hl=en.



More information about the Eprime mailing list