I would love to be able to assign a gesture slide to increase numbers in a number field.
ie up arrow would increase numbers from 0 to 100
does anyone know if this is possible ?
maybe there is a program out there that lets you assign this function to different keys and therefore it would work with gestures ??
cheers.
lee
increasing numbers
Moderator: The00Dustin
-
- Smarty Pants
- Posts: 83
- Joined: 21 Aug 2005, 20:49
- Contact:
Re: increasing numbers
I see several required abilities in this process that seem to be missing:lee griggs wrote:I would love to be able to assign a gesture slide to increase numbers in a number field.
ie up arrow would increase numbers from 0 to 100
(...)
One of the basic topics to consider in order to perform this task it the notion of the current value that has to be incremented. The TS has no access to anything you see on your screen. Even a value you would have typed in with the keyboard is for ever out of sight for it. Such function would be easy to implement though. The caps-word handler has a notion of what you are doing but I did not find anything in MyGesture Editor about some internal function related to what's being typed in.
The second topic would be to replace any current field-value or list-selection. Would it be Select-All then replace with the incremented value? i.e. CTRL-A then type-in the new value ? That would be fine for a form-field but not in any larger text-area. Everything would be replaced! Not good!
These devices are so smart that it is easy to forget they are just keyboards. Still, the idea is worth some investigation...
Maybe we could use all these keycodes defined by PS2 and USB specification: scancode.doc

You find them in the editor at the end of the Key Stroke Event Type list, near Volume Up, Base Boost, Rewind, Eject, Web Bookmarks, etc.
All these address smart high-level capabilities. Who knows, maybe something can be done around here...


-
- Grizzled Veteran
- Posts: 201
- Joined: 13 Jun 2005, 01:40
- Location: Kahalu'u, Oahu, Hawaii
- Contact:
Couldn't that Volume Up/Down be directed to something other than the sound system? If so, you have it.
I don't see where you need to know existing state, just that you want to increase/decrease that state. Like the infinite volume controls, twist to the right, volume increases, twist to the left, volume decreases.
I don't see where you need to know existing state, just that you want to increase/decrease that state. Like the infinite volume controls, twist to the right, volume increases, twist to the left, volume decreases.
Invent the Future
I would agree if we were talking to some object smart enough to be able to understand something like increase and decrease.
As it is not the case, I was rather conservative in this first approach.
At first sight, we have to deal with dumb text-fields and text-areas with notepad-like editor capabilities.
The only smart things around here are the TS and the user, thanks Windows and other Operating Systems.
- You cannot have smart and money at the same place.
- WE have money, so we must increment our numbers ourselves.
As it is not the case, I was rather conservative in this first approach.
At first sight, we have to deal with dumb text-fields and text-areas with notepad-like editor capabilities.

The only smart things around here are the TS and the user, thanks Windows and other Operating Systems.
- You cannot have smart and money at the same place.
- WE have money, so we must increment our numbers ourselves.

-
- Smarty Pants
- Posts: 83
- Joined: 21 Aug 2005, 20:49
- Contact:
part way there
ok, Ive managed to do something. Its far from perfect, but it will speed up a lot of the usual day to day numbers that I end up typing in maya/photoshop.
These are all on Thumb + 1 Fingertip, left hand (for the moment):
. = chord tap
1 = chord hold (350 minimum hold time)
0 = rotate hand clockwise (1.0 motion speed)
tab = chord release
If I want to type 1, 10, 100, 1000 etc I just hold down slightly longer to get the 1 in front of the 0's.
If I want 20, 200, 2000 etc I use the numbers on my right hand and then slide quicker on the left to get the 0's on the end.
The tab enables me to type many numbers in different field boxes within maya ie when Ive finished the slide it goes onto the next one when I release my hand.
The fullstop is for 0.1, 0.2 etc
I already have 1-9 on my right hand which I use in conjunction with the above on my left hand.
I had to experiment a lot with 1 (minimum hold time)
and the motion speed of 0, but for now it seems to hold up without too much grief.
It would be nice to get - minus in there somewhere, trouble is the tab is enabled whenever I release which makes more than one gesture on the same fingers a problem.
This is early days, but If anyone has any recommendations or ways to improve this, I am all ears.
These are all on Thumb + 1 Fingertip, left hand (for the moment):
. = chord tap
1 = chord hold (350 minimum hold time)
0 = rotate hand clockwise (1.0 motion speed)
tab = chord release
If I want to type 1, 10, 100, 1000 etc I just hold down slightly longer to get the 1 in front of the 0's.
If I want 20, 200, 2000 etc I use the numbers on my right hand and then slide quicker on the left to get the 0's on the end.
The tab enables me to type many numbers in different field boxes within maya ie when Ive finished the slide it goes onto the next one when I release my hand.
The fullstop is for 0.1, 0.2 etc
I already have 1-9 on my right hand which I use in conjunction with the above on my left hand.
I had to experiment a lot with 1 (minimum hold time)
and the motion speed of 0, but for now it seems to hold up without too much grief.
It would be nice to get - minus in there somewhere, trouble is the tab is enabled whenever I release which makes more than one gesture on the same fingers a problem.
This is early days, but If anyone has any recommendations or ways to improve this, I am all ears.

Lee, I knew that, I knew that from the beginning
...magic has definitely nothing to do with computers and you've made this obvious here. I am really comfortable with the idea that we have to take these machines as tools, clever tools alright but they still are some kind of super screwdrivers.
With some complement of mine, I've derived a tricky effect with what you've invented here:
-----------------------------------------------------------------------
(As I have already tuned my Thumb+Pinky (L Spread) gesture, I've modified my unused Paragraph Alignment gesture here)
-----------------------------------------------------------------------
I kept the chord hold
1
...and introduced these two:
Move Right
0000000
Move Left
Backspace
Just try it! It's really funny to add and remove zeros so easily!
-----------------------------------------------------------------------
I found that the embedded Tab from chord release was rather disturbing because it puts an end to what you are doing. When you entered the wrong number of zeros, you have to back-tab to make the correction.
So, I've use the chord tap as a very comfortable way to activate a Tab by myself. Hence, you can use it with the Right Shift chord to navigate backward.
-----------------------------------------------------------------------
I've lately added a Select all call at gesture lift-off so we can replace the selected contents right away if necessary.
-----------------------------------------------------------------------
Thank you lee for the original idea and let us know how you complement these gestures.

With some complement of mine, I've derived a tricky effect with what you've invented here:
-----------------------------------------------------------------------
(As I have already tuned my Thumb+Pinky (L Spread) gesture, I've modified my unused Paragraph Alignment gesture here)
-----------------------------------------------------------------------
I kept the chord hold

...and introduced these two:




Just try it! It's really funny to add and remove zeros so easily!
-----------------------------------------------------------------------
I found that the embedded Tab from chord release was rather disturbing because it puts an end to what you are doing. When you entered the wrong number of zeros, you have to back-tab to make the correction.

-----------------------------------------------------------------------
I've lately added a Select all call at gesture lift-off so we can replace the selected contents right away if necessary.
-----------------------------------------------------------------------
Thank you lee for the original idea and let us know how you complement these gestures.
- Gesture Map 'ivanw.xml' [ win qwerty]
- LIB_FormFill.xml:
<xml>
<DOCTYPE>
<MTS_config>
<RequireLib>
<MacroLibrary>
<ChordTemplate>
<GestureCategories>
<SynctapEvents> <KeyEvent> </SynctapEvents>
<ChordHoldEvents> <KeyEvent> </ChordHoldEvents>
<ChordLiftEvents> <MacroRefEvent> </ChordLiftEvents>
<Slide> <MacroRefEvent> </Slide>
<Slide> <KeyEvent> </Slide>
<Slide> <KeyEvent> </Slide>
<Slide> <KeyEvent> </Slide>
</ChordTemplate>
</MacroLibrary>
</MTS_config>
Who is online
Users browsing this forum: No registered users and 1 guest