AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

nomousy - Disable/Hide your mouse pointer [CMD]
Goto page 1, 2, 3, 4, 5, 6  Next
 
Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources
View previous topic :: View next topic  
Author Message
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Mon Feb 07, 2005 8:14 am    Post subject: nomousy - Disable/Hide your mouse pointer [CMD] Reply with quote

Quote:
nomousy.exe - A small utility designed to hide and/or restrict mouse cursor movement.

- version 1.5 beta


Options: (all options are NOT case sensitive)

Hide the mouse cursor:
/hide
/h
-hide
-h
hide
h


Restrict the mouse to its' current location:
/freeze
/f
-freeze
-f
freeze
f


Cursor hiding options:
Hide all:
/all
-all
all


Selective hiding:
These following options (with - sign) should not have any spaces between them but may be in any order

UPARROW: -up
ARROW: -ar
IBEAM: -ib
CROSS: -cr
SIZENWSE: -nwse
SIZENESW: -nesw
SIZEWE: -we
SIZENS: -ns
WAIT: -wa
APPSTARTING: -as
ICON: -ic
HAND: -ha
SIZE: -si
SIZEALL: -sa
NO: -no

Restore mouse cursor:
To restore the cursor run nomousy.exe again (with or without options)


Examples:

- hide cursor but allow movement:
nomousy.exe /hide

- hide only ARROW and IBEAM and allow movement:
nomousy.exe -ar-ib

- restrict movement only
nomousy.exe -f

- hide cursor and restrict movement
nomousy.exe /f -h

- restrict movement and hide IBEAM only
nomousy.exe -freeze -ib

- restore cursor
nomousy.exe



Download

Website




Last edited by corrupt on Sun Feb 13, 2005 10:18 am; edited 4 times in total
Back to top
View user's profile Send private message Visit poster's website
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Mon Feb 07, 2005 8:20 am    Post subject: Reply with quote

This utility is a work in progress. Any feedback, bug reports, etc... welcome Smile...
Back to top
View user's profile Send private message Visit poster's website
BoBo
Guest





PostPosted: Mon Feb 07, 2005 10:21 am    Post subject: Mousy - En-/Disable/Hide your mouse pointer [CMD] Reply with quote

@ corrupt
I've no doubt that it will make it to become one of my favourites (if it'll be freeware Wink )

Back to the track:

1) as the h param is used to trigger the mouse hiding, I'd recommend to use ?; /?; -help; --help if you think about to provide a standard command line syntax help Very Happy

2) Maybe you can edit the threads topic to this: Mousy - En-/Disable/Hide your mouse pointer [CMD]. This way it'll follow a kinda AHK-Utilitiy-Section-Standard. Thx for listening.

Great work. Waiting for your next strike Wink
Back to top
BoBo
Guest





PostPosted: Mon Feb 07, 2005 12:18 pm    Post subject: Reply with quote

How to close nomousy.exe itself
Shocked
????

Nomousy.exe /hide ; hide mouse pointer
Nomousy.exe ; restore mouse pointer
Nomousy.exe /e ; exit/kill the nomousy process/task

e;/e;/exit,-e;-exit
Back to top
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Mon Feb 07, 2005 1:51 pm    Post subject: Reply with quote

BoBo wrote:
How to close nomousy.exe itself
Shocked
????

Nomousy.exe /hide ; hide mouse pointer
Nomousy.exe ; restore mouse pointer
Nomousy.exe /e ; exit/kill the nomousy process/task

e;/e;/exit,-e;-exit

Quote:
Restore mouse cursor:
To restore the cursor run nomousy.exe again (with or without options)
Back to top
View user's profile Send private message Visit poster's website
BoBo
Guest





PostPosted: Mon Feb 07, 2005 3:33 pm    Post subject: Reply with quote

Once you've started nomousy, its an existing/running task which you can identify in the Taskmanager. Regardless that you've restored/switched on the mouse again - the previous Nomousy instance/session/task still exists.

So the question isn't about the mouse pointer.
It's about Nomousy itself.

Hope that clarifies it.

?
Back to top
jonny



Joined: 13 Nov 2004
Posts: 2951
Location: Minnesota

PostPosted: Mon Feb 07, 2005 3:50 pm    Post subject: Reply with quote

Hmm. I've tested it further, and other people who use CursorXP might like to know this:

  • This program does not hide CursorXP cursors.
  • It does hide the system .ani's that CursorXP is on top of, so you can use the global hotkey Ctrl + Shift + C to disable it.
  • When CursorXP is running, nomousy.exe is unable to restore the system .ani's automatically after hiding them unless you restore them manually in the "Mouse pointer" control panel. Thus, after running nomousy once with a hide parameter, Ctrl + Shift + C becomes your hide/restore hotkey.
  • Freezing still works fine.
Back to top
View user's profile Send private message
BoBo
Guest





PostPosted: Mon Feb 07, 2005 4:25 pm    Post subject: Reply with quote

Hm, looks like I've to appologize. Embarassed
Once Nomousy has been executed without any param, it dissappears from the tasklist. That's it. Very Happy

Quote:
corrupt Posted: Feb 6 2005, 11:52 AM
Administrator

Group: Admin
Posts: 4
Member No.: 1
Joined: 6-August 04

Hi Bobo .

Yes, nomousy.exe is freeware and welcome.

That info has been taken from [here]


Thx corrupt. Will provide an AHK-Nomousy-SnapOn in the script section till COB. Very Happy
Back to top
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Tue Feb 08, 2005 12:31 am    Post subject: Reply with quote

jonny wrote:
Hmm. I've tested it further, and other people who use CursorXP might like to know this:

  • This program does not hide CursorXP cursors.
  • It does hide the system .ani's that CursorXP is on top of, so you can use the global hotkey Ctrl + Shift + C to disable it.
  • When CursorXP is running, nomousy.exe is unable to restore the system .ani's automatically after hiding them unless you restore them manually in the "Mouse pointer" control panel. Thus, after running nomousy once with a hide parameter, Ctrl + Shift + C becomes your hide/restore hotkey.
  • Freezing still works fine.

I should have a fix for restoring animated cursors soon... The current issue with animated cursors not being restored is not limited to CursorXP Sad but I'll have a look at CursorXP a bit later and do a bit of testing.
Back to top
View user's profile Send private message Visit poster's website
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Tue Feb 08, 2005 12:36 am    Post subject: Reply with quote

BoBo wrote:
Once Nomousy has been executed without any param, it dissappears from the tasklist. That's it. Very Happy

Thanks for the feedback BoBo Smile . Adding additional params resulted in many structural changes. If you discover that nomousy does not terminate for you when run a second time (with or without params) in some instances please let me know.
Back to top
View user's profile Send private message Visit poster's website
jonny



Joined: 13 Nov 2004
Posts: 2951
Location: Minnesota

PostPosted: Tue Feb 08, 2005 2:10 am    Post subject: Reply with quote

Quote:
I should have a fix for restoring animated cursors soon... The current issue with animated cursors not being restored is not limited to CursorXP Sad but I'll have a look at CursorXP a bit later and do a bit of testing.


Neither the CursorXP cursors nor the system .ani's were animated... well, except for the busy icon on the CursorXP theme. That was it, though. But I meant that all system icons, no matter the scheme, are permanently hidden until manually restored.
Back to top
View user's profile Send private message
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Tue Feb 08, 2005 3:36 am    Post subject: Reply with quote

jonny wrote:
Neither the CursorXP cursors nor the system .ani's were animated... well, except for the busy icon on the CursorXP theme. That was it, though. But I meant that all system icons, no matter the scheme, are permanently hidden until manually restored.

Thanks for clarifying jonny Smile . A few things might be causing this effect. I'll have to do some testing with CursorXP.
Back to top
View user's profile Send private message Visit poster's website
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Sun Feb 13, 2005 8:42 am    Post subject: Reply with quote

Version 1.5 beta now available (Download)

- Added support for animated cursors


Later: CursorXP testing... I may be wrong... but it looks like CursorXP may be setting the system cursors to a custom transparent cursor then displaying its own instead using a different method. Currently, nomousy copies the current cursors, sets the cursors to a custom transparent cursor, then restores them using the original values found. If CursorXP is using a transparent cursor also then nomousy ends up copying and restoring the transparent cursor leaving the system with transparent cursors... If this is the case then CursorXP's functionality will need to be disabled before activating nomousy then re-enabled after restoring settings using nomousy.

PS - CursorXP required a manual uninstall on my system Sad (not related to nomousy).
Back to top
View user's profile Send private message Visit poster's website
jonny



Joined: 13 Nov 2004
Posts: 2951
Location: Minnesota

PostPosted: Sun Feb 13, 2005 5:42 pm    Post subject: Reply with quote

Well, not that hard then, I guess. I haven't tried yet, but it should be as simple as sending a Ctrl+Shift+C with AHK and then sleeping for a second or so. Thanks for testing.
Back to top
View user's profile Send private message
corrupt



Joined: 29 Dec 2004
Posts: 2485

PostPosted: Sun Feb 13, 2005 7:18 pm    Post subject: Reply with quote

jonny wrote:
Well, not that hard then, I guess. I haven't tried yet, but it should be as simple as sending a Ctrl+Shift+C with AHK and then sleeping for a second or so. Thanks for testing.

No problem Smile. A few more notes about CursorXP... If the CursorXP.exe process is closed using Task Manager the system cursors may appear back to normal but do not always restore properly (even if CursorXP is uninstalled). Enabling/disabling CursorXP and manually restoring system icons (a few times until the right combo is found) may be necessary to allow nomousy to hide the cursor again Confused . Once I was able to disable CursorXP and get nomousy to hide icons again I uninstalled CursorXP only to find a message saying that the registry entries had been deleted but that I had to manually remove the directory and any shortcuts created by the installer Evil or Very Mad .
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Utilities & Resources All times are GMT
Goto page 1, 2, 3, 4, 5, 6  Next
Page 1 of 6

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group