changing/customizing mouse cursor appearance

567 views
Skip to first unread message

Erin

unread,
May 18, 2011, 10:48:43 AM5/18/11
to E-Prime
Hi all,

I am trying to figure out how to change the appearance of the mouse
cursor in E-Prime. In the E-Basic help, the MouseDevice.Cursor topic
lists the standard cursors available in E-Prime (you can change the
cursor using inline "Mouse.Cursor = (1-13)"). However, the options are
quite limited.

I want to set my own image as the cursor (in my case, a small white
circle). Does anyone know of a way to set a small .bmp or .jpg file
to appear as the cursor? Thank you

Erin

Michiel Spape

unread,
May 18, 2011, 11:46:40 AM5/18/11
to e-p...@googlegroups.com
Hiya,
1) You might just be able to change your cursor settings in windows (download and find), I'd be surprised if E-Prime actually copied these.
2) You can hide the cursor and insert a BMP over it. For example, if you have a procedure:

1. Label1
2. Slide with bmp of your face, positioned at X: [Xpos], Y: [Ypos], duration 10 ms with vsync on.
3. Inline:
Dim x1 as integer, y1 as integer
Mouse.GetCursorPos x1, y1
c.SetAttrib "Xpos", x1
c.SetAttrib "Ypos", y1
goto Label1

Should work.
Best,
Mich

Michiel Spapé
Research Fellow
Perception & Action group
University of Nottingham
School of Psychology
www.cognitology.eu

Hi all,

Erin

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

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.

JACanterbury

unread,
Mar 10, 2014, 8:45:21 AM3/10/14
to e-p...@googlegroups.com
with Windows 7:-

  1. Control Panel
  2. Mouse
  3. Pointers tab
  4. choose one of the Windows default cursor images or click 'Browse' and navigate to your own .cur file

.cur files can be static or animated


you can make your own in MS Paint - set the image size to 32x32 - (set the zoom so you can see what you're doing) - create away and then do file save/as and set the file tag to be .cur (or .ani if making an animated cursor)

Reply all
Reply to author
Forward
0 new messages