4 ms·
Microsoft has good built in automation capabilities. Almost any UI element can be accessed via winapi ( SetWindowsHookEx https://msdn.microsoft.com/en-us/librar
by tezza 10y ago
Microsoft has good built in automation capabilities. Almost any UI element can be accessed via winapi ( SetWindowsHookEx
https://msdn.microsoft.com/en-us/library/ms644990(VS.85).aspx https://msdn.microsoft.com/en-us/library/ms644990(VS.85).asp... etc )
This is much better for overall scriptability IMHO than AppleScript
Then StickyKeys etc are valiant attempts at a complex area with so many different user types
- astrange 10y agoOS X has the same APIs (Accessibility). AppleScript doesn't use them, but VoiceOver and Xcode's UI testing do.
- mwfunk 10y agoAppleScript can and does use the accessibility APIs to drive UIs, it's just not very well documented (like much of AppleScript in general :( ). Pretty much anything used to drive a UI on OS X is going through the accessibility APIs to do so.
- escapologybb 10y agoAppleScript has been the absolute saviour for me on multiple occasions, the amount of scripts I have that trigger at the click of one button is getting to be a bit outrageous. So for instance I will have a button on my switch control on-screen keyboard, and when it's pressed it sends a request To If This Than That, which communicates with my LIFX lightbulbs and flashes all of them in the house blue notifying my carer that I need assistance. That's just one of many. I love AppleScript. To be clear I control my computer with my right index finger which gives me left mouse click, a small reflective doton my glasses which gives the cursor movement and voice dictation software which enables you to leave comments on Hacker News.
- tezza 10y agoThanks for sharing your setup. It's been a pleasure to discuss the issue with you. You've inspired me to check out AppleScript a bit more in detail. On Windows, Autohotkey is my goto for automation
- iptables 10y agoSo how long you been on msft's payroll?
- Retric 10y agoYou and I have different definitions of 'built in'. MS has chosen to have 3rd party deal with much of the accessibility functionality which is a reasonable choice for them, but it's not directly a windows feature. Want a screen reader use Jaws, etc etc.