AutoHotkey Community

It is currently May 26th, 2012, 7:26 am

All times are UTC [ DST ]




Post new topic Reply to topic  [ 169 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12  Next
Author Message
 Post subject:
PostPosted: April 13th, 2008, 10:07 am 
Offline

Joined: August 24th, 2005, 5:17 pm
Posts: 1237
Small update posted. It should fix all missing windows from the list :D


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 18th, 2008, 8:49 am 
Offline

Joined: March 18th, 2007, 10:00 am
Posts: 11
Hi, I think there is an error in line 392, tab2 should be tab.

Btw, I love your script and use it everyday :)


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 18th, 2008, 11:16 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7502
Location: Australia
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]


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 18th, 2008, 1:02 pm 
Offline

Joined: March 18th, 2007, 10:00 am
Posts: 11
Ohm... sorry :oops: ( My autohotkey is more than 7 months outdated ? :lol: )
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


Report this post
Top
 Profile  
Reply with quote  
PostPosted: May 25th, 2008, 11:43 pm 
Offline

Joined: February 21st, 2007, 5:52 am
Posts: 51
Location: Australia
Is there a way to include this script in autohotkey.ini? I got a "duplicate function" error when trying to launch it by #include


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 26th, 2008, 10:38 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7502
Location: Australia
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: here is the error
PostPosted: May 27th, 2008, 6:12 am 
Offline

Joined: February 21st, 2007, 5:52 am
Posts: 51
Location: Australia
Image

I checked that all separate instances of autohotkey.exe process were killed before relaunching autohotkey.exe/autohotkey.ini.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: May 27th, 2008, 6:47 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7502
Location: Australia
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject: thanks Lexikos
PostPosted: May 28th, 2008, 12:04 am 
Offline

Joined: February 21st, 2007, 5:52 am
Posts: 51
Location: Australia
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


Report this post
Top
 Profile  
Reply with quote  
 Post subject: Suggestion
PostPosted: June 1st, 2008, 2:24 pm 
Offline

Joined: June 1st, 2008, 4:08 am
Posts: 11
Location: Eromoko, Wonogiri, Indonesia
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.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: June 11th, 2008, 5:03 pm 
Offline

Joined: December 19th, 2006, 2:14 pm
Posts: 72
Location: France
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 :roll: 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


Report this post
Top
 Profile  
Reply with quote  
PostPosted: July 21st, 2008, 8:18 pm 
Offline

Joined: July 1st, 2008, 6:42 pm
Posts: 2
Great script!

I made some changes in it to use with <LWin>+<WheelUp> and <LWin>+<WheelDown>.

You can check out new scriptwhich I placed on my Project's homepage.

_________________
-= WinKey Enhancement Project (WEP) =-


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: September 21st, 2008, 5:23 pm 
Offline

Joined: September 28th, 2007, 9:32 am
Posts: 32
a can't live without script. cheers


Report this post
Top
 Profile  
Reply with quote  
PostPosted: October 17th, 2008, 3:37 pm 
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


Report this post
Top
  
Reply with quote  
 Post subject:
PostPosted: October 17th, 2008, 4:19 pm 
Solved:

MouseGetPos, Gui_x, Gui_y


Report this post
Top
  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 169 posts ]  Go to page Previous  1 ... 6, 7, 8, 9, 10, 11, 12  Next

All times are UTC [ DST ]


Who is online

Users browsing this forum: Apollo, Exabot [Bot] and 15 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group