AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

ALT-TAB replacement with icons and window titles in ListView
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
evl



Joined: 24 Aug 2005
Posts: 1234

PostPosted: Sun Apr 13, 2008 10:07 am    Post subject: Reply with quote

Small update posted. It should fix all missing windows from the list Very Happy
Back to top
View user's profile Send private message
songless



Joined: 18 Mar 2007
Posts: 11

PostPosted: Sun May 18, 2008 8:49 am    Post subject: Reply with quote

Hi, I think there is an error in line 392, tab2 should be tab.

Btw, I love your script and use it everyday Smile
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 4471
Location: Qld, Australia

PostPosted: Sun May 18, 2008 11:16 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
songless



Joined: 18 Mar 2007
Posts: 11

PostPosted: Sun May 18, 2008 1:02 pm    Post subject: Reply with quote

Ohm... sorry Embarassed ( My autohotkey is more than 7 months outdated ? Laughing )
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
View user's profile Send private message
supergrass



Joined: 21 Feb 2007
Posts: 48
Location: Australia

PostPosted: Sun May 25, 2008 11:43 pm    Post subject: including in autohotkey.ini Reply with quote

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
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 4471
Location: Qld, Australia

PostPosted: Mon May 26, 2008 10:38 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
supergrass



Joined: 21 Feb 2007
Posts: 48
Location: Australia

PostPosted: Tue May 27, 2008 6:12 am    Post subject: here is the error Reply with quote



I checked that all separate instances of autohotkey.exe process were killed before relaunching autohotkey.exe/autohotkey.ini.
Back to top
View user's profile Send private message
Lexikos



Joined: 17 Oct 2006
Posts: 4471
Location: Qld, Australia

PostPosted: Tue May 27, 2008 6:47 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
supergrass



Joined: 21 Feb 2007
Posts: 48
Location: Australia

PostPosted: Wed May 28, 2008 12:04 am    Post subject: thanks Lexikos Reply with quote

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
View user's profile Send private message
broxenhearted



Joined: 01 Jun 2008
Posts: 11
Location: Eromoko, Wonogiri, Indonesia

PostPosted: Sun Jun 01, 2008 2:24 pm    Post subject: Suggestion Reply with quote

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
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Azerty



Joined: 19 Dec 2006
Posts: 72
Location: France

PostPosted: Wed Jun 11, 2008 5:03 pm    Post subject: Reply with quote

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 Rolling Eyes 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
View user's profile Send private message
wep



Joined: 01 Jul 2008
Posts: 2

PostPosted: Mon Jul 21, 2008 8:18 pm    Post subject: Re: ALT-TAB replacement with icons and window titles in List Reply with quote

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
View user's profile Send private message
MarkyMark



Joined: 28 Sep 2007
Posts: 25

PostPosted: Sun Sep 21, 2008 5:23 pm    Post subject: Reply with quote

a can't live without script. cheers
Back to top
View user's profile Send private message
scotsummers
Guest





PostPosted: Fri Oct 17, 2008 3:37 pm    Post subject: display at the mouse position Reply with quote

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





PostPosted: Fri Oct 17, 2008 4:19 pm    Post subject: Reply with quote

Solved:

MouseGetPos, Gui_x, Gui_y
Back to top
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3, 4, 5, 6, 7, 8, 9, 10  Next
Page 9 of 10

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group