Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: setting / clearing system cursor from a command line  (Read 1718 times)

0 Members and 1 Guest are viewing this topic.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
setting / clearing system cursor from a command line
« on: September 29, 2005, 06:35:29 am »
Anyone know of a utility that will clear and reset the system cursors from a command line?


youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: setting / clearing system cursor from a command line
« Reply #1 on: September 29, 2005, 07:42:24 am »
What you mean by "system cursor"? 

Under dos , linux or windows?


Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: setting / clearing system cursor from a command line
« Reply #2 on: September 29, 2005, 11:31:06 am »
I'm sure he means in Windows...

I don't know of an app that does it but it should be pretty simple to make one - let me know if you get stuck, I have all the code to do it in Mamewah anyway.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: setting / clearing system cursor from a command line
« Reply #3 on: September 29, 2005, 02:34:51 pm »
Yeah windows.

My frontend is written in java (which doesn't have access to the system cursors).  And when I plug a new joystick in windows takes over for a sec, pops up the cursor, and java doesn't realize its there until you move it (at which point it disappears)

its not a big deal, but with hotswap control panels and swapping kinda often, it just a little annoying.

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: setting / clearing system cursor from a command line
« Reply #4 on: September 29, 2005, 04:48:00 pm »
Try this...rename to .zip, and unzip to a folder of your choice.

Run 'cursorhider.exe' -cc to create cursorhider.ini which holds the name of your cursor scheme
Run 'cursorhider.exe' to hide the cursor
Run 'cursorhider.exe -r' to reset the cursor back to the scheme set in cursorhider.ini

I've only tested it in XP but it should in theory work for all Windows versions.

Lilwolf

  • Trade Count: (+1)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4945
  • Last login:July 31, 2022, 10:26:34 pm
Re: setting / clearing system cursor from a command line
« Reply #5 on: October 01, 2005, 11:43:00 pm »
Cool and thanks!

btw, I clicked it before doing the .ini from a command line.. (duh).  But it did something weird.  made my monitor hum and got bits of a cursor here / there when moving...

took a few minutes to find the dos icon on the screen!

Thanks again!

Minwah

  • Trade Count: (+3)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 7662
  • Last login:January 18, 2019, 05:03:20 am
    • MAMEWAH
Re: setting / clearing system cursor from a command line
« Reply #6 on: October 03, 2005, 07:39:34 am »
btw, I clicked it before doing the .ini from a command line.. (duh).  But it did something weird.  made my monitor hum and got bits of a cursor here / there when moving...

That's odd it should just hide the cursor as normal.  Oh well hope it is some use other than that!