Search found 5 matches

by Deafwave
29 Aug 2020, 00:51
Forum: Ask For Help
Topic: [v2] How to Multi-Thread Compiled Code?
Replies: 8
Views: 594

Re: [v2] How to Multi-Thread Compiled Code?

In that case move the var declaration inside the included file. Make the entire included script be a variable declaration like this: script := "( ... ... ... ... )" and then include that file. Unfortunately, this does not accomplish what is necessary either due to the includeMe.ahk file needing to ...
by Deafwave
29 Aug 2020, 00:11
Forum: Ask For Help
Topic: [v2] How to Multi-Thread Compiled Code?
Replies: 8
Views: 594

Re: [v2] How to Multi-Thread Compiled Code?

Hello, if #Include FULL_PATH_TO_FILE doesn't work then there is something wrong with the compiler. Let's try this: 1. Make an empty ahk script called compileMe.ahk 2. Make another ahk script called includeMe.ahk with this line only: msgbox("Im included") 3. Put this in "compileMe.ahk" #Include FULL...
by Deafwave
28 Aug 2020, 23:38
Forum: Ask For Help
Topic: [v2] How to Multi-Thread Compiled Code?
Replies: 8
Views: 594

Re: [v2] How to Multi-Thread Compiled Code?

The library thing that happens after compiling is because when you use #include with "<>" you are including it from one of the function library folders (predefined). You should try using #Include FULL_PATH_TO_FILE replace "FULL_PATH_TO_FILE" with the full path to the file (can be relative but it ne...
by Deafwave
28 Aug 2020, 22:57
Forum: Ask For Help
Topic: [v2] How to Multi-Thread Compiled Code?
Replies: 8
Views: 594

Re: [v2] How to Multi-Thread Compiled Code?

Hi Kyuuuri, I appreciate the insight, but we unfortunately haven't gotten much further. This may be due to an excess of information in my OP, so I have boiled down the information a little better: As you can see, when it compiles, the #Include <testFolder\defaultObject> works as I desire, bringing t...
by Deafwave
28 Aug 2020, 13:13
Forum: Ask For Help
Topic: [v2] How to Multi-Thread Compiled Code?
Replies: 8
Views: 594

[v2] How to Multi-Thread Compiled Code?

My current implementation of AHKThread utilizes the .ahk file, which will not work moving forward due to everything being compiled, as my understanding is that AhkThread() can not be utilized on .exe's. Copying the code directly into the script does not appear to resolve the issue, due to #Include n...

Go to advanced search