Hacker News new | ask | show | jobs
by dwattttt 658 days ago
Or for a more "hackable" experience on Windows, you can do what (I expect) AutoHotKey does, and send window messages to apps to trigger "key press" and "mouse down at X coords".

By analogy it's as is there's a single stable interface to the GUI layers in apps mediated by the OS, instead of poking at X APIs.

1 comments

Yeah... I just tried to make st terminal to start maximized using wmctrl. For half an hour

I'm not a programmer but still... It's a little demotivating.

Yeah, I definitely wouldn't recommend hitting the APIs directly over AHK unless you're a developer who wants their control.

FWIW if you want something to start maximised I'm sure there's a flag in STARTUP_INFO to say that when you create process