AutoHotkey Community

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

All times are UTC [ DST ]


Search found 4 matches
Search these results:

Author Message

 Forum: Support   Topic: $ not working

Posted: June 25th, 2009, 5:23 pm 

Replies: 8
Views: 544


WHACKSTER wrote:
#IfWinActive, ahk_class Notepad
$=::Send, abc


this works.


Thanks, it works.
BTW, ahk_class is not necessary.

#IfWinActive, Notepad
works fine too.

Just out of curiosity, why my code in the first post is not working?

 Forum: Support   Topic: $ not working

Posted: June 25th, 2009, 4:44 pm 

Replies: 8
Views: 544


WHACKSTER wrote:
this works for me:

#IfWinActive, ahk_group esctoclose
ESC::!F4

instead of the group you can use window title or ahk_class...

I am not sure how this works.

Can you post the code for the same function that I want to do?

 Forum: Support   Topic: $ not working

Posted: June 25th, 2009, 4:28 pm 

Replies: 8
Views: 544


I did set the match mode at the beginning.

SetTitleMatchMode 2 ;A window's title can contain WinTitle anywhere inside it to be a match.

BTW, if the match mode is not set, it should always send =, right? But it is on the contrary, it never sends =.

 Forum: Support   Topic: $ not working

 Post subject: $ not working
Posted: June 25th, 2009, 4:14 pm 

Replies: 8
Views: 544


I want to remap = button only when one application is activated. But it seems not working. It remaps for all applications. Here is my code: $=:: IfWinActive,Notepad { Send abc return } else { Send = } return So, what's wrong with my code? Thanks!
Sort by:  
Page 1 of 1 [ Search found 4 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group