AutoHotkey Community

It is currently May 24th, 2012, 8:02 am

All times are UTC [ DST ]


Search found 51 matches
Search these results:

Author Message

 Forum: Support   Topic: iterative partial hotstring expansion, possible?

Posted: April 5th, 2012, 3:56 pm 

Replies: 3
Views: 95


Check out Typing Aid http://www.autohotkey.com/forum/topic53630.html&highlight=typing+aid doesn't work as you describe but will show you partial matches which you can select and tab-complete. Closest you will get I think. (by far the easiest) Thanks for your reply. Yes, I already use this! the ...

 Forum: Support   Topic: iterative partial hotstring expansion, possible?

Posted: April 5th, 2012, 3:13 pm 

Replies: 3
Views: 95


hi, I would like to have a hotstring respond to partial iterative completion like ksh does. For example, typing cd /cyg<tab> produces cd /cygdrive/ but then another tab produces cd /cygdrive/d/ Note that this is different than defining a hotstring via a regular expression since the first <tab> accou...

 Forum: Support   Topic: Difference between IfWinActive and #IfWinActive

Posted: March 22nd, 2012, 4:19 pm 

Replies: 7
Views: 265


SetTitleMatchMode 2 WinGetActiveTitle Title ... Yes, this works great as long as you are using IfWinActive instead of #IfWinactive . I think the bottom line is that if you plan to use #IfWinactive, then you should have only one SetTitleMatchMode in your script because multiple SetTitleMatchMode won...

 Forum: Support   Topic: Difference between IfWinActive and #IfWinActive

Posted: March 21st, 2012, 2:20 pm 

Replies: 7
Views: 265


In your example, the {} after #ifwinactive aren't needed. ... Thank you for your excellent explanation. This should be in the main documentation. One more thing, using either #Ifwinactive or Ifwinactive, does settitlematchmode affect these from that line forward in the script? In other words, Is th...

 Forum: Support   Topic: Difference between IfWinActive and #IfWinActive

Posted: March 20th, 2012, 10:56 pm 

Replies: 7
Views: 265


Can somebody please explain the difference between IfWinActive and #IfWinActive? I have a script where a define a number of hotkeys that are dependent on the context of the particular active window. The trick is that I need to use different SetTitleMatchMode's for each case since the window titles a...

 Forum: Support   Topic: how to wait for context menu (i.e. appskey) pop-up?

Posted: October 29th, 2011, 2:57 pm 

Replies: 5
Views: 366


WinWait, ahk_class #32768 I use this in my scripts. #32768 is the class of (I think) any context menu window. This doesn't seem to work if the right-click occurs inside of an application window. It only works with windows explorer. For example, if I right-click inside of a Firefox window, the conte...

 Forum: Support   Topic: how to wait for context menu (i.e. appskey) pop-up?

Posted: October 26th, 2011, 7:30 pm 

Replies: 5
Views: 366


nfl wrote:
Code:
WinWait, ahk_class #32768
I use this in my scripts. #32768 is the class of (I think) any context menu window.


Thanks. This works great! How can you interrogate what's presented in the pop-up context menu to make sure it is "safe" for the rest of the script to continue?

Thanks!

 Forum: Support   Topic: how to wait for context menu (i.e. appskey) pop-up?

Posted: October 26th, 2011, 4:48 pm 

Replies: 5
Views: 366


Hi, A script needs something on the context menu obtained either by right-click or by appskey. The trick is that sometimes the pop-up context menu takes an unpredictable time to load, so I need a way of detecting whether or not the context menu is ready for subsequent actions before the rest of the ...

 Forum: Support   Topic: Detecting window transitions without SetTimer?

Posted: July 22nd, 2010, 9:37 pm 

Replies: 2
Views: 225


How to Hook on to Shell to receive its messages? Thanks. I think I boiled it down to this: #Persistent Gui +LastFound DllCall( "RegisterShellHookWindow", UInt,WinExist() ) MsgNum := DllCall( "RegisterWindowMessage", Str,"SHELLHOOK" ) OnMessage&#...

 Forum: Support   Topic: Detecting window transitions without SetTimer?

Posted: July 22nd, 2010, 5:33 pm 

Replies: 2
Views: 225


I'm trying to detect window transitions, for example, the kind you get by doing Alt+TAB, without using a SetTimer loop. Is there a way to detect when the focus has shifted between windows?

Thanks in advance.

 Forum: Scripts   Topic: embed python

Posted: July 22nd, 2010, 5:29 pm 

Replies: 16
Views: 9227


Sure, Here is an example..... Thanks for the excellent example! I have been carefully studying it. It seems like only purpose of the ahkpython.ahk script is to provide a staging area for the functions that are going to be injected from the Python process. Is that right? In that case, the ahkpython....

 Forum: Scripts   Topic: RegEx Powered Dynamic Hotstrings

Posted: July 2nd, 2010, 2:54 pm 

Replies: 170
Views: 23929


It's not the only way, it's just a merge with the original script and your example. Thank you. This is very useful. Basically, the technique is to use the Alt+157 character as a proxy for the ESC key and then somehow loop through and replace it with the ESC-key in the regular expression. Furthermor...

 Forum: Scripts   Topic: RegEx Powered Dynamic Hotstrings

Posted: July 2nd, 2010, 1:26 am 

Replies: 170
Views: 23929


Zaelia wrote:
Maybe this can help you (use google translator french to english if needed)
http://www.autohotkey.com/forum/viewtop ... 396#365396

In other you must enhance this function with your "new" key


sadly, google translate is not helping much with this. Can you translate just a little?

 Forum: Scripts   Topic: RegEx Powered Dynamic Hotstrings

Posted: July 1st, 2010, 6:36 pm 

Replies: 170
Views: 23929


Can you mix hotkeys in as in:

Code:

hotstrings("{Escape}([A-z])", "%$1%{Up}{Enter}")


using Hotstrings.ahk or something else?

thanks.

 Forum: Support   Topic: Error mapping #{Space} hotkey?

Posted: July 1st, 2010, 6:04 pm 

Replies: 1
Views: 222


Hi,

Why doesn't

Code:
 #{Space}:: Send {Up}


work? Whereas

Code:
#k:: Send {Up}


works fine. Is there a way to get the #{Space} to work?

Thanks.
Sort by:  
Page 1 of 4 [ Search found 51 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group