Jump to content

Prevent multiple launches of .AU3


Recommended Posts

Hi,

I have the following AutoHotkey script running in the System tray

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

F8::  run, c:\emr\F8.au3

When the F8 is pressed, the Autoit script F8.au3 is launched.   However, when the user holds down the F8 key, it understandably launches multiple instances of the F8.au3 script.  Is there any way that will prevent launching of the AU3 script? 

Thanks

Kris
 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...