0

I compile the ahk script to make it a binary, then I copy the symbolic link to the startup directory so that ahk is run all the time when I start my PC.

The thing is that I see this warning sign all the time when PC starts.

enter image description here

  • What's wrong with this?
  • How to run AHK whenever I start PC? Does my method have some problem?
2
  • The message you are seeing ("An older instance of this script is already running") means you have started the script twice. This will go away when you solve your other question why items your Startup folder seem to be running twice.
    – Bavi_H
    Oct 7, 2010 at 2:29
  • Have a look at 'msconfig > Startup' to see if it's entered twice.
    – pelms
    Nov 23, 2010 at 14:18

1 Answer 1

1

To make it stop giving you the message, add the following near the top of the script before you compile it:

#SingleInstance force

That will cause the newer version to replace the older version of the script.

Please note: this does not address the fact that you seem to have the script executing twice during your boot process.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .