Home
Download
Screenshots

Wiki
Plugins
Translations
Developers
Donate

Forums/Help
Contact Us

StrokeIt

Ctrl + Shift + Prior (Page UP) doesn't work :( HELP!

Posted by mr01 
hi All,
I've got a problem.
StrokeIt doesn't send properly belove keystrokes:

[CTRL_DOWN][SHIFT_DOWN][PRIOR][SHIFT_UP][CTRL_UP]

...to Firefox (with add-on Tab Utilities), where shortcut "Ctrl+Shift+Page Up" should moves current tab to the left.
It seams that StrokeIt omits "Shift" key because instead of moving current tab to the left, he goes to the lef tab ("Ctrl+Page Up" without Shift)

When I press manualy "Ctrl+Shift+Page Up" everything works fine.
But for some reason StrokeIt has got a problem with sending this combination.

I've tried propably every possible way.

1. [CTRL_DOWN][SHIFT_DOWN][PRIOR][SHIFT_UP][CTRL_UP]

2. [CTRL_DOWN][SHIFT_DOWN][PRIOR]][CTRL_UP][SHIFT_UP]

3. [SHIFT_DOWN][CTRL_DOWN][PRIOR][SHIFT_UP][CTRL_UP]

4. [SHIFT_DOWN][CTRL_DOWN][PRIOR][CTRL_UP][SHIFT_UP]

_______________________________________________________

5. From 1 to 4 with [PRIOR_DOWN][PRIOR_UP] between.

6. From 1 to 4 with [PRIOR_DOWN] between and [PRIOR_UP] at the end

7. Form 1 to 6 with "Delay 200" after every single key press

8. [SHIFT_DOWN] + separately "Ctrl+PRIOR" + [SHIFT_UP]

9. [CTRL_DOWN] + separately "Shift+PRIOR" + [SHIFT_UP]

10. [CTRL_DOWN][SHIFT_DOWN] + seperately PRIOR + [CTRL_UP][SHIFT_UP]

11. [SHIFT_DOWN][CTRL_DOWN] + seperately PRIOR + [SHIFT_UP][CTRL_UP]

12. and of course normally "Ctrl+Shift+Prior"

13. any few others combinations with Delay between every single key.

I checked everything with ignoring Alt or Ctrl or Shift in StrokeIt main settings.

NOTHING WORKS! :(
Please help me :)

Best Regards
Leo
Re: Ctrl + Shift + Prior (Page UP) doesn't work :( HELP!
February 08, 2011 09:59AM
Hello mr01,

Working on WinXP sp3 StrokeIt 0.97 personal FF 3.6.13 Tab Utilities 1.0

so you have Win7 64bit or so or FF 4.0 beta


with best regards

Leo
Re: Ctrl + Shift + Prior (Page UP) doesn't work :( HELP!
February 08, 2011 11:29AM
I have just tried it, and I get the same bug as mr01 gets: SI just goes to the tab to the left, instead of moving the tab itself, as it does when I actually press the same buttons on the keyboard. I have tried it on a clean FF profile with only Tab Utilities installed. XP SP3 32-bit, SI 9.7 Pro, FF 3.6.13, newest version of Tab Util. Perhaps some other program is interfering with this?

With Autohotkey we could probably fix it. I will try it in a minute. The code you'd use is this:
!^#i::SendInput, ^+{PgUp}
!^#j::SendInput, ^+{PgDn}
Then configure StrokeIt to carry out alt-control-win-i and alt-control-win-j for these functions, respectively.



Edited 2 time(s). Last edit at 02/08/2011 11:52AM by Cerberus.
Thanks for interested in.
I use Win 7 32 Bit, Firefox 4 Beta 11
Re: Ctrl + Shift + Prior (Page UP) doesn't work :( HELP!
February 08, 2011 11:57AM
Okay, so it appears this is truly a StrokeIt bug: I have tested the Autohotkey script, and it works, so that the fault must lie with StrokeIt. The good news is that you can fix it by making an Autohotkey script. I have emended a small error in the code from my previous message, now you can use it: just make a new .txt file, copy-paste my code into this file, rename the file to .ahk, install Autohotkey, and double-click on the .ahk file you made. Now it should work. Don't forget to change the output from StrokeIt to alt-control-win-i (for control-shift-pageup), alt-control-win-j (for control-shift-pagedown). If you want, you can put the .ahk script into your Startup folder )start menu -> programs -> startup), so that it will automatically start up when you start Windows.

P.S. The strange thing is that Leo is not experiencing this bug?



Edited 1 time(s). Last edit at 02/08/2011 11:58AM by Cerberus.
Thanks a lot Cerberus.

I made your script and now sending that keystroke works fine.
I needed this functionality (Move Tab Backward) for creating combination "Close tab and focus on left) cause I set by default focusing on right (using more often)
So I came with idea to use two keystrokes executed one by one:
1. Move Tab Backward (ctrl+shift+page up)
2. Close tab (ctrl+w)

And now this works as I expect.

Previously I used combination:
1. Close Tab (Ctrl+W)
2. Previous Tab (Ctrl+Left Arrow)
...but then by a split second you were able to perceive a right tab.

So, better method is to move tab backward firstly and then close it :)
Never mind... ;)

Once more thanks Cerberus.
One more thing....

To activate missing (second) rocker gesture in firefox I use this line:

~LButton & RButton::send {LButton Up}!{right}

I also want to activate that rocker for Q-Dir (alternative for Windows Explorer)
BUT for Q-Dir I prefer to set this behaviour as:

~LButton & RButton::send {LButton Up}^+{tab}

So my question is:
Is it possible to set two different actions for "~LButton & RButton" in the same ahk script in order to it detects (recognize) one of them for firefox, the other for Q-Dir ???

Best Regards
Re: Ctrl + Shift + Prior (Page UP) doesn't work :( HELP!
February 09, 2011 02:24AM
Yes, it should be possible. You have to give the class of the application/window that should interpret the command. You can get the class by using the WindowsSpy (Rightclick on ahk icon in tray). The script will be something like this:

#IfWinActive ahk_class MozillaUIWindowClass
~LButton & RButton::send {LButton Up}!{right}
#IfWinActive

and the other one:

#IfWinActive ahk_class QDirWhateveritisClass
~LButton & RButton::send {LButton Up}^+{tab}
#IfWinActive
Thanks gemisigo.
Works! :)
Re: Ctrl + Shift + Prior (Page UP) doesn't work :( HELP!
February 09, 2011 03:59AM
You're welcome, mr01 ;)
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 18 plus 12?
Message: