| Author |
Message |
Topic: getDC / getPixel memory leak |
ifckladyluck
Replies: 3
Views: 224
|
Forum: Ask for Help Posted: Sun Jan 25, 2009 3:39 am Subject: getDC / getPixel memory leak |
this is true but getDC wouldnt get run very often since the numbr of windows doesnt change very frequently. the DC was meant to be kept open.
I figured out the leak it actually had to do with this ... |
Topic: is it possible to queue processes in AHK? |
ifckladyluck
Replies: 7
Views: 265
|
Forum: Ask for Help Posted: Sun Jan 25, 2009 1:41 am Subject: is it possible to queue processes in AHK? |
| thanks evan, sort of the idea im looking for but the problem with that code is that it is still linear, ie. 2nd loop click cant happen before 1st loop click |
Topic: is it possible to queue processes in AHK? |
ifckladyluck
Replies: 7
Views: 265
|
Forum: Ask for Help Posted: Sat Jan 24, 2009 10:48 pm Subject: is it possible to queue processes in AHK? |
this just clicks in a random location every half second. what I am interested in is for it to somehow assign a mouseclick in RND amount of seconds with every loop.
so, for example:
first loop
ra ... |
Topic: is it possible to queue processes in AHK? |
ifckladyluck
Replies: 7
Views: 265
|
Forum: Ask for Help Posted: Sat Jan 24, 2009 10:30 pm Subject: is it possible to queue processes in AHK? |
i am trying to do somethign that is logically equivalent to the code below. is this possible with AHK?
loop
{
randomNumber
click mouse button in RandomNumber seconds
sleep ... |
Topic: getDC / getPixel memory leak |
ifckladyluck
Replies: 3
Views: 224
|
Forum: Ask for Help Posted: Sat Jan 24, 2009 10:41 am Subject: getDC / getPixel memory leak |
| the purpose of this script is to grey out any window whose pixel at location (6,140) is not white, and then fade it back in when it is. The script works great except for the fact that it seems to use ... |
Topic: GDI help pasting window screenshot into GUI |
ifckladyluck
Replies: 1
Views: 201
|
Forum: Ask for Help Posted: Thu Jan 22, 2009 12:23 am Subject: GDI help pasting window screenshot into GUI |
figured this out.
this code actually works, but i just forgot to startup gdi via gdi_startup() |
Topic: Struggling with resizing windows ... |
ifckladyluck
Replies: 3
Views: 440
|
Forum: Ask for Help Posted: Wed Jan 21, 2009 3:25 pm Subject: Struggling with resizing windows ... |
use Monitor instead of MonitorWorkArea
http://www.autohotkey.com/docs/commands/SysGet.htm |
Topic: GDI help pasting window screenshot into GUI |
ifckladyluck
Replies: 1
Views: 201
|
Forum: Ask for Help Posted: Wed Jan 21, 2009 3:13 pm Subject: GDI help pasting window screenshot into GUI |
I am trying to grab a window screenshot and paste it into a GUI picture control. This is the code im using below. Could someone tell me what I am doing wrong?
#Include, Gdip.ahk
#NoEnv ; Recomme ... |
Topic: getDC |
ifckladyluck
Replies: 3
Views: 212
|
Forum: Ask for Help Posted: Wed Jan 21, 2009 10:37 am Subject: getDC |
im not sure what that means
this is the code I am using, my concern is that since its an infinite loop it will eventually start hogging up too much memory if I dont release it and have to.
... |
Topic: getDC |
ifckladyluck
Replies: 3
Views: 212
|
Forum: Ask for Help Posted: Wed Jan 21, 2009 9:24 am Subject: getDC |
| when using a dllcall to getDC, do you have to release/kill the DC after you are done with it ? |
Topic: loop/hotkey quesiton |
ifckladyluck
Replies: 6
Views: 277
|
Forum: Ask for Help Posted: Wed Jan 21, 2009 5:31 am Subject: loop/hotkey quesiton |
| The 1st problem is that the script never runs far enough to get to the loop. When you run the code you posted, it stops as soon as it hits End:: switch/=-1 (hotkeys mark the end of the Auto-Execute se ... |
Topic: loop/hotkey quesiton |
ifckladyluck
Replies: 6
Views: 277
|
Forum: Ask for Help Posted: Wed Jan 21, 2009 4:58 am Subject: loop/hotkey quesiton |
sorry i thought it was apparent.
just trying to toggle the tooltip on and off depending on when i press the endkey. |
Topic: loop/hotkey quesiton |
ifckladyluck
Replies: 6
Views: 277
|
Forum: Ask for Help Posted: Wed Jan 21, 2009 4:23 am Subject: loop/hotkey quesiton |
does anyone know why this isnt working? and if there is a better way to do this?
switch := 1
End:: switch/=-1
loop
{
if switch = 1
tooltip running
sleep 500
} |
Topic: Screen Capture with Transparent Windows and Mouse Cursor |
ifckladyluck
Replies: 108
Views: 46691
|
Forum: Scripts & Functions Posted: Wed Jan 21, 2009 12:57 am Subject: Screen Capture with Transparent Windows and Mouse Cursor |
if a window is semi-transparent, is there a way to make this take a screenshot of it as if it had 0 transparency?
Sure. Just use the window handle of a window instead of 0 when executing Get(Window)D ... |
Topic: Screen Capture with Transparent Windows and Mouse Cursor |
ifckladyluck
Replies: 108
Views: 46691
|
Forum: Scripts & Functions Posted: Tue Jan 20, 2009 10:41 pm Subject: Screen Capture with Transparent Windows and Mouse Cursor |
| if a window is semi-transparent, is there a way to make this take a screenshot of it as if it had 0 transparency? |
| |