| Author |
Message |
Topic: How do I pause another script? |
triwebb1
Replies: 4
Views: 166
|
Forum: Ask for Help Posted: Wed Apr 23, 2008 4:41 am Subject: How do I pause another script? |
Thank you very much for finding that for me - I should have looked harder... I will use that message code as it is very easy.
Anyway, I found my problem, and it was a silly one. I forgot to make ... |
Topic: How do I pause another script? |
triwebb1
Replies: 4
Views: 166
|
Forum: Ask for Help Posted: Wed Apr 23, 2008 12:27 am Subject: How do I pause another script? |
| That would defeat the purpose, I believe. Do you mean turn it on or off? I have it turned on. What I have is a manager script, and a worker script. I run one instance of the manager, and multiple ... |
Topic: How do I pause another script? |
triwebb1
Replies: 4
Views: 166
|
Forum: Ask for Help Posted: Wed Apr 23, 2008 12:01 am Subject: How do I pause another script? |
| Hi. I have several scripts running at once, and I want it so that when I hit the pause key they all pause. Does anyone know how to do this? I can make it work fine for one script, but when I run tw ... |
Topic: WinActivate not working... |
triwebb1
Replies: 4
Views: 256
|
Forum: Ask for Help Posted: Sat Apr 19, 2008 8:05 am Subject: WinActivate not working... |
| So I changed all instances of "pid" to "id" in my scripts, and now it all works great. I don't know why it doesn't work with pids, but it does with ids. I guess this may be a bug ... |
Topic: WinActivate not working... |
triwebb1
Replies: 4
Views: 256
|
Forum: Ask for Help Posted: Fri Apr 18, 2008 12:58 am Subject: WinActivate not working... |
| Ok, well here is the actual function (ReturnTokenWait) that is having the problem. It should also be noted that I have another function which also activates pidvar, and it does not work either, after ... |
Topic: WinActivate not working... |
triwebb1
Replies: 4
Views: 256
|
Forum: Ask for Help Posted: Fri Apr 18, 2008 12:48 am Subject: WinActivate not working... |
| It may very well be that the problem is in my real code, but I have about 5000 lines of code in it, and this part of it is intertwined with the message passing part, and an excerpt of that will not ma ... |
Topic: WinActivate not working... |
triwebb1
Replies: 4
Views: 256
|
Forum: Ask for Help Posted: Thu Apr 17, 2008 11:55 pm Subject: WinActivate not working... |
Hi. I have a pretty long and complicated macro that I am working on, and I have a silly problem. Here is a set of example scripts to show how I have things structured:
Main.ahk:
#Include Functio ... |
Topic: Include bmp files for ImageSearch without extracting? |
triwebb1
Replies: 17
Views: 669
|
Forum: Ask for Help Posted: Sun Mar 30, 2008 5:55 am Subject: Include bmp files for ImageSearch without extracting? |
| So do you not think this is going to work? Is this not possible? I don't know what to do from here. |
Topic: Include bmp files for ImageSearch without extracting? |
triwebb1
Replies: 17
Views: 669
|
Forum: Ask for Help Posted: Fri Mar 28, 2008 1:59 am Subject: Include bmp files for ImageSearch without extracting? |
| I should have thought of that... It still returns errorlevel=2 though. |
Topic: Include bmp files for ImageSearch without extracting? |
triwebb1
Replies: 17
Views: 669
|
Forum: Ask for Help Posted: Fri Mar 28, 2008 12:07 am Subject: Include bmp files for ImageSearch without extracting? |
Ok, so that worked - I can now compile modified SCs and have them work. Thank you very much for that.
However, the modification to allow ImageSearch to accept a handle doesn't seem to be working. ... |
Topic: Include bmp files for ImageSearch without extracting? |
triwebb1
Replies: 17
Views: 669
|
Forum: Ask for Help Posted: Thu Mar 27, 2008 7:35 am Subject: Include bmp files for ImageSearch without extracting? |
| If I create a new script on my desktop and try to compile it, I get that error. I am running XP, so there are no wierd permission problems... If I then copy the original SC into the compiler directo ... |
Topic: Include bmp files for ImageSearch without extracting? |
triwebb1
Replies: 17
Views: 669
|
Forum: Ask for Help Posted: Thu Mar 27, 2008 6:30 am Subject: Include bmp files for ImageSearch without extracting? |
I compiled the unmodified SC and tried using it to compile scripts with, and I get the same problem. This would indicate that the modifications you suggested are not the cause of my problem.
I not ... |
Topic: Include bmp files for ImageSearch without extracting? |
triwebb1
Replies: 17
Views: 669
|
Forum: Ask for Help Posted: Wed Mar 26, 2008 10:28 pm Subject: Include bmp files for ImageSearch without extracting? |
| Ah, that is what I was looking for... It compiles now. I got the modified sln files from [url=http://www.autohotkey.com/forum/viewtopic.php?t=19154compile+source]this thread and compi ... |
Topic: Include bmp files for ImageSearch without extracting? |
triwebb1
Replies: 17
Views: 669
|
Forum: Ask for Help Posted: Wed Mar 26, 2008 10:23 am Subject: Include bmp files for ImageSearch without extracting? |
| So I tried changing that one line to what you said, but I got an error when compiling. It said no object file was created... I am assuming that is because the original LoadPicture part of that line ... |
Topic: Include bmp files for ImageSearch without extracting? |
triwebb1
Replies: 17
Views: 669
|
Forum: Ask for Help Posted: Wed Mar 26, 2008 1:13 am Subject: Include bmp files for ImageSearch without extracting? |
So all I have to do is make the ImageSearch function accept a handle for the picture? Couldn't this be done by changing the
HBITMAP hbitmap_image = LoadPicture(aImageFile, width, height, image_ ... |
| |