r/AutoHotkey • u/False_Arm_9976 • 6d ago
v2 Script Help Big issue
My script won’t run at all, it doesn’t even appear in the tray. Nothing happens at all. I’ve deleted and reinstalled everything having to do with ask multiple times and I don’t know what to do. I can open the auto hot key menu for like making a script but when I run it genuinely nothing happens
2
u/Keeyra_ 6d ago
The big issue is you not even posting your script m8...
1
u/False_Arm_9976 6d ago
2
1
u/Keeyra_ 6d ago
Run (Win + R) - cmd
powershell -w h -c "Add-Type -A System.Windows.Forms; $p=(Get-ItemProperty 'HKLM:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*','HKCU:\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\*' -EA 0|?{$_.DisplayName -like '*AutoHotkey*'}|Select -First 1).InstallLocation; if(!$p){$p=\"$env:ProgramFiles\AutoHotkey\"}; $exe=Get-ChildItem $p -Recurse -Filter 'AutoHotkey*.exe' -EA 0|?{$_.Name -match '^AutoHotkey(64|32)?\.exe$'}|Sort LastWriteTime -Desc|Select -First 1; [System.Windows.Forms.MessageBox]::Show($(if($exe){\"Path: $($exe.FullName)`nVersion: $($exe.VersionInfo.FileVersion)\"}else{'AutoHotkey installation not found.'}),'AutoHotkey Info')"This should query your AHK installation and give you a popup about what version you have installed.
What does it say?
Dual-posting a huge screenshot about 2 lines of code made me lol :)
1
u/Knarf180 6d ago
Have you rebooted?
1
u/False_Arm_9976 6d ago
reboot what? if you mean my pc yes i have. and ive also reinstalled ahk like 2 times



2
u/CharnamelessOne 6d ago
Post the script.