| View previous topic :: View next topic |
| Author |
Message |
Spike
Joined: 24 Jun 2005 Posts: 12
|
Posted: Tue May 16, 2006 10:57 pm Post subject: v1.0.44.01 & opera & ctrl+shift+LButton |
|
|
Hi,
I've just updated from AutoHotkey v1.0.43.11 to AutoHotkey v1.0.44.01
and found that I can no longer use opera's ctrl+shift+LButton to open url
in another tab.If I go back to v1.0.43.11 everything works ok.
Can anyone please verify??
Please test USING only opera and not this :-
~^+LButton:: msgbox ok
as this works for some reason.
Thanks,
Jan |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Wed May 17, 2006 4:07 pm Post subject: |
|
|
Although I can't test it with Opera, Ctrl-Shift-LButton works to extend file selections in Windows Explorer even when the following hotkey is active:
~^+LButton::ToolTip %A_ThisHotkey%
I also checked LButton state with GetKeyState and reviewed the code to ensure the tilde symbol is working as it did before (that is, that LButton's down and up-events are being passed through to the active window as they should be).
If you or anyone else can find some way to reproduce misbehavior outside of Opera, please let me know. |
|
| Back to top |
|
 |
Guest
|
Posted: Wed May 17, 2006 11:30 pm Post subject: |
|
|
Hi Chris,
Thanks for the reply.I think I might have mislead you when I mentioned this hotkey :-
~^+LButton::
I don't have it in setup in my ini file,
I just quickly put it in to see if the 'keystrokes' were being intercepted
Right now there are no hotkey references to ~^+LButton::
I was going to download v 1.0.44
to try it and if it was in that build.
I have just tried 1.04401 again the problem is still there.
Chris I am not running the to versions together ,I am exiting v1.0.44.01
via the taskbar and executing v1.0.43.11 about 30secs later in the same environment and 1.0.43.11 works flawlessly
I will try and investigate further
as if there are any conflicts.
Thanks,
Jan |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Thu May 18, 2006 2:04 am Post subject: |
|
|
Yes, it would definitely help to have more details because as it stands now, you've said nothing about the contents of your scripts or how they're designed to interact with Opera (if at all).
Also, please note the following change for v1.0.44:
Changed and fixed the hotkey tilde prefix (~) so that hotkeys like ~Esc and Esc are considered duplicates; that is, a script cannot define both ~Esc and Esc unless they are under different #IfWin criteria (in which case ~Esc and Esc have been fixed to work properly). |
|
| Back to top |
|
 |
Spike
Joined: 24 Jun 2005 Posts: 12
|
Posted: Thu May 18, 2006 2:26 am Post subject: |
|
|
Hi Chris,
I have found what was causing the conflict.
It seems this hotkey was causing the problem
LCtrl & ~LButton::
It was fixed by preceeding LCtrl with ~
Why??
Here is the code, I didn't write it (got it off the forum)
It was originally used only LButton but I added a LCtrl key modifier which
has worked in all version up to 1.0.43.11
| Code: | CoordMode Mouse, Screen
;LCtrl & ~LButton:: ;; Original Hotkey
~LCtrl & ~LButton:: ;;NEW HOTKEY
;~LButton::
MouseGetPos x0, y0 ; save start mouse position
Loop
{
Sleep 20 ; yield time to others
GetKeyState keystate, LButton
IfEqual keystate, U, {
MouseGetPos x, y ; position when button released
break
}
}
if (x-x0 > 5 or x-x0 < -5 or y-y0 > 5 or y-y0 < -5)
{ ; mouse has moved
clip0 := ClipBoardAll ; save old clipboard
ClipBoard =
Send ^c ; selection -> clipboard
ClipWait 1, 1 ; restore clipboard if no data
IfEqual ClipBoard,, SetEnv ClipBoard, %clip0%
}
return |
PS It also broke the operation of the above code before I preceeded
the LCtrl with ~
Thanks for creating such a beaut program !!
Jan |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Thu May 18, 2006 11:41 pm Post subject: |
|
|
| Thanks for the additional info. I'm going to take a closer look at the tilde symbol and see if anything in it needs fixing. |
|
| Back to top |
|
 |
Chris Site Admin
Joined: 02 Mar 2004 Posts: 10480
|
Posted: Sat May 20, 2006 10:21 pm Post subject: |
|
|
| This issue has been fixed in today's v1.0.44.02. Thanks for reporting it. |
|
| Back to top |
|
 |
Guest
|
Posted: Sun May 21, 2006 12:09 am Post subject: |
|
|
Thanks Chris,
Have confirmed v1.0.44.02 does work now with LCtrl & ~LButton::
Cheers,
Jan |
|
| Back to top |
|
 |
|