Author Topic: AHK-Script to close Windows with 'Escape'  (Read 630 times)

0 Members and 1 Guest are viewing this topic.

Offline Reiko (OP)

  • Leading Rate
  • *
  • Posts: 6
  • Thanked: 6 times
  • do, or do not - there is no 'try' . . .
AHK-Script to close Windows with 'Escape'
« 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/
- 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 . . .
« Last Edit: December 02, 2024, 02:02:46 PM by Reiko »
do, or do not - there is no 'try' . . .
 
The following users thanked this post: GodEmperor, skoormit

Offline skoormit

  • Rear Admiral
  • **********
  • Posts: 975
  • Thanked: 403 times
Re: AHK-Script to close Windows with 'Escape'
« Reply #1 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.

 

Offline Reiko (OP)

  • Leading Rate
  • *
  • Posts: 6
  • Thanked: 6 times
  • do, or do not - there is no 'try' . . .
Re: AHK-Script to close Windows with 'Escape'
« Reply #2 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.
« Last Edit: November 25, 2024, 11:19:34 PM by Reiko »
do, or do not - there is no 'try' . . .
 

Offline GodEmperor

  • Commander
  • *********
  • Posts: 327
  • Thanked: 33 times
Re: AHK-Script to close Windows with 'Escape'
« Reply #3 on: November 30, 2024, 04:37:07 PM »
Works and its fukken amazing. ;D
."I am Colonel-Commissar Ibram Gaunt. I am known as a fair man, unless I am pushed.
You have just pushed me."
 

Offline skoormit

  • Rear Admiral
  • **********
  • Posts: 975
  • Thanked: 403 times
Re: AHK-Script to close Windows with 'Escape'
« Reply #4 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.
« Last Edit: December 03, 2024, 10:12:06 AM by skoormit »