appcap and appcapresults do not work for AutoHotkey .ahk files, but they work if we compile the same script to .exe
To reproduce this issue:
1. Save this script as
C:\folder\a.ahkFileAppend, C:\Windows\System32\mspaint.exe, * ;StdOut
2. right click .ahk and compile, to get
a.exe2. Create new FARR alias
alias name: appcaptest
alias results:.ahk test | appcapresults C:\folder\a.ahk
.exe test | appcapresults C:\folder\a.exe
3. try both alias results
Expected effect: both alias results should transform the result list to a link to Paint
Actual effect: ".ahk test" does nothing
This issue has existed for a long time (maybe since appcap was first introduced?) but would be nice to see it fixed (if possible and easy) or to see if anyone knows a workaround on the AutoHotkey side, without compiling the script that is. Mouser, does appcap try to use any file passed to it (and the issue is rather something in Windows) or is there a whitelist in FARR based on extensions or something else?