Closed michaelbeijer closed 10 months ago
OK, I solved #2:
/*
====================================================
Hotkey
====================================================
*/
`::MenuPopup.Show()
; Close the response window when the Escape key is pressed
Escape::Close()
solved #1 as well. I added the following bit to the code:
; Automatically copy the response to the clipboard A_Clipboard := JSON_Response
...
try {
if (HTTP_Request.status == 200) {
...
JSON_Response := var.Get("choices")[1].Get("message").Get("content")
RetryButton.Enabled := 1
CopyButton.Enabled := 1
Response.Value := JSON_Response
; Automatically copy the response to the clipboard
A_Clipboard := JSON_Response
...
} else {
...
}
}
...
in the end, it turns out I didn't need: Escape::Close()
to close the menu.
Pressing Esc closes it even without Escape::Close()
Hi there! Thanks for the great little app!
Is there any way to do this: