I observed that the file options in Notepad are being closed after selecting UiPath Studio Activities. To address this issue, you can record the Ui Steps in your process by utilizing the Web or App recorder tool.
I believe that this recorder tool will help you in developing your automation.
Happy automation!
Please mark this as a solution if it resolves your queries.
Thank you for the suggestion! The second option using Send Hotkey (Alt+F, then A) works perfectly. Hopefully, this can be updated in the resource for others who might face the same issue.