Aurora 4x

C# Aurora => C# Utilities => Topic started by: Reiko on November 22, 2024, 06:46:56 PM

Title: AHK-Script to close Windows with 'Escape'
Post by: Reiko on November 22, 2024, 06:46:56 PM
What is it ?

An Autohotkey (AHK) Script to let you close Aurora-Windows with the 'Escape'-key while it's running.



How to use it ?

AHK has to be installed from https://www.autohotkey.com/ (https://www.autohotkey.com/)
- then extract  the File from the zip in any folder you like - and doubleclick it.
Now you should have a green 'H'-icon at the right end of the Windows-taskbar, meaning it's running . . .
 - if you don't see the icon, try the arrow-up-icon there.
To close the script, rightclick on that icon  --> 'Exit'.



Autohotkey-versions:

there are two major and incompatible versions of AHK-scripts: 1.x and 2.x
I provided a version for both, since I know that many people have a hard time to get into AHK v2.



Any feedback will be welcome . . .
Title: Re: AHK-Script to close Windows with 'Escape'
Post by: skoormit on November 25, 2024, 03:49:31 PM
Tried to start the v1 version, got this:

Quote
Error at line 1.

Line Text: #Requires AutoHotkey v1
Error: This line does not contain a recognized action.

The program will exit.

Title: Re: AHK-Script to close Windows with 'Escape'
Post by: Reiko on November 25, 2024, 09:19:48 PM
that's strange - i disabled that line - please try again and let me know if it works.

Do you know, which AHK-version you have installed ?

And anybody else who downloads this - please give feedback if it works for you until I know it's working for everybody.
Title: Re: AHK-Script to close Windows with 'Escape'
Post by: GodEmperor on November 30, 2024, 04:37:07 PM
Works and its fukken amazing. ;D
Title: Re: AHK-Script to close Windows with 'Escape'
Post by: skoormit on December 03, 2024, 10:07:47 AM
Do you know, which AHK-version you have installed ?

1.1.22.04

I prepended a ; to the first line and it works a treat.
EDIT: actually, the currently running script doesn't show that I did that.
So, I don't know what I did, but it is working now.