| Author |
Message |
Topic: How do I find out whether the screen is locked? |
AHKIsTheBest
Replies: 2
Views: 88
|
Forum: Ask for Help Posted: Sat Jun 18, 2011 3:43 pm Subject: How do I find out whether the screen is locked? |
Hello,
how do I find out whether the screen is locked, in an AHK script?
More details: the screen is always running (permanent loop), and does some bookkeeping, nothing GUI related, no MsgBox et ... |
Topic: Forcing window movement |
AHKIsTheBest
Replies: 5
Views: 259
|
Forum: Ask for Help Posted: Sat May 01, 2010 8:50 pm Subject: Forcing window movement |
The code is trivial...
loop
{
IfWinExist, ahk_class _EverQuestwndclass
{
WinMove, 20, 20
MsgBox, OK!
}
Sleep, 1000
}
It tells me & ... |
Topic: Forcing window movement |
AHKIsTheBest
Replies: 5
Views: 259
|
Forum: Ask for Help Posted: Sat May 01, 2010 12:47 pm Subject: Forcing window movement |
Hello,
I have a game (EQ1) which refuses to let its window be moved. I.e., I can successfully find it with IfWinExist, but the following WinMove just doesn't do anything.
The game window "f ... |
Topic: Resizing window function |
AHKIsTheBest
Replies: 8
Views: 431
|
Forum: Ask for Help Posted: Sat May 01, 2010 12:43 pm Subject: Resizing window function |
| Check out SetWinDelay, as well. |
Topic: Detecting window dragging and resizing |
AHKIsTheBest
Replies: 0
Views: 435
|
Forum: Ask for Help Posted: Fri Mar 12, 2010 8:52 am Subject: Detecting window dragging and resizing |
Hello,
I would like to create a script that emulates the window dragging/resizing behaviour of Windows 7 (i.e., what happens if you drag the window to the top or size of the screen, or when you res ... |
Topic: Creating a transparent window, which contains a pixelSearch? |
AHKIsTheBest
Replies: 67
Views: 2799
|
Forum: Ask for Help Posted: Sun Nov 22, 2009 5:55 pm Subject: Creating a transparent window, which contains a pixelSearch? |
Loop
{
pixelSearch , TL , BR , 806 , 490 , 841 , 524 , 10 , fast
}
Endless loop... |
Topic: Creating a transparent window, which contains a pixelSearch? |
AHKIsTheBest
Replies: 67
Views: 2799
|
Forum: Ask for Help Posted: Sun Nov 22, 2009 3:48 pm Subject: Creating a transparent window, which contains a pixelSearch? |
| "Window" is a term with a very specific meaning in the GUI world, for example, it has a "window handle". I believe what you mean is just a gap in your GUI window, right? I'd sugges ... |
Topic: Creating a transparent window, which contains a pixelSearch? |
AHKIsTheBest
Replies: 67
Views: 2799
|
Forum: Ask for Help Posted: Sun Nov 22, 2009 8:43 am Subject: Creating a transparent window, which contains a pixelSearch? |
no the oposite.
only inside this window i whant a pixel search.
so it searches the color green.. only inside the window.
thanks
What do you mean by "window"? |
Topic: Hook window/dialog creation? |
AHKIsTheBest
Replies: 2
Views: 285
|
Forum: Ask for Help Posted: Sat Nov 21, 2009 10:11 pm Subject: Hook window/dialog creation? |
| That's it, thanks a lot. |
Topic: Hook window/dialog creation? |
AHKIsTheBest
Replies: 2
Views: 285
|
Forum: Ask for Help Posted: Sat Nov 21, 2009 9:29 pm Subject: Hook window/dialog creation? |
Hello,
how do I execute a function whenever a new window opens?
I want to automatically close certain dialogs (e.g., the ads from Avira AntiVir). I can of course use busy waiting and use IfWinEx ... |
Topic: Variable declarations - must declare variables before use |
AHKIsTheBest
Replies: 6
Views: 3398
|
Forum: Wish List Posted: Mon Nov 02, 2009 6:50 pm Subject: Re: Variable declarations - must declare variables before us |
I wish to add a feature to AHK that resembles Visual Basic's Option Explicit
More thoughts about this in the duplicate wish here: http://www.autohotkey.com/forum/viewtopic.php?p=307321 |
Topic: #Strict, #Warning |
AHKIsTheBest
Replies: 6
Views: 941
|
Forum: Wish List Posted: Mon Nov 02, 2009 6:49 pm Subject: Re: #Strict, #Warning |
Some of these are hard (or impossible) to detect.
Yup, things would need to be prioritized according to effort etc. . The list is just an example of some warnings. I guess almost any experienc ... |
Topic: #Strict, #Warning |
AHKIsTheBest
Replies: 6
Views: 941
|
Forum: Wish List Posted: Mon Nov 02, 2009 12:51 pm Subject: #Strict, #Warning |
Hello,
I suggest two pragmas which makes it harder to commit frequent errors. Of these two, #Warning is probably more useful, since it's less intrusive, and it's easy to add any amount of warnings ... |
Topic: avoid button tapping |
AHKIsTheBest
Replies: 5
Views: 283
|
Forum: Ask for Help Posted: Tue Oct 13, 2009 11:25 am Subject: avoid button tapping |
| AHKISTHEBEST, I've been looking for information about the A_TickCount and I cannot find anything. Would you be so kind to provide an example? Remember I'm a newbie and it's hard for me to understand m ... |
Topic: ahk-mode.el - editing AHK scripts with XEmacs |
AHKIsTheBest
Replies: 15
Views: 8284
|
Forum: Utilities & Resources Posted: Tue Oct 13, 2009 11:18 am Subject: ahk-mode.el - editing AHK scripts with XEmacs |
The original Ahk-Mode interferes with other modes by globally overwriting the variable 'indent-region-function'.
Here's a fix: http://gist.github.com/194210
In case anyone continues to maintain th ... |
| |