| View previous topic :: View next topic |
| Author |
Message |
imapow
Joined: 13 Mar 2008 Posts: 162 Location: Trøndelag, Norway
|
Posted: Fri Jun 06, 2008 7:27 am Post subject: more gui link options |
|
|
| Code: |
gui, add, text,
(
mouseover(mo)
rigthclick(rc)
leftclick(lc)
dblleftclick(dlc)
dblrigthclick(drc)
), some text
return
mo:
msgbox, mouseover
return
rc:
msgbox, rigthclick
return
lc:
msgbox, leftclick
return
dlc:
msgbox, dblleftclick
return
drc:
msgbox, dblrigthclick
return |
_________________ -._.-¨¯¨-._.-IM@PΩW-._.-¨¯¨-._.- |
|
| Back to top |
|
 |
corrupt
Joined: 29 Dec 2004 Posts: 2402
|
Posted: Sat Jun 07, 2008 5:10 am Post subject: |
|
|
| Although I agree that it might be handy to have built-in handling available, as you may already realize, the functionality does currently exist (have a look at OnMessage() and maybe also RegisterCallback() in the help documentation). |
|
| Back to top |
|
 |
Red Hat Dude Guest
|
Posted: Mon Jun 16, 2008 2:55 am Post subject: |
|
|
Although I have moved up to "advanced noob" status in AHK, OnMessage confuses the hell out of me. I've tried learning c++ before. I'm no programmer.
However, I did manage to get OnMessage to work in one of my scripts. The only trouble now is figuring out how to detect messages from a window other than an AHK gui. Like, say, a standard Notepad window. Well, I'll tackle that one when I'm faced with the issue again. |
|
| Back to top |
|
 |
Guest
|
Posted: Mon Jun 16, 2008 4:26 am Post subject: |
|
|
| Red Hat Dude wrote: | | The only trouble now is figuring out how to detect messages from a window other than an AHK gui. | http://www.autohotkey.com/forum/topic19367.html |
|
| Back to top |
|
 |
|