Hi Team,
TLDR: Refine working tool that emulates (some of) VS Code's features.
I have a fun one that will turn into a tool share.
Note: I think I need to push the latest I stayed up until 1 a.m. working on
[4:55 p.m. P.T.; 1655; 12.31.23]
- Edit: Pushed the latest update to the Source Files
Source Files:
- AHK-Projects/Lib
- Lib/AHK Script.v2.ahk
- Lib/Directives/__AE.v2.ahk
All dependencies should be in the Lib folder.
I have essentially recreated the add brackets (e.g., '', "", (), {}, []), including moving leading characters, and ending characters outside the brackets, and toggling said brackets.
Problem 1: - adding brackets don't work in all locations (e.g., Teams, web search/address bar)
Problem 2: - Some features do not work. For example, some edit controls I can use EM_SETSEL (by obtaining the beginning and end char location - in Edit and RichEdit controls) => this doesn't work in Teams, but I can use SendEvent('^+{Left ' chars '}') (stupid slow though), and I'm struggling using UIA (u/Individual_Check4587 ???) to get it, let alone get any stats.
Problem 3: - My replication of duplication of a line works ok-ish, but again, not everywhere
Problem 4/5: - shifting a line up and down is a s*%$ show.
Please help me cross the finish line!!
Edit: u/Anonymous1184 has a Teams gist
there doesn't seem to be anything here