26
Find And Run Robot / appcap and appcapresults not working for .ahk files
« Last post by Nod5 on September 12, 2022, 06:11 AM »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.ahk
2. right click .ahk and compile, to get a.exe
2. Create new FARR alias
alias name: appcaptest
alias results:
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?
To reproduce this issue:
1. Save this script as C:\folder\a.ahk
Code: Text [Select]
- FileAppend, C:\Windows\System32\mspaint.exe, * ;StdOut
2. Create new FARR alias
alias name: appcaptest
alias results:
Code: Text [Select]
- .ahk test | appcapresults C:\folder\a.ahk
- .exe test | appcapresults C:\folder\a.exe
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?

Recent Posts