| View previous topic :: View next topic |
| Author |
Message |
SKAN
Joined: 26 Dec 2005 Posts: 5895
|
Posted: Mon Apr 10, 2006 8:18 pm Post subject: Crazy Scripting : Cursor Navigator 1.05 [ by Andreone ] |
|
|
| Quote: |
About Cursor Navigator:
This Script navigates the Mouse Cursor in a special way. For example,
If you move the Mouse Cursor off the right boundary of the desktop, it will
appear on the left side, eliminating the need to drag it all the way across your
desktop. It works the same way on every side of the screen.
- The navigation of cursor (to opposite side) can be slowed down by configuring the
Wait (in Milliseconds) for each Desktop Boundary through the Option available in
"Tray Menu".
- Double-Clicking on the "Tray Icon" toggles the Script`s status between Pause/Run.
- This Script requires two icons which will be automatically downloaded!
Credits / Reference:
This script was requested by Rene aka Midiworks
@ Ask for Help topic: Mouse wrap , anybody made something similar ?
a Snapshot of Options GUI :
Download the Script : CursorNavigator.ahk (Version 1.04)
View the Code : CursorNavigator.ahk.txt
Click here for Version 1.05 by Andreone
Comments / Suggestions are welcome...
|
| Quote: | Updates:
- 1.05 by Andreone
- the script can be included into an other one
- multi-monitor support
- mostly based on functions now
- remove "restore default settings"
- ini file created only when settings are changed
- use expressions when possible to reduce code size
- can use any ini file (default is CursorNavigator.ini) with a [CursorNavigator] section
- 1.04 Cursor Navigation is disabled when "Left Mouse Button" is held down.
This will work work only with Windows NT, Windows 2000 & Windows XP. For Win9x/Me"Shift key" to be used.
- 1.03 Cursor Navigation is disabled when the "Shift key" is held down
- 1.02 Fixed an erratic movement of Cursor. If a boundary is hit accidentally and though moved away from it, the script was relocating the Cursor (after the "wait period"), which is now fixed.
- 1.01 Range for Wait (in Milliseconds) is 10 to 2000. Setting it to maximum, i.e 2001 will disable Cursor navigation for that side of the desktop. Compatibility problem with the Icons now solved.
|
Last edited by SKAN on Mon Jun 16, 2008 1:54 pm; edited 9 times in total |
|
| Back to top |
|
 |
garath
Joined: 24 Mar 2005 Posts: 372 Location: germany
|
Posted: Mon Apr 10, 2006 8:45 pm Post subject: |
|
|
If you move the cursor slowly to the left side, it will jump back each time instead of being moved to the other side.
You can have a look at my part of the code to see, how to prevent this.
http://www.autohotkey.com/forum/viewtopic.php?t=9181&start=15
The gui is awsome, and the code well structured, grats!
Not like mine  |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5895
|
Posted: Mon Apr 10, 2006 9:23 pm Post subject: |
|
|
Dear garath,
Oh yes! It does jump . Will look into it. Thanks for pointing it..
| You wrote: | | The gui is awsome, and the code well structured, grats! |
Thank you.
Regards,
PS: I wonder why Rene has not replied! _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
Laughing Man
Joined: 29 Apr 2005 Posts: 84 Location: Maryland
|
Posted: Mon Apr 10, 2006 10:26 pm Post subject: |
|
|
Woah..very nice. I can forsee my use of it going up and up. _________________ "I thought what I'd do was I'd pretend I was one of those deaf-mutes" ~ Laughing Man - GITS:SAC |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Apr 11, 2006 3:13 pm Post subject: |
|
|
| garath wrote: | If you move the cursor slowly to the left side, it will jump back each time instead of being moved to the other side.
( |
This did happen to my computer.
Goyyah: I don't want my left side of screen has this function, how can I inactivate only the left side for good? |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5895
|
Posted: Tue Apr 11, 2006 6:27 pm Post subject: |
|
|
| Anonymous wrote: | | Goyyah: I don't want my left side of screen has this function, how can I inactivate only the left side for good? |
The code has been updated. Please download again.
As seen in the snaphot,
enable wait for Left ... &
move it to 2001 ... &
Apply it .. Done!
Regards,
PS:
The wait limit range is 10-2000 now.
2001 will disable Cursor Navigation for that side of Desktop
Last edited by SKAN on Mon Jun 16, 2008 1:55 pm; edited 1 time in total |
|
| Back to top |
|
 |
garath
Joined: 24 Mar 2005 Posts: 372 Location: germany
|
Posted: Tue Apr 11, 2006 7:34 pm Post subject: |
|
|
Hmm, still hopping at upper and left corner, if you move slowly.
You now have to check the box, to do not move over the border, shouldn' t it be unchecked? |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5895
|
Posted: Tue Apr 11, 2006 7:49 pm Post subject: |
|
|
Dear garath,
| You wrote: | | Hmm, still hopping at upper and left corner, if you move slowly. |
Yes ... I know its still hopping! I am just taking a break.. This script has already delayed me in posting a more important script.. ( I've been working for a month on it )
| You wrote: | | You now have to check the box, to do not move over the border, shouldn' t it be unchecked? |
I see it this way: Above 2000, it "Waits" eternally .
Regards,  _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
Guest
|
Posted: Tue Apr 11, 2006 7:55 pm Post subject: |
|
|
Dear Goyyah:
Thanks for the update. But I found something else is not working well. I set the right side waiting time to be 1024 (just want to let it longer), then the weird thing happened. If I put my cursor to the right side border then draw it away, when the time comes, it will be moved to the left side, as I never moved my cursor in the right side border. |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5895
|
Posted: Tue Apr 11, 2006 8:53 pm Post subject: |
|
|
| Anonymous wrote: | Dear Goyyah:
Thanks for the update. But I found something else is not working well. I set the right side waiting time to be 1024 (just want to let it longer), then the weird thing happened. If I put my cursor to the right side border then draw it away, when the time comes, it will be moved to the left side, as I never moved my cursor in the right side border. |
Horrible coding! . Please test it again.
1.02 Fixed an erratic movement of Cursor. If a boundary is hit accidentally and though moved away from it, the script was relocating the Cursor (after the "wait period"), which is now fixed.
Regards,  _________________ SKAN - Suresh Kumar A N
Last edited by SKAN on Wed Apr 12, 2006 9:13 am; edited 1 time in total |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5895
|
Posted: Wed Apr 12, 2006 6:30 am Post subject: |
|
|
1.03 : Cursor Navigation is disabled when the "Shift key" is held down _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
atery
Joined: 30 Mar 2006 Posts: 15
|
Posted: Wed Apr 12, 2006 9:22 am Post subject: |
|
|
| Goyyah wrote: | | Anonymous wrote: | Dear Goyyah:
Thanks for the update. But I found something else is not working well. I set the right side waiting time to be 1024 (just want to let it longer), then the weird thing happened. If I put my cursor to the right side border then draw it away, when the time comes, it will be moved to the left side, as I never moved my cursor in the right side border. |
Horrible coding! . Please test it again.
1.02 Fixed an erratic movement of Cursor. If a boundary is hit accidentally and though moved away from it, the script was relocating the Cursor (after the "wait period"), which is now fixed.
Regards,  |
don't know why I become a guest to post...
Yes, the problem fixed, great job, thanks~ |
|
| Back to top |
|
 |
midiworks
Joined: 07 Apr 2006 Posts: 38 Location: Thailand
|
Posted: Wed Apr 12, 2006 7:05 pm Post subject: |
|
|
Hi,
new problem showed up...
There should be a automatic blocking on all sides,
when the left mouse button is held.
Otherwise when selecting whatever on the screen can be quite hard,
if you cross by accident the border.
I was trying to copy text from a web page,
the mouse button went over the lower border and showed up on the other side again resulting in a lost texts selection.
Rene |
|
| Back to top |
|
 |
SKAN
Joined: 26 Dec 2005 Posts: 5895
|
Posted: Wed Apr 12, 2006 7:30 pm Post subject: |
|
|
Dear Rene,
| You wrote: | | There should be a automatic blocking on all sides, when the left mouse button is held. |
Yes! I am aware of it, and will implement it soon. Mouse Buttons are not recognised in WIN 98 & right now I do not have WIN XP installed (owing to hardware problems).
I already have the idea ( sent it as a PM to garath who helped me in testing it in WIN XP), but I cannot update my code unless I test it on my own.
Also, I have to code it such a way that this utility works fine with Win9x.
Meanwhile, I have provided an alternate solution : Cursor Navigation is blocked on all sides when the Shift key is down.
Regards,  _________________ SKAN - Suresh Kumar A N |
|
| Back to top |
|
 |
TheLeO
Joined: 11 Jun 2005 Posts: 165 Location: England ish
|
Posted: Thu Apr 13, 2006 10:19 pm Post subject: |
|
|
lols, funny litle script indeed.
just one thing, you didnt consider dual monitors,
but it was very easy to addapt, thanx. _________________ And i say: where there is a problem , there is a solution.(well some where that is.)
::
I Have Spoken
:: |
|
| Back to top |
|
 |
|