making the Windows mouse cursor temporarily dissappear?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
magnumpy
Posts: 1
Joined: 09 Dec 2011 18:02

making the Windows mouse cursor temporarily dissappear?

#1 Post by magnumpy » 26 Dec 2011 18:31

Hello, I have a question for the resident batch gurus. I'm not even sure if this is an appropriate forum, but I'm sure like many of you I have fond memories of writing little batch programs "back in the day" so I figured this would be a good place to start :wink:

My problem involves running the Nvidia Nalu demo as a screen saver. This is my setup:

I'm using the Screen Launcher "screensaver" which is just a utility to run programs other than .scr files as a screensaver, and it launches run.bat which is:

Code: Select all

@echo off
c:
cd\
cd Program Files (x86)
cd NVIDIA Corporation
cd NVidia Demos
cd Nalu
cd bin6600
mermaid.exe
exit


I then 0'd out the menu graphics (in the Nalu demo) which has gotten me this far:

Image

well as you can see I have an ugly mouse cursor smack in the middle of the screen. sorry for the long exposition, but here finally is my question. is there any way, either through the batch program or an external application, to disable displaying the mouse cursor while the "screensaver" is running?

Thank you for your time.

orange_batch
Expert
Posts: 442
Joined: 01 Aug 2010 17:13
Location: Canadian Pacific
Contact:

Re: making the Windows mouse cursor temporarily dissappear?

#2 Post by orange_batch » 26 Dec 2011 19:23

I would think the software would do it automatically.

Batch cannot hide a mouse cursor directly. As a work-around, you might try writing a script which modifies the file that binds that mouse state to that cursor icon, and changing it to something blank (same as using the control panel utility would). Then have it revert when the demo is closed.

yelodena
Posts: 1
Joined: 31 Jan 2012 23:41

Re: making the Windows mouse cursor temporarily dissappear?

#3 Post by yelodena » 02 Feb 2012 01:00

[by Ed Dyreen 31 Oct 2012] adds removed, banned yelodena bot

How to stop the cursor from going back to another word? I have a Gateway laptop computer running Windows Vista and when I am typing the cursor jumps back to the other word that I already typed. Does anyone know how to fix it? I went to the Gateway forum and Windows Vista forum but there wasn't any help to fix it.
________________________________
[url=removed[/url]
Last edited by yelodena on 05 Feb 2012 23:43, edited 1 time in total.

Squashman
Expert
Posts: 4484
Joined: 23 Dec 2011 13:59

Re: making the Windows mouse cursor temporarily dissappear?

#4 Post by Squashman » 02 Feb 2012 06:49

Hi yelodena,
This is a Windows batch file specific website. We really don't deal with the issue you are having.

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

Re: making the Windows mouse cursor temporarily dissappear?

#5 Post by Ed Dyreen » 02 Feb 2012 08:26

'
I try to hide mouse but I fail, so I cheat and move it off screen :mrgreen:

Code: Select all

rundll32.exe user32.dll,SetCursorPos
This will help

Code: Select all

http://www.ericphelps.com/batch/rundll/
http://www.ureader.com/msg/14841452.aspx
http://www.autoitscript.com/forum/topic/26438-hideshow-mouse/
http://vlaurie.com/computers2/Articles/control.htm
As orange wrote, you can bind to control panel, I forgot how :(

Code: Select all

start main.cpl @0
Google a little, the answer is NOT far away, and if you have it working, please report back, I'd like to know :!:

Ed Dyreen
Expert
Posts: 1569
Joined: 16 May 2011 08:21
Location: Flanders(Belgium)
Contact:

Re: making the Windows mouse cursor temporarily dissappear?

#6 Post by Ed Dyreen » 02 Feb 2012 09:03

'
Damn, I responded to an old thread :evil: @yelodena, stop confusing people

Post Reply