| Author |
Message |
Topic: Tooltip text repetition |
Roland
Replies: 5
Views: 115
|
Forum: Bug Reports Posted: Thu Mar 11, 2010 11:10 am Subject: Tooltip text repetition |
WinGetTitle, Title, new file - metapad,, ahk_class tooltips_class32
By my understanding this should exclude the tooltip window.
ahk_class, ahk_pid, etc. are only valid in the WinTitle paramete ... |
Topic: AutoHotkey_L : Arrays, Debugger, #If expression, etc. |
Roland
Replies: 436
Views: 82277
|
Forum: Scripts & Functions Posted: Sat Jan 23, 2010 4:08 pm Subject: AutoHotkey_L : Arrays, Debugger, #If expression, etc. |
| You could wrap your object into another object, and define meta-functions for the wrapping object. Then the set meta function can both update the wrapped object and do other stuff. Perhaps that's a bi ... |
Topic: AutoHotkey_L : Arrays, Debugger, #If expression, etc. |
Roland
Replies: 436
Views: 82277
|
Forum: Scripts & Functions Posted: Wed Jan 06, 2010 11:20 pm Subject: AutoHotkey_L : Arrays, Debugger, #If expression, etc. |
In the Debug example from the documentation, the warning gets triggered by assigningments for Set and Call, but simply re-ordering the meta-function assignments fixes it:
; was get, set, call
&q ... |
Topic: How to Drag icon over another window |
Roland
Replies: 5
Views: 215
|
Forum: Ask for Help Posted: Tue Dec 29, 2009 3:56 pm Subject: How to Drag icon over another window |
My script is just an example, you'll need to modify it. I used a GUI without titlebar and borders so the code to calculate the offset would be simple.
What you do when the user "drops" t ... |
Topic: How to Drag icon over another window |
Roland
Replies: 5
Views: 215
|
Forum: Ask for Help Posted: Mon Dec 28, 2009 6:30 pm Subject: How to Drag icon over another window |
Something like this I imagine:
#NoEnv
#SingleInstance force
Gui, -caption +0x800000
Gui, Margin, 5, 5
Gui, Add, Pic, vpic gpicClicked icon110, shell32.dll
Gui, 2: +toolwindow +lastfound
... |
Topic: How to create autoincrement line numbers in gui edit box. |
Roland
Replies: 5
Views: 230
|
Forum: Ask for Help Posted: Sat Dec 19, 2009 8:54 pm Subject: How to create autoincrement line numbers in gui edit box. |
Well, here's my rather hacked attempt... You probably want to avoid the timer, just couldn't seem to be able to use OnMessage() with WM_VSROLL (think it get's sent to the control directly...).
... |
Topic: Funny local variable behavior |
Roland
Replies: 14
Views: 706
|
Forum: Bug Reports Posted: Thu Dec 03, 2009 10:43 pm Subject: Funny local variable behavior |
It's the #NoEnv directive that's causing this to happen  |
Topic: GUI window size & added picture affect control location |
Roland
Replies: 7
Views: 251
|
Forum: Ask for Help Posted: Sat Oct 17, 2009 5:22 pm Subject: GUI window size & added picture affect control location |
Thanks jaco  |
Topic: GUI window size & added picture affect control location |
Roland
Replies: 7
Views: 251
|
Forum: Ask for Help Posted: Sat Oct 17, 2009 4:17 pm Subject: GUI window size & added picture affect control location |
Nice What's 0x201? Apart from WM_LBUTTONDOWN  |
Topic: GUI window size & added picture affect control location |
Roland
Replies: 7
Views: 251
|
Forum: Ask for Help Posted: Sat Oct 17, 2009 4:00 pm Subject: GUI window size & added picture affect control location |
I think you've misunderstood what "center" does: It centers the contents of the text control within the control itself; it doesn't center the control within the GUI.
Anyway, here's my sol ... |
Topic: Same Program, new problem |
Roland
Replies: 1
Views: 120
|
Forum: Ask for Help Posted: Fri Oct 09, 2009 8:09 pm Subject: Same Program, new problem |
if CNN <> 'ClaText_01000000H1'
I don't think you want the quotes here. |
Topic: Can a control be made transparent? |
Roland
Replies: 10
Views: 569
|
Forum: Ask for Help Posted: Sat Oct 03, 2009 11:10 pm Subject: Can a control be made transparent? |
How about a different approach:
#NoEnv
#SingleInstance force
#Persistent
OnExit exit
WinWait Save As
ControlGetPos, x, y, w, h, Edit1
WinSet, Region, %x%-%y% w%w% h%h%
return
esc: ... |
Topic: Activate only when Desktop has focus |
Roland
Replies: 5
Views: 234
|
Forum: Ask for Help Posted: Sat Oct 03, 2009 10:58 pm Subject: Activate only when Desktop has focus |
Use the window title? I.e.
IfWinActive Program Manager ahk_class Progman |
Topic: Help formatting a MsgBox statement |
Roland
Replies: 4
Views: 157
|
Forum: Ask for Help Posted: Thu Oct 01, 2009 9:07 pm Subject: Help formatting a MsgBox statement |
MsgBox,
( join
The active window is "%Title%!`nfocus!%OutputVarFoc%!`nx=!%OutputVarX%!`ny=!%OutputVarY%!
`nid=!%OutputVarWin%!`nctl=!%OutputVarControl%!`nmouse_win!%Mtitle%!
)
? |
Topic: GUI bei Klick auf Schließen/Min. in SysTray ohne zu beenden? |
Roland
Replies: 2
Views: 197
|
Forum: Ask for Help Posted: Thu Oct 01, 2009 1:16 am Subject: GUI bei Klick auf Schließen/Min. in SysTray ohne zu beenden? |
Geht leider nur etwas umstaendlich ueber das GuiSize label:
Menu, Tray, noStandard ; optional
; add tray menu item to restore GUI
Menu, Tray, Add, Show, Show
; make it the default, so the ... |
| |