Home
Download
Screenshots

Wiki
Plugins
Translations
Developers
Donate

Forums/Help
Contact Us

StrokeIt

"Close and go to Previous Tab" ?

Posted by mousehappy 
"Close and go to Previous Tab" ?
January 26, 2009 09:39AM
Hello,

Thanks for a terrific app, and for the folks still posting here with useful advice !

StrokeIt + AutoHotKey = computing @ the speed of thought for me !

*******************************************************

Would someone kindly help me with a configuration in IE7 ?

I used IE7 Pro's Mouse Gestures until I became fluid w/ StrokeIt,
but one command IE7 Pro uses that I haven't been able to reproduce is :

"Close and go to Previous Tab" - very handy time/click saver !

I tried Keys - Send Keystrokes ---->

[CTRL_DOWN]W[CTRL_UP][CTRL_DOWN][SHIFT_DOWN][TAB_DOWN][CTRL_UP][SHIFT_UP][TAB_UP]

since Ctrl+W closes the tab, and Ctrl-Shift-Tab returns to the previous tab.

But this script doesn't work to return to the previous tab,
it only closes the focused tab.

(my action is just straight down w/ R-button)

...... and perhaps if someone could give some examples
to make really clear the differences between :

Keys - Hot Keys

&

Keys - Send Keystrokes

Thanks very much for your helps !



Edited 1 time(s). Last edit at 01/26/2009 09:59AM by mousehappy.
Leo
Re: "Close and go to Previous Tab" ?
January 26, 2009 02:36PM
Hello mousehappy,

Try to send the keys with AutoHotKey instead of StrokeIt or make delay between keystrokes.

Thanks Leo
Re: "Close and go to Previous Tab" ?
January 26, 2009 07:28PM
Thanks for responding, Leo.

Here's how I figured it out,
and I sure hope this helps others -

****************************

<VERSION>StrokeIt .9.4</VERSION>

<APP name="Internet Explorer">
class=IEFrame
Close Tab {
gesture = Down
New Command = keys, hotkey [CTRL_DOWN]W[CTRL_UP]
New Command = utilities, Delay "100"
New Command = keys, hotkey [CTRL_DOWN][SHIFT_DOWN][TAB][SHIFT_UP][CTRL_UP]
}
</APP>

****************************

I never read yet how to use "Utilities - Delay" whilst configuring a Command,
but that's what I had to choose.

I also never read that in using multiple commands,
you need to actually R-click & select "New Command"
however many times you need to make a new command,
for the specific Action you want to accomplish.

In my first post, you see how I tried to cram every command
into 1 command string - which obviously didn't work.

I searched the forum for posts about multiple commands,
and by experimenting, then Exporting the specific config for Internet Explorer,
then opening it in Notepad & studying it,
I finally figured out that I needed to enter a separate command
for each thing I wanted to do :

1: Close the tab = Ctrl + W
2: Make the procedure "Wait" - by using the "Utilities - Delay" command.

(Thanks to tpr who made these suggestions along the way)

3. Go to Previous Tab = Ctrl + Shift + Tab.

Like AutoHotKey, the more I understand, the more I can do,
the faster I can go, & the happier I am !

:D
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 9 plus 8?
Message: