Created
January 27, 2026 17:59
-
-
Save iohnatan/70f2857b2c17dcc9fe240c52012d94f0 to your computer and use it in GitHub Desktop.
Autohotkey script to check the grammar of a text.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ; Ctrl + Win + g | |
| ^#g::check_grammar_of_selected_text() | |
| check_grammar_of_selected_text() { | |
| ; https://www.autohotkey.com/docs/v1/misc/Clipboard.htm#ClipboardAll | |
| clip_saved := ClipboardAll | |
| Send, ^c | |
| selected_text := Clipboard | |
| ; restore clipboard. | |
| Clipboard := clip_saved | |
| ; https://community.openai.com/t/url-to-pass-prompt-into-gpt/574003/4 | |
| Run, https://chatgpt.com/g/g-KvWP1Yrmv-grammar-spelling-us-english?prompt=%selected_text% | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment