topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Friday March 29, 2024, 7:59 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: DONE: LabelControl - Mouseless control  (Read 11131 times)

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
DONE: LabelControl - Mouseless control
« on: April 16, 2006, 07:45 PM »
 :) brotherS sent me this link https://www.donationcoder.com/forum/index.php?topic=3179 the other day, about mouseless browsing using FireFox. I've made a general Windows version!

LabelControl - Overlays buttons and other controls with a Number for direct access via Ctrl-Number.

Features:
- Hold Ctrl, write the number, release Ctrl.
- User definable controls, options to move the mouse and detect toolbar buttons.
- Unreliable toolbar button detection.



You'll find the downloads and more info at 1 Hour Software by Skrommel.

It works great with anything using standard windows controls, but programs painting their own controls is mainly ignored. I've started making a graphical button detection routine, but it's very basic, so if anyone knows of ways of extracting button positions from various controls, please let me know!

Skrommel
« Last Edit: April 17, 2006, 08:30 AM by skrommel »

kimmchii

  • Honorary Member
  • Joined in 2005
  • **
  • Posts: 360
    • View Profile
    • Donate to Member
Re: LabelControls - Mouseless control
« Reply #1 on: April 16, 2006, 07:54 PM »
wow that is soo cool, Thanks. 
If you find a good solution and become attached to it, the solution may become your next problem.
~Robert Anthony

Carol Haynes

  • Waffles for England (patent pending)
  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 8,066
    • View Profile
    • Donate to Member
Re: LabelControls - Mouseless control
« Reply #2 on: April 16, 2006, 08:02 PM »
Absolutely brilliant ... not that I can give up my mouse that easily  :-[

Hirudin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 543
    • View Profile
    • Donate to Member
Re: DONE: LabelControls - Mouseless control
« Reply #3 on: April 17, 2006, 08:08 AM »
Personally I prefer the mouse over the keyboard (I use the mouse to move the curser to the "password" field instead of hitting tab). Having said that, I think it's awesome that you made this program skrommel! A coding snack delivered without anyone knowing they were even hungry!

It might be cool to implement some standard numbers for standard buttons (if it's possible). Maybe "07" could be "OK" (because they sorta look the same, or maybe use " 0* ") and/or "11" could be "Cancel" (because the 1 key is also the "end" key) and/or "99" could be "Close" (because 9 is at the top right of the keypad, just like the close button is at the top right of the window)...

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #4 on: April 17, 2006, 08:19 AM »
 :) Already planned for the next verson, Hirudin. I'm also thinking of making a label builder, where the user can place and number his own labels, one layout for each application.

Also, I've changed the name to LabelControl (removed the s).

Skrommel
« Last Edit: April 17, 2006, 08:34 AM by skrommel »

jgpaiva

  • Global Moderator
  • Joined in 2006
  • *****
  • Posts: 4,727
    • View Profile
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #5 on: April 17, 2006, 08:56 AM »
This is a great idea! And it works quite well, congratulations Skrommel! :D
Only one suggestion: why not have key work as a toggle, instead of forcing it to be pressed.
I mean, the user could activate it with a hotkey, like F8, then, the labels appear, and one could press the number on the label. If the user didn't want to activate anything, he'd press F8 again and the labels would disappear.
This would avoid interfeerence with program's hotkeys, and in my opinion, would be a bit more handy, since holding ctrl and pressing a few buttons is not very ergonomic.

VSiAQ

  • Charter Honorary Member
  • Joined in 2006
  • ***
  • Posts: 40
    • View Profile
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #6 on: April 17, 2006, 10:44 PM »
Why not ScrollLock instead of F8?  ;D

Hirudin

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 543
    • View Profile
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #7 on: April 18, 2006, 12:30 AM »
Would it be possible to use the Numlock key? When numlock is activated (most of the time) the numbers would type numbers, when it's off (less of the time) they would type the numbers of the Labels.

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #8 on: April 18, 2006, 03:28 PM »
 :) Updated LabelControl to v1.1.

Just added detection of toolbar buttons.

Skrommel

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #9 on: April 19, 2006, 02:26 AM »
 :) Updated LabelControl to v1.2.

Improved the toolbar button detection and added menu detection.

Skrommel

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #10 on: April 19, 2006, 01:36 PM »
 :) And then there was LabelControl v1.3.

Cleaned up number placement, corrected menu detection.

Skrommel

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #11 on: April 19, 2006, 06:23 PM »
 :) I need help with LabelControl v1.4!

I've added listview detection, but I can't make it work properly with icon views. Anyone?

Skrommel

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #12 on: May 01, 2006, 03:07 PM »
 :) Uploaded LabelControl v1.5.

Added listview and tab item detection. Added use of numpad.

Skrommel

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 186
    • View Profile
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #13 on: May 09, 2006, 09:35 PM »
Beautiful concept. I'm a diehard keyboard user, so was very excited. But after a few minutes of using it, I've unloaded it for now. But I'm looking forward to trying it again real soon...

Any way to ignore menus and menu items, since they already have perfectly good accelerator keys? When we start getting up to 20 numbered controls in a window, the time spent to identify them (and the fact that all the nice short 1-digit numbers are used up by the menus) makes it less useful.

Any way to ignore specific applications/windows altogether (especially those for which Ctrl+# is already a meaningful shortcut key).

And it would be helpful to have a single-key hotkey to disable/enable it. The time required to mouse over to the tray to do this repeatedly, removes the keyboard-centric feeling and much of the time saved.

Thanks,
Jonathan
« Last Edit: May 09, 2006, 09:58 PM by jdmarch »

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #14 on: May 10, 2006, 03:01 AM »
 :) LabelControl is still in early stages of development, 'cause I can't get to all the controls I want.

If you check the Settings screen you can remove the classes you don't want labeled.

Skrommel


urlwolf

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 1,837
    • View Profile
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #15 on: May 10, 2006, 03:16 AM »
brilliant.
It doesn't work with opera, which is a pity, but otherwise totally cool!

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 186
    • View Profile
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #16 on: May 10, 2006, 06:45 AM »
Hmmm, tried without success ignoring Menu,MenuItem,MenuBar. So what's the magic word for a menu control?

skrommel

  • Fastest code in the west
  • Developer
  • Joined in 2005
  • ***
  • Posts: 933
    • View Profile
    • 1 Hour Software by skrommel
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #17 on: May 11, 2006, 08:33 AM »
 :tellme: Many menubars are really toolbars, so until I add an option to ignore certain windows, there's no shure way of doing this.

I see in the sourcecode that I've added no way to ignore menus. Will do.

Skrommel

jdmarch

  • Charter Member
  • Joined in 2005
  • ***
  • default avatar
  • Posts: 186
    • View Profile
    • Donate to Member
Re: DONE: LabelControl - Mouseless control
« Reply #18 on: May 11, 2006, 08:38 AM »
patiently anticipating.... :)