| View previous topic :: View next topic |
| Author |
Message |
evl
Joined: 24 Aug 2005 Posts: 1234
|
Posted: Sun Apr 13, 2008 10:07 am Post subject: |
|
|
Small update posted. It should fix all missing windows from the list  |
|
| Back to top |
|
 |
songless
Joined: 18 Mar 2007 Posts: 11
|
Posted: Sun May 18, 2008 8:49 am Post subject: |
|
|
Hi, I think there is an error in line 392, tab2 should be tab.
Btw, I love your script and use it everyday  |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 4471 Location: Qld, Australia
|
Posted: Sun May 18, 2008 11:16 am Post subject: |
|
|
songless, you need to update AutoHotkey.
| changelog wrote: | 1.0.47.05 - November 21, 2007
...
Added GUI control "Tab2" that fixes rare redrawing problems in the original "Tab" control (e.g. activating a GUI window by clicking on a control's scrollbar). The original Tab control is retained for backward compatibility because "Tab2" puts its tab control after its contained controls in the tab-key navigation order. [thanks Xander]
|
|
|
| Back to top |
|
 |
songless
Joined: 18 Mar 2007 Posts: 11
|
Posted: Sun May 18, 2008 1:02 pm Post subject: |
|
|
Ohm... sorry ( My autohotkey is more than 7 months outdated ? )
Thanks !
I'm using this script with a StrokeIt mouse gesture, the windows list it's only hidden when I click outside the list and for selecting an app I have changed from doubleclick in A_GuiEvent to one click ( Normal )
I'm trying to understand the code to do more modifications to my taste, if I get something interesting I'll share with you |
|
| Back to top |
|
 |
supergrass
Joined: 21 Feb 2007 Posts: 48 Location: Australia
|
Posted: Sun May 25, 2008 11:43 pm Post subject: including in autohotkey.ini |
|
|
| Is there a way to include this script in autohotkey.ini? I got a "duplicate function" error when trying to launch it by #include |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 4471 Location: Qld, Australia
|
Posted: Mon May 26, 2008 10:38 am Post subject: |
|
|
| Which function does it say is a duplicate? It should only say that if you've included the same function in your script twice, whether it be autohotkey.ini or an ahk file. |
|
| Back to top |
|
 |
supergrass
Joined: 21 Feb 2007 Posts: 48 Location: Australia
|
Posted: Tue May 27, 2008 6:12 am Post subject: here is the error |
|
|
I checked that all separate instances of autohotkey.exe process were killed before relaunching autohotkey.exe/autohotkey.ini. |
|
| Back to top |
|
 |
Lexikos
Joined: 17 Oct 2006 Posts: 4471 Location: Qld, Australia
|
Posted: Tue May 27, 2008 6:47 am Post subject: |
|
|
Check autohotkey.ini and the other scripts it includes for DecodeInteger. It is a fairly common function which has been superseded by the built-in function NumGet. Either delete all but one definition of DecodeInteger, or remove DecodeInteger entirely and use NumGet instead.
For instance, the following two calls...
| Code: | DecodeInteger( "uint4", p_l, 0 )
DecodeInteger( "int4", p_l, 8 )
| ...become this:
| Code: | NumGet(p_l+0) ; default offset=0, default type=uint
NumGet(p_l+0, 8, "int") | +0 is necessary for NumGet to read at the address contained by p_l rather than from within p_l itself. |
|
| Back to top |
|
 |
supergrass
Joined: 21 Feb 2007 Posts: 48 Location: Australia
|
Posted: Wed May 28, 2008 12:04 am Post subject: thanks Lexikos |
|
|
The duplicated function was contained in a quick launch script by Bobo.
Now my autohotkey.ini throws no errors, however there were two undesirable side effects:
1) No system tray icon (alt tab has no tray icon)
2) the alt tab script no longer worked!
I have decided to leave it to be launched via a hotkey for the time being, until I can spend some time to understand why there is a conflict/modify the behaviour |
|
| Back to top |
|
 |
broxenhearted
Joined: 01 Jun 2008 Posts: 11 Location: Eromoko, Wonogiri, Indonesia
|
Posted: Sun Jun 01, 2008 2:24 pm Post subject: Suggestion |
|
|
How about adding mouse wheel combination to switch between windows??
I've edit this script and try to assign Alt+Ctrl+WheelUp/Down and it work.
I just copying recently code (I use original Alt Tab script).
| Code: |
^!WheelDown:: ; alt-tab hotkey replacement
Critical
Gosub, Alt_Tab_Common_Stuff
Selected_Row += 1
If Selected_Row > %Listview_Rows%
{
Selected_Row =1
}
LV_Modify(Selected_Row, "Focus Select")
Return
^!WheelUp:: ; alt-shift-tab hotkey replacement
Critical
Gosub, Alt_Tab_Common_Stuff
Selected_Row -= 1
If Selected_Row =0
{
Selected_Row =%Listview_Rows%
}
LV_Modify(Selected_Row, "Focus Select")
Return
|
What I confused is when i use Winkey, I can't switch application and AltTab still on top. Why??? _________________ Look for The Master, Follow The Master, Walk with The Master, See Through The Master, Become The Master. |
|
| Back to top |
|
 |
Azerty
Joined: 19 Dec 2006 Posts: 72 Location: France
|
Posted: Wed Jun 11, 2008 5:03 pm Post subject: |
|
|
| evl wrote: | Hi Azerty
It sounds very similar to a problem I noticed (and solved) with PSPad. Basically PSPad has a strange interface that has one main window and one "hidden" window which is not really hidden (think of it as "always behind"). I'm guessing it's a similar problem. To see if it really is this case, try using something like:
WinGet, OutputVar, List, WinTitle - using the title of the window. If the list command finds two windows then there really are two windows Then the next step would be to look at the attributes of the windows to try and exclude one.
It's rather difficult to exclude certain (annoying) programs which do these things with the interface because it often tends to exclude other programs' windows too. |
Hi Evl
Sorry for late reply
Finaly left prob aside since the new version 8.0 of dexplore doesn't show twice.
Thx again |
|
| Back to top |
|
 |
wep
Joined: 01 Jul 2008 Posts: 2
|
Posted: Mon Jul 21, 2008 8:18 pm Post subject: Re: ALT-TAB replacement with icons and window titles in List |
|
|
Great script!
I made some changes in it to use with <LWin>+<WheelUp> and <LWin>+<WheelDown>.
You can check out new script which I placed on my Project's homepage. _________________ -= WinKey Enhancement Project (WEP) =- |
|
| Back to top |
|
 |
MarkyMark
Joined: 28 Sep 2007 Posts: 25
|
Posted: Sun Sep 21, 2008 5:23 pm Post subject: |
|
|
| a can't live without script. cheers |
|
| Back to top |
|
 |
scotsummers Guest
|
Posted: Fri Oct 17, 2008 3:37 pm Post subject: display at the mouse position |
|
|
How can I display the menu at the actual mouse position?.
I think I have to change the gui_x and guy_y parameters in the user editable settings:
; Position
Gui_x =Center
Gui_y =Center |
|
| Back to top |
|
 |
scotsummers Guest
|
Posted: Fri Oct 17, 2008 4:19 pm Post subject: |
|
|
Solved:
MouseGetPos, Gui_x, Gui_y |
|
| Back to top |
|
 |
|