AutoHotkey Community

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

All times are UTC [ DST ]


Search found 15 matches
Search these results:

Author Message

 Forum: Support   Topic: Trouble about ahk_class. The ahk_class id changed

Posted: March 1st, 2009, 3:29 am 

Replies: 15
Views: 1336


TheLaughingMan wrote:
iirc you should change

if (class = pads_family)

to

if (class == pads_family)

equality is non numeric ;)..


I tested. both way do work.
Thks

 Forum: Support   Topic: Trouble about ahk_class. The ahk_class id changed

Posted: February 28th, 2009, 3:21 pm 

Replies: 15
Views: 1336


Use the output variable from WinGet instead of the literal ID number. for example WinGet, selectedWin .... IfWinActive, selectedWin .... Thank you! I think your way do work. but I find another way. <#z:: ;Simulate mouse click. #IfWinActive pads_family=Afx:00400000:b:00010011:00000006 WinGetClass, c...

 Forum: Support   Topic: Trouble about ahk_class. The ahk_class id changed

Posted: February 28th, 2009, 3:44 am 

Replies: 15
Views: 1336


I'm not too farmiliar with RegEx so perhaps it will work. I think that were your going wrong is you have to pre find the target windows ahk_class before hand (if its changing). Use WinGetClass to specify a target class. As a side note, I belive you can also use the Unique ID/HWND Process ID and eve...

 Forum: Support   Topic: Trouble about ahk_class. The ahk_class id changed

Posted: February 27th, 2009, 3:08 pm 

Replies: 15
Views: 1336


I tried but not succeeded. I don't know why. :oops: #IfWinActive ahk_class [color=red]ahk_class[/color] Afx:00400000:8:00010013:00000000:3CB00375 The code above also works only when the ahk_class are exactly matched. if they are different , they don't work either. why?

 Forum: Support   Topic: Trouble about ahk_class. The ahk_class id changed

Posted: February 27th, 2009, 2:58 pm 

Replies: 15
Views: 1336


It works!! the following code is tested. SetTitleMatchMode, RegEx #IfWinActive ahk_class Calc ; actual ahk_class is SciCalc ^z::WinClose, A #IfWinActive The code above in my PC doesn't work too! My AutoHotKey is the newest version. I test both 1.0.47.06 and 1.0.48. They all not work. Can you help m...

 Forum: Support   Topic: Trouble about ahk_class. The ahk_class id changed

Posted: February 27th, 2009, 2:23 pm 

Replies: 15
Views: 1336


Do you know RegEx? Unfortunately, I do not. Refer AHK Documentation for SetTitleMatchMode, RegEx Edit: I think the following might work: [color=black]SetTitleMatchMode, RegEx #IfWinActive ahk_class Afx:00400000:b:00010013:00000006: ;... #IfWinActive[/color] I tried but not succeeded. I don't know w...

 Forum: Support   Topic: Trouble about ahk_class. The ahk_class id changed

Posted: February 27th, 2009, 2:17 pm 

Replies: 15
Views: 1336


You've got to find the ahk_class 1st and set it to a variable. but how? the ahk_class is changing on every instance. ahk_class Afx:00400000:b:00010013:00000006:00310DBB ahk_class Afx:00400000:b:00010013:00000006:02E10D4B ahk_class Afx:00400000:b:00010013:00000006:000F0DED ahk_class Afx:00400000:b:0...

 Forum: Support   Topic: Trouble about ahk_class. The ahk_class id changed

Posted: February 27th, 2009, 8:47 am 

Replies: 15
Views: 1336


How to deal the windows with it's AHK_CLASS & title changes

 Forum: Support   Topic: Trouble about ahk_class. The ahk_class id changed

Posted: February 27th, 2009, 8:15 am 

Replies: 15
Views: 1336


Dear everyone, I'm newer. I just want to define some hot key about my program. but I found the ahk_class changed on every instance. I tried SetTitleMatchMode, 2 , and want to mach the title. but I cannot get the right result. as the preceding part of the title always changed. My question is: 1.what ...

 Forum: Scripts   Topic: Deluxe Clipboard

 Post subject: Re: Deluxe Clipboard
Posted: January 28th, 2008, 6:51 am 

Replies: 55
Views: 29357


I needed a tool to help rearranging brainstorming texts into structured documents. Named clipboards were of a great help, with instructive names like Introduction, Actions, Function, References, etc. To facilitate these I wrote the following Deluxe Clipboard AHK script. Currently it only works with...

 Forum: Scripts   Topic: Alt+LButton window dragging

Posted: January 28th, 2008, 6:19 am 

Replies: 19
Views: 4309


I was not entirely happy with the existing scripts for doing this, so I ended up writing my own. The script itself is a bit simpler then the others for a couple reasons: 1) I did not write or include any other functionality besides window dragging 2) The logic for moving the window is a bit simpler...

 Forum: Support   Topic: Screen marker hotkey?

Posted: January 27th, 2008, 5:42 pm 

Replies: 6
Views: 1357


Can you explain why use "KeyWait Lwin," for me ? I'm newer. Thanks a lot.

 Forum: Support   Topic: How to switch the Left and Right mouse keys?

Posted: January 27th, 2008, 4:12 pm 

Replies: 6
Views: 552


Anonymous wrote:
Code:
DllCall("SwapMouseButton",int,true) ; false

Thank you!
It really works!

 Forum: Support   Topic: How to switch the Left and Right mouse keys?

Posted: January 18th, 2008, 1:02 pm 

Replies: 6
Views: 552


BoBo¨ wrote:
Why not change it directly within XPs control panel ("Mouse -> Switch primary & secondary buttons")?


:o :o I just want to have a hotkey! A shortcut!

 Forum: Support   Topic: How to switch the Left and Right mouse keys?

Posted: January 18th, 2008, 12:18 pm 

Replies: 6
Views: 552


I'm a beginner. Just want to use a hotkey to switch my mouse from right-hand to left-hand ? but how?

I had thought to use the following codes:

RButton:: LButton
LButton:: RButton

It seem do. but how to switch back?

:oops: :oops:
Sort by:  
Page 1 of 1 [ Search found 15 matches ]


All times are UTC [ DST ]


Powered by phpBB® Forum Software © phpBB Group