AutoHotkey Community

It is currently May 25th, 2012, 10:15 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 76 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next
Author Message
PostPosted: February 7th, 2005, 9:14 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
Quote:
Image 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 February 13th, 2005, 11:18 am, edited 4 times in total.

Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2005, 9:20 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
This utility is a work in progress. Any feedback, bug reports, etc... welcome :)...


Report this post
Top
 Profile  
Reply with quote  
PostPosted: February 7th, 2005, 11:21 am 
@ 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 :D

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:


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2005, 1:18 pm 
How to close nomousy.exe itself
:shock:
????

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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2005, 2:51 pm 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
BoBo wrote:
How to close nomousy.exe itself
:shock:
????

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)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2005, 4:33 pm 
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.

?


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2005, 4:50 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 7th, 2005, 5:25 pm 
Hm, looks like I've to appologize. :oops:
Once Nomousy has been executed without any param, it dissappears from the tasklist. That's it. :D

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. :D


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: February 8th, 2005, 1:31 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
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 :( but I'll have a look at CursorXP a bit later and do a bit of testing.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 8th, 2005, 1:36 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
BoBo wrote:
Once Nomousy has been executed without any param, it dissappears from the tasklist. That's it. :D

Thanks for the feedback BoBo :) . 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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 8th, 2005, 3:10 am 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 8th, 2005, 4:36 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
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 :) . A few things might be causing this effect. I'll have to do some testing with CursorXP.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2005, 9:42 am 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
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 :( (not related to nomousy).


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2005, 6:42 pm 
Offline

Joined: November 13th, 2004, 4:08 am
Posts: 2951
Location: Minnesota
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: February 13th, 2005, 8:18 pm 
Offline
User avatar

Joined: December 29th, 2004, 1:28 pm
Posts: 2541
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 :). 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 :? . 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: .


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 76 posts ]  Go to page 1, 2, 3, 4, 5, 6  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group