AutoHotkey Community

It is currently May 23rd, 2012, 3:57 am

All times are UTC [ DST ]


Search found 164 matches
Search these results:

Author Message

 Forum: Scripts   Topic: [tool] WinEventHook Messages

Posted: December 29th, 2011, 10:29 pm 

Replies: 23
Views: 12897


random11 wrote:
does anyone know how to hook a WM_COMMAND message? using 0x0111 in the code doesnt work. I tried this:


Why would it work - this is for EVENTS not messages

 Forum: Scripts   Topic: [tool] WinEventHook Messages

Posted: November 11th, 2011, 5:05 pm 

Replies: 23
Views: 12897


As I understand it (tested) when one HookProc runs and another event is caught it will launch a new thread interrupting the HookProc that currently runs - which will resume as soon as the second one finishes. How can I prevent this while not dropping the new event ?

 Forum: Support   Topic: sendmessage + explorer toolbarwindow323

Posted: November 10th, 2011, 3:12 pm 

Replies: 5
Views: 211


sinkfaze wrote:
The UI has drastically changed for Windows 7, there was no guarantee that those old WM_COMMAND messages would still work.
I'm @ XP (see OP)

 Forum: Support   Topic: sendmessage + explorer toolbarwindow323

Posted: November 10th, 2011, 10:58 am 

Replies: 5
Views: 211


Thanks - but my question is actually how can I postmessage this control - I have already shortcuts to create a folder.
What am I doing wrong ??? :frustration:

 Forum: Support   Topic: sendmessage + explorer toolbarwindow323

Posted: November 9th, 2011, 7:37 pm 

Replies: 5
Views: 211


Trying to send a message to the windows explorer menu in XP to create a new folder What I tried is : SendMessage, 0x111,30720,,,A This would work for a menu but apparently the menu is a toolbarwindow32 control whose controlNN is toolbarwindow323 I wrote this but still nothing : #SingleInstance Force...

 Forum: Support   Topic: Multiple variable assigns on same line

Posted: November 6th, 2011, 1:59 pm 

Replies: 7
Views: 496


x=1, y=2 ;DOESN'T WORK (get: x := "1, y=2") x:=1, y=2 ;WORKS (get: x=1, y=2) If this isn't a bug, then the docs should really state that the " first expression in line must contain an ':=' in it " Well even if the first one is a := : AHKStack_Delimiter := "`...

 Forum: Scripts   Topic: [tool] WinEventHook Messages

Posted: October 16th, 2011, 4:24 pm 

Replies: 23
Views: 12897


I have recently tried to use the notepad popup blocker example but the first two parameters in the call to SetWinEventHook() set to 0x15. It seems that WinGetClass can not handle the hWnd parameter given by this message for switch_end. I can use MsgBox to see that hWnd is given a number and so the ...

 Forum: Support   Topic: Default length of double click for renaming a file in XP ?

Posted: September 28th, 2011, 6:54 pm 

Replies: 31
Views: 3290


Works in 7 Thanks !! :) And it really works in 7z edit control (and others I am sure :) ) Brilliant !! at some point I was getting the highlight filename with no extension in the edit control in 7z - did you change the code at some point (like moving a hwndedit_last:=hwndedit, and deleting a filenam...

 Forum: Support   Topic: Default length of double click for renaming a file in XP ?

Posted: September 24th, 2011, 5:55 pm 

Replies: 31
Views: 3290


Thank you very much indeed - I will be testing it ASAP - gave up on trying to understand it :D

 Forum: Support   Topic: Default length of double click for renaming a file in XP ?

Posted: September 23rd, 2011, 11:00 am 

Replies: 31
Views: 3290


@JSLover : very glad to see you back :) My attempt at your script (which is beyond my ahk skills) is clumsy, buggy and unholy ! Still I would suggest dropping the xp renaming scheme - nobody would want that - and point to a way of adding this functionality to more controls (like 7z dialogue for inst...

 Forum: Support   Topic: Notepad ++ code support

Posted: March 6th, 2011, 1:53 pm 

Replies: 57
Views: 2486


and the rest of the file <KeyWord name="local" /> <KeyWord name="Lock" /> <KeyWord name="Log" func="yes"> <Overload retVal=""> <Param name="Number" /> </Overload> </KeyWord> <KeyWord name="Logoff" /> <KeyWord name="Loop"...

 Forum: Support   Topic: Notepad ++ code support

Posted: March 6th, 2011, 1:46 pm 

Replies: 57
Views: 2486


Oops - yes - sorry- this code is from an Autohotkey.xml file located in %Programs%\Notepad++\Plugins\apis - it is not related to the files you posted (that's why I put -------------) This file is used for function/keyword autocompletion - and function calltips. The one I am using is : <?xml version=...

 Forum: Support   Topic: Notepad ++ code support

Posted: March 5th, 2011, 3:27 pm 

Replies: 57
Views: 2486


Thanks for the update - will check it out though I am now using another ---------------------- On calltips for function parameters - I think the line : <Environment ignoreCase="yes" startFunc="(" stopFunc=")" paramSeparator="," terminal=";" /...

 Forum: Support   Topic: run, c:\ weirdness on windows 7 x64

Posted: February 22nd, 2011, 1:31 pm 

Replies: 2
Views: 221


Firstly, Run launches the command. What happens after that generally has nothing to do with AutoHotkey. Secondly, why is your second script commented out? As it is, it is identical in function to your first script. I presume you mean for us to uncomment it. Finally, I get the same behaviour either ...

 Forum: Support   Topic: run, c:\ weirdness on windows 7 x64

Posted: February 14th, 2011, 1:20 pm 

Replies: 2
Views: 221


[Moderator's note: Moved topic from Bug Reports to Ask for Help.] a very simple script like : #+C::run,c:\ works as expected while this : +#C::run, C:\ ; +#D::Gosub,ExploreDrive ; Explore Drive D: ExploreDrive: ; lastkey=%A_THISHOTKEY% ; StringRight,Drv,LastKey,1 ; Driv=%DRV%:\ ; ifExist,%Driv% ; R...
Sort by:  
Page 1 of 11 [ Search found 164 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group