| Author |
Message |
Forum: Suggestions Topic: Cloning the mouse pointer |
| winger |
|
Posted: August 3rd, 2009, 7:44 am
|
|
Replies: 1 Views: 574
|
| I assume this aint close to reality but since I m a total noob I ll ask it anyways: Isnt there a way to get 2 mouse pointers at the same time? I have 2 monitors and usually have 1 application open at the same time on each screen so if I wanted to control the application on my 2nd screen that I m not... |
|
 |
Forum: Support Topic: Running a script and using the comp at the same time? |
| winger |
|
Posted: January 24th, 2009, 4:27 pm
|
|
Replies: 1 Views: 310
|
Is it possible to run a script on one application while I am using another application at the same time?
Like for example if I want to surf around while my macro does some boring stuff i need to wait for until it finishes, or do I have to leave the comp totally alone until the script has finished? |
|
 |
Forum: Support Topic: Why does'nt the condition become true? |
| winger |
|
Posted: January 24th, 2009, 7:21 am
|
|
Replies: 3 Views: 327
|
|
 |
Forum: Support Topic: Why does'nt the condition become true? |
| winger |
|
Posted: January 22nd, 2009, 12:06 pm
|
|
Replies: 3 Views: 327
|
Why doesnt this condition become true?
Code: valueone := 3 valuetwo := 3
If valueone = valuetwo { MsgBox The variables contains the same values! }
|
|
 |
Forum: Support Topic: constants and include files |
| winger |
|
Posted: December 20th, 2008, 7:25 pm
|
|
Replies: 8 Views: 476
|
Yeah, I am sorry for asking about stuff thats in the manual. However, at times it s just a faster way when you re not certain of whats wrong with your code.
n00bs 4ever  |
|
 |
Forum: Support Topic: constants and include files |
| winger |
|
Posted: December 20th, 2008, 6:08 pm
|
|
Replies: 8 Views: 476
|
| Ok, it seems to be a problem with fetching the constants from within the functions in the functions.ahk file. It does work ouside the function declaration, so the X and Y in the Messagebox declaration will be set to the correct values but not the X and Y inside the function. What gives? ;file: funct... |
|
 |
Forum: Support Topic: constants and include files |
| winger |
|
Posted: December 20th, 2008, 2:25 pm
|
|
Replies: 8 Views: 476
|
| Did you make sure the #include statement is placed before any references to the included variables? Heres how it works. I got 3 files. 1. main.ahk 2. functions.ahk 3. constants.ahk main.ahk calls functions in the functions.ahk file. The functions.ahk file fetches static values from the constants.ah... |
|
 |
Forum: Support Topic: constants and include files |
| winger |
|
Posted: December 20th, 2008, 2:03 pm
|
|
Replies: 8 Views: 476
|
| I got this huge list of values that never change inside of the application I wish to control with my script. Currently, I ve defined all those values in another ahk file and just referenced it as an include file in the my main ahk file but when trying to use any of the constants from the include fil... |
|
 |
Forum: Support Topic: Gettin coordinates from a window - argh |
| winger |
|
Posted: December 15th, 2008, 3:49 pm
|
|
Replies: 4 Views: 701
|
|
 |
Forum: Support Topic: Gettin coordinates from a window - argh |
| winger |
|
Posted: December 14th, 2008, 11:26 am
|
|
Replies: 4 Views: 701
|
guestBoy wrote: Use the command wingetpos
Scratch that.
The bloody mouse pointer changes to it s application specific pointer when it hovers over the window even without the window being active.
I m curious as to what a workaround to that might look like.
Hm. |
|
 |
Forum: Support Topic: Gettin coordinates from a window - argh |
| winger |
|
Posted: December 14th, 2008, 11:08 am
|
|
Replies: 4 Views: 701
|
| Aye well, this might be a trivial problem but nevertheless annoying as it is. Trying to get precise coordinates from the window in which the program I m writing a script for runs in. Problem is that when the pointer hovers over the window with it activated to make the autoit win spy disply it s coor... |
|
 |
Forum: Support Topic: ImageSearch - pulling my last strands of hair out! |
| winger |
|
Posted: December 5th, 2008, 8:17 am
|
|
Replies: 5 Views: 550
|
| ImageSearch usually throws ErrorLevel 2 when it couldn't find/open the image file. Aye, it s working alright now. Can t beleive how stuck you get at times, on the simplest of things. WinActivate, WindowsX ImageSearch,OutputVarX,OutputVarY,470,723,570,803,*50 *w67 *h21 D:\AutoHotScripts\isJumping.bmp |
|
 |
Forum: Support Topic: ImageSearch - pulling my last strands of hair out! |
| winger |
|
Posted: December 4th, 2008, 10:29 pm
|
|
Replies: 5 Views: 550
|
Anonymous wrote: ...
Hm, I m just reading the help file a bit too slopy I guess.
Anyway, all I get back from the function is a 2, indicating that the entire operation has failed and I cant even figure out what I m doing wrong. |
|
 |
Forum: Support Topic: ImageSearch - pulling my last strands of hair out! |
| winger |
|
Posted: December 4th, 2008, 9:35 am
|
|
Replies: 5 Views: 550
|
| This thing just plain aint working! The ErrorLevel reports back a failure no matter how I configure these params. The ImageFile name and path must be enclosed in quotation marks when calling the function? Like .. "d:\blahblah\blah.bmp" or somesuch? It doesnt show in the help examples or an... |
|
 |
Forum: Support Topic: functions return value |
| winger |
|
Posted: December 3rd, 2008, 4:59 pm
|
|
Replies: 1 Views: 477
|
Why doesnt this expression return anything?
Code: func_GetRandomNumber() { Random, Return, 1000, 2500 }
To get something back from the funcction I have to do
Code: func_GetRandomNumber() { Random, Rnd, 1000, 2500 Return Rnd }
|
|
 |
| Sort by: |