Home
Download
Screenshots

Wiki
Plugins
Translations
Developers
Donate

Forums/Help
Contact Us

StrokeIt

disable for

Posted by lallous 
lallous
disable for
March 22, 2004 07:09AM
hello

you have "ignore gesture by holding a key" that will disable gesture recognition when you press say CTRL.

Now what if you add "enable gesture by holding a key" which will only be valid when 'disable gesture for this application' is ticked for a certain app.

hope you understood my idea.

--
Elias

lallous
Re: disable for
April 05, 2004 03:47AM
I would like to add an example of when / how useful this feature can be:

1)say that you have disabled strokeit's gestures in Opera
2)say that if you press "CTRL" in disabled applications the gestures will be enabled (that is the feature)
3)now that we have gestures disabled in Opera but pressing a special key will enable then thus when we press CTRL we have Strokeit's gestures instead of operas!

4)because currently when Opera is in focus strokeit is useless until I switch focus to other window.


To sum up:
You currently have "ctrl" to disable gestures
New feature: "ctrl" to enable gestures in disabled applications (opposite of existing feature)

--
Elias
Scott
Re: disable for
April 05, 2004 06:45PM
This has been discussed. Search the forum for more information.
Jeff
Re: disable for
April 05, 2004 11:15PM
I think this is a viable feature. I don't really like overloading the Ctrl key, but I'll give it some thought and see if it can be implemented in a good way.

-- Jeff
blubb
Re: disable for ...
April 06, 2004 10:58AM
lallous, StrokeIt is very well able to work with Opera (and vice versa) - I have been using them together for about one year now (on win9x as well as win2k). First, disable Opera´s gestures in the preferences/mouse&keyboard, second, add the application "opera" ("CLASS:Opera Main Window" and "CLASS:OpWindow") to your StrokeIt configuration, and finally, create whatever gestures for Opera you like. The easiest way to let the StrokeIt gestures transfer commands to Opera is by sending appropriate keyboard shortcuts via "hotkey", with a little delay of maybe 100 ms between them where needed.

For example, here is what I have set StrokeIt to do with Opera. However, if you insert it into your .sxp file or enter it at the StrokeIt Command Editor by hand, be careful. The hotkeys don´t have to work the same at your Opera. The complete list of Opera´s actual keyboard shortcuts you can find at preferences/mouse&keyboard/edit your favorite keyboard configuration. To enter preferences, press Alt+p in Opera.


<APP name="Opera">
class=Opera Main Window
class=OpWindow
Back
{
gesture = Left
New Command = keys, keys [F9][ESCAPE]
Neuer Befehl = utilities, Delay "125"
Neuer Befehl = keys, keys [BACK]
}
close all inactive windows [W] {
gesture = W
New Command = keys, hotkey [CTRL_DOWN][ALT_DOWN]W[ALT_UP][CTRL_UP]
}
Close page {
gesture = U
New Command = keys, keys [F9]
Neuer Befehl = utilities, Delay "125"
New Command = keys, hotkey [CTRL_DOWN]W[CTRL_UP]
}
Duplicate & Tile Vertically [W reversed] {
gesture = W Reversed
New Command = keys, hotkey [CTRL_DOWN][SHIFT_DOWN][F4][SHIFT_UP][CTRL_UP]
New Command = keys, hotkey [CTRL_DOWN][TAB][CTRL_UP]
New Command = keys, hotkey [CTRL_DOWN][SHIFT_DOWN]N[SHIFT_UP][CTRL_UP]
New Command = keys, hotkey [SHIFT_DOWN][F6][SHIFT_UP]
}
Duplicate page [U rev] {
gesture = U Reversed
New Command = keys, keys [F9]
Neuer Befehl = utilities, Delay "125"
New Command = keys, hotkey [CTRL_DOWN][SHIFT_DOWN]N[SHIFT_UP][CTRL_UP]
}
Find copied text backwards [LEFT-DOWN] {
gesture = Left-Down
gesture = F
Ctrl+F = keys, hotkey [CTRL_DOWN]F[CTRL_UP]
Neuer Befehl = utilities, Delay "50"
New Command = keys, hotkey [CTRL_DOWN]V[CTRL_UP]
Neuer Befehl = utilities, Delay "5"
New Command = keys, hotkey [SHIFT_DOWN][TAB][SHIFT_UP]
New Command = keys, hotkey [SHIFT_DOWN][TAB][SHIFT_UP]
New Command = keys, hotkey [UP]
New Command = keys, hotkey [ENTER]
Neuer Befehl = utilities, Delay "125"
New Command = keys, hotkey [ESCAPE]
}
Find copied text forwards [RIGHT-DOWN] {
gesture = Right-Down
Ctrl+F = keys, hotkey [CTRL_DOWN]F[CTRL_UP]
Neuer Befehl = utilities, Delay "25"
New Command = keys, hotkey [CTRL_DOWN]V[CTRL_UP]
Neuer Befehl = utilities, Delay "25"
New Command = keys, hotkey [SHIFT_DOWN][TAB][SHIFT_UP]
New Command = keys, hotkey [SHIFT_DOWN][TAB][SHIFT_UP]
New Command = keys, hotkey [DOWN]
New Command = keys, hotkey [ENTER]
Neuer Befehl = utilities, Delay "50"
New Command = keys, hotkey [ESCAPE]
}
Forward
{
gesture = Right
New Command = keys, keys [F9][ESCAPE]
Neuer Befehl = utilities, Delay "125"
Neuer Befehl = keys, keys [SHIFT_DOWN][BACK][SHIFT_UP]
}
Go to copied adress [Down] {
gesture = Down
New Command = keys, hotkey [F8]
New Command = utilities, Delay "125"
New Command = keys, hotkey [CTRL_DOWN]D[CTRL_UP]
}
Go to parent directory [/Up] {
gesture = / Up
New Command = keys, keys [F9][ESCAPE]
Neuer Befehl = utilities, Delay "125"
Neuer Befehl = keys, keys [CTRL_DOWN][BACK][CTRL_UP]
}
Maximize page [Right-Up] {
gesture = Right-Up
New Command = keys, keys [F9]
New Command = utilities, Delay "125"
New Command = keys, keys 5
}
Popup Back History [A rev] {
gesture = A Reversed
New Command = keys, keys [F9]
New Command = utilities, Delay "125"
New Command = keys, hotkey [ALT_DOWN]Z[ALT_UP]
}
Popup browser menu bar [Left-Up] {
gesture = Left-Up
New Command = keys, keys [F9]
New Command = utilities, Delay "125"
New Command = keys, hotkey [ALT_DOWN]M[ALT_UP]
}
Popup Forward History [A] {
gesture = A
New Command = keys, keys [F9]
New Command = utilities, Delay "125"
New Command = keys, hotkey [ALT_DOWN]X[ALT_UP]
}
Refresh [Up-Down] {
gesture = Up-Down
New Command = keys, keys [F9][ESCAPE]
Neuer Befehl = utilities, Delay "125"
F5 = keys, hotkey [F5]
}
Search for copied text with Google [?] {
gesture = ?
New Command = keys, hotkey [F8]
New Command = utilities, Delay "125"
New Command = keys, hotkey G
New Command = keys, hotkey [SPACE]
New Command = keys, hotkey [CTRL_DOWN]V[CTRL_UP]
Neuer Befehl = utilities, Delay "25"
New Command = keys, hotkey [ENTER]
}
Zoom in, 10 [WHEEL_DOWN] {
gesture = WHEEL_DOWN
New Command = keys, keys [F9][ESCAPE][CTRL_DOWN][ADD][CTRL_UP][F9]
}
Zoom out, 10 [WHEEL_UP] {
gesture = WHEEL_UP
New Command = keys, keys [F9][ESCAPE][CTRL_DOWN][SUBTRACT][CTRL_UP][F9]
}
</APP>

lallous
Re: disable for
April 08, 2004 03:30PM
Jeff, thanks for considering my request.

blubb, not that StrokeIt doesn't work with Opera, however combining both Opera and StrokeIt would be great.

For example, making "L" in opera will close a page, and I have globally assigned "L" to close an APP. So If I press "CTRL" StrokeIt will take the "L" and close opera for me! etc etc...

Thanks for your .sxp file, how can you implement the "open link in new window" "r-click up-down" w/ StrokeIt ?

--
Elias

Jordan
Re: disable for
April 10, 2004 10:41AM
Hey hey, Lallous, You can, still, simply define "L" to close the page, working the same way, in Opera. The application definitions will override the global ones.
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 3 plus 8?
Message: