Here’s one for you guys...
I’m using a script in project cars 2, and after compiling my script the exe doesn’t work in game. But if I launch both the exe and the AHK, it works...
The other bizarre thing is that the first “Send, {ESC}” doesn’t work. The following commands do work tho, so it’s like it’s skipping the escape line. Escape does work on game from the keyboard though. My fix is to remove the line and hit escape before hitting the shortcut.
What is happening, especially in regards to the doubling up of the scripts?
Need to have .ahk and exe to run script
-
- Posts: 8
- Joined: 21 Nov 2017, 15:55
-
- Posts: 141
- Joined: 19 Jul 2017, 09:59
Re: Need to have .ahk and exe to run script
Scripts happening I guess.
That's all we can say with the provided info. Running the script in administrator mode might help you though
That's all we can say with the provided info. Running the script in administrator mode might help you though
-
- Posts: 8
- Joined: 21 Nov 2017, 15:55
Re: Need to have .ahk and exe to run script
I tried running in administrator mode but no luck. I even tried the EnableUIAccess path.
It’s fine I guess, just curious why it’s happening.
It’s fine I guess, just curious why it’s happening.
- eventhorizon
- Posts: 158
- Joined: 27 Oct 2016, 14:22
Re: Need to have .ahk and exe to run script
It's entirely possible that the game has it's own key handler for the esc key. You might have to work around that. But not knowing how you have coded the Send, {Esc} command it's impossible to give you any specific guidance about how to fix it. Another thing, If your script runs with the ahk interpreter enabled then using the exe is overkill and may also interfere with whatever else you have going on in the script. The idea is to run one or the other but not both.
A computer lets you make more mistakes faster than any invention in human history – with the possible exceptions of handguns and tequila.
Who is online
Users browsing this forum: nebber and 45 guests