Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. Thank you for your support. Tom Speirs

Patreon

[RESOLVED] Hot key autoscript not running


castcreator1

Recommended Posts

So I was able to figure everything out including the deletion of certain oystick inputs. I have a new issue that i'm not quite too sure How to handle. So I have a auto hotkey script running To utilize volume buttons inside my coin door. The auto hot key runs fine when I don't run instant sheller. What is soon as I do The hot key script no longer works. Any suggestions on how to get instant sheller and my hot key script to run? 

Link to comment
Share on other sites

How are you running your AHK - as a script or compiled as an .exe?

If as a script, try compiling it as an .exe instead.

Link to comment
Share on other sites

8 hours ago, castcreator1 said:

As a script. I have no idea how to run it as an exe.

Then you must learn. First, you have to learn how to compile a script into an .exe - https://www.autohotkey.com/docs/v1/Scripts.htm#ahk2exe

From there, you should be able to run the .exe you created at startup or however your were launching it before with HideOS in lieu of the script. Barring any errors, should be easy-peasy.

Link to comment
Share on other sites

P.S. You noted that you resolved some other issues. Can you update the following (if resolved) with your solution for others awareness? Thanks!

 

Link to comment
Share on other sites

If you are running in a cab you can add it to Startup in Windows so that it launches with Instantsheller.

Link to comment
Share on other sites

  • 2 weeks later...

Can you load your exe via Windows startup then launch Instant Sheller instead of within Shell:startup?

I do not use Instant Sheller so not sure what else to suggest.

Link to comment
Share on other sites

I had a similar issue with Instant Sheller messing with my AutoHotkey scripts. What worked for me was running the AutoHotkey script as an admin. Also, try checking if there’s any conflict in the settings or consider creating a separate script for when Instant Sheller is active. 

  • Like 1
Link to comment
Share on other sites

5 hours ago, castcreator1 said:

How do I run AutoHotKey script as administrator in instantsheller?

You don't run it as Administrator in Instant Sheller. Your compiled script should be loaded separate from InstantSheller as part of Windows Startup.

You have to go to the exe you compiled, right-click then left-click Properties. From there, click on the Compatibility tab and select "Run this program as an administrator" and click OK to apply the change and close the Properties window.

Link to comment
Share on other sites

  • 2 weeks later...

I can run the script as administrator but how do I get it to run as administrator  when instantsheller runs?

 

If I alt-tab in IS( instantsheller) I can get back to thw windows desk top. Once there the auo hotkey exe runs just fine.

Link to comment
Share on other sites

If you followed the steps I outlined to set the .exe to run as administrator, it should do that always. So set it under Windows Start to launch there.

Link to comment
Share on other sites

Well I got it working. I had to create another account in windows because the account it was under would not let the exe run in administrator  even though it was an administrator account.  Consider it solved. Thanks again  for your help. I really appreciate it 

Link to comment
Share on other sites

  • Draco1962 changed the title to [RESOLVED] Hot key autoscript not running
  • Draco1962 locked this topic
Guest
This topic is now closed to further replies.
×
×
  • Create New...