How it works :
- First it will check res://.godot/last_runtime.txt, which records the last godot engine path. Plugin is required for this feature : Godot-Editor-Console
- If the above file does not exist, parse project.godot for version name (e.g. 4.1), is_mono etc.
- Then, this script scans
C:\Softwares\GODOTSfolder for all Godot shortcuts. you can define priority by modifyingpriorityList, so that if multiple candidates exist (e.g. 4.1, 4.1.3), the desired one will be selected first.
What is AHK : it’s a User Script Engine for Windows.
Steps to install
-
install AHK v1
-
modify
godotFolderandpriorityList -
Compile the script to exe using AHK dash
-
Modify *.godot file’s open with… to this exe
Optional
-
uncomment
; MsgBoxlines to get a confirmation dialog before launching godot. -
use resource hacker to extract the icon from godot.exe, feed it to the script compiler
-
use Tablacus Explorer with AHK and modify script.js, so that under certain directory, you can open the godot project instantly by pressing Enter on it’s folder.
Demo
https://gist.github.com/user-attachments/assets/f4bc0db7-ac1c-4dd2-a633-276562103b9a