AutoHotPie icon indicating copy to clipboard operation
AutoHotPie copied to clipboard

[FEATURE REQUEST] Allow AHK script execution

Open Fjr3 opened this issue 1 year ago • 2 comments

At first, I thought about create a pie to expand some texts (as a text expander) Then, thought about modifying or reusing things I copy (as a clipboard manager) In general I think we can do lots more thing if we can execute AHK script - maybe leave it for intermediate/advanced users so the beginners won't be bothered

Fjr3 avatar Sep 11 '23 08:09 Fjr3

At first, I thought about create a pie to expand some texts (as a text expander) Then, thought about modifying or reusing things I copy (as a clipboard manager) In general I think we can do lots more thing if we can execute AHK script - maybe leave it for intermediate/advanced users so the beginners won't be bothered

You can already run AHK scripts: Functions > More Functions... > Run File.

hced avatar Sep 25 '23 21:09 hced

@Fjr3 So I do actually have a future plan for this. However! There are some nifty AHK features I didn't know about that might be useful to you.

You can pass paramters from AHP to AHK scripts:

MsgBox, %1%, %2%
exitapp

To further demonstrate this, here's a terrible graphic: image Slice 1 and 2 are calling the same script, but showing a different msgbox due to the script parameter typed in the AHP Run File field.

dumbeau avatar Oct 02 '23 22:10 dumbeau