How Gemini Pro Help me to Learn AutoHotKey
The last few weeks I have been learning AutoHotKey in my spare time. I used AutoHotKey to generate message templates. It has saved me a lot of typing. The script went through a few iterations. I followed instructions on the help page and read a few forum entries to create the scripts.
- Short-cut keys to trigger message templates
- Phrases of codes to trigger message templates
However, both method 1 and 2 require my team to remember the keys. They asked whether there is an app that they can just click and select the messages.
Here is how I used GeminiPro to generate and learn how to code.
- I copied the template into Gemini Pro and asked it to create a GUI with button allowing the user to click and generate the message.
- I tested the GUI a few times and provide feedback to GeminiPro. In the first version, the biggest issue is truncated messages. The script should delay for a few milliseconds allowing the cursor switch to the word processor before starts generating the message. So GeminiPro inserted a delay and even minimise the GUI as soon as I click on the button.
- The speed of the text is still slow as it mimics someone typing on screen. GeminiPro further refined the script by inserting the text into Window's clipboard and paste on screen. The message now is instantaneous.
I did not blindly copy and paste the script. I read the script and asked GeminiPro to explain the script and walk me step by step through its logic. The process is slow, but this allows me to question the logic and fine tune script's performance.
For me, AI is a tool that helps me to learn and improve my life. It is not a tool that I rely on 100% without giving many thoughts to it.