| Author |
Message |
Topic: Frustration.... |
Traderhut
Replies: 9
Views: 289
|
Forum: Ask for Help Posted: Mon Apr 07, 2008 12:19 am Subject: Sigh... My Fault 2.. |
Greetings,
I just noticed two bugs.....
filename = "foo"
image := "c:\images\"
image := image . filename . ".gif"
Which created a filename of c:\images\& ... |
Topic: Frustration.... |
Traderhut
Replies: 9
Views: 289
|
Forum: Ask for Help Posted: Sun Apr 06, 2008 11:19 pm Subject: More Frustration.... |
| I've had strangeness with calling 'Foo ()' and having it ignore the whole line..AutoHotkey treats it as a function call only if '(' directly follows the function name. Spaces are not allowed. It is on ... |
Topic: Frustration.... |
Traderhut
Replies: 9
Views: 289
|
Forum: Ask for Help Posted: Sun Apr 06, 2008 8:47 pm Subject: Yeah, it's documented, but it still cost me 2 hours.. |
I've had strangeness with calling 'Foo ()' and having it ignore the whole line..
(Do you see the error in the above? I found it in under 2 HOURS) The space char?? But not to get a response from AutoH ... |
Topic: ImageSearch is flakey |
Traderhut
Replies: 7
Views: 392
|
Forum: Bug Reports Posted: Sun Apr 06, 2008 5:47 am Subject: Not completely... |
Actually, it is still flaky...
If I pass 0,0,500,500 into it it pukes with ErrorLevel 2 as well..
I'm wondering if it is failing because the stupid machine is in 16 bit color depth, and the bmp ... |
Topic: ImageSearch is flakey |
Traderhut
Replies: 7
Views: 392
|
Forum: Bug Reports Posted: Sun Apr 06, 2008 5:27 am Subject: Some times you feel like a nut.... |
SORRY, MY Fault...
My wrapper function did this:
ImageSearch FoundX,FoundY,x,y,x+width,x+height, c:\images\%image%.gif
Not, what I said in the original message.... The 2nd x should have bee ... |
Topic: Frustration.... |
Traderhut
Replies: 9
Views: 289
|
Forum: Ask for Help Posted: Sun Apr 06, 2008 2:06 am Subject: Figured out part... |
The function 'GuiControl starts off with a phamtom argument... If you say:
GuiControl,Foo,Hi
It will complain that argument 1 (Foo) is invalid.
If you say:
GuiControl,,Foo,hi
It will ... |
Topic: ImageSearch is flakey |
Traderhut
Replies: 7
Views: 392
|
Forum: Bug Reports Posted: Sat Apr 05, 2008 8:55 pm Subject: Sigh.. |
Ok, the x1, y1, x2, y2 are constant.
the game is 2D, using a terminal emulator - I can screen capture it with 'snagit32' or any other screen capture program.. It is a simple window with simple draw ... |
Topic: Frustration.... |
Traderhut
Replies: 9
Views: 289
|
Forum: Ask for Help Posted: Sat Apr 05, 2008 8:25 pm Subject: Frustration.... |
AHK has been really super cool, and REALLY super frustrating!
I've had strangeness with calling 'Foo ()' and having it ignore the whole line..
(Do you see the error in the above? I found it in un ... |
| |