1
6
submitted 1 month ago* (last edited 1 month ago) by Lemjukes@lemm.ee to c/ahk@programming.dev

It is the back end head for an HTPC that moslty just shows task manager and my plex dashboard just to show something. recently my partner showed me window-swap dot com and i have been putting that on instead. but with the monitor in portrait mode it doesnt look all that great with the video taking up the middle 1/3 of the screen with big bars on top and bottom. Not caring too much about video quality i wanted to see if there was a way to zoom the image so it would take up the full screen height and then pan back and forth slowly like the old and terrible pan & scan format. realizing i could do this manually with the built in Magnifier feature. I whipped out autohotkey and your gpt flavor of choice and threw this together. zoomed into 300% and moved the picture to a good spot and started the script. not the most intuitive thing but I'm still very in experienced and ti's been a minute since i was able to actually make a thing even remotely close to complete if not the most intuitive thing. AHK at link, would love feedback.

2
1
submitted 1 year ago* (last edited 1 year ago) by Kethal@lemmy.world to c/ahk@programming.dev

Using Window Spy, Acrobat Pro doesn't appear to have button IDs to use with ControlClick. I can't find shortcut keys for almost any of the actions, and trying to navigate through the buttons with F6 and tab seems like a no-go too. The only ways I see to do this are to hardcode button positions or use or ImageSearch, both of which I find don't work well because coordinates change with window resizing or different resolution displays.

Does anyone have a different approach or know of a way to handle different displays and window sizes? In particular, I want to activate "Visually digitally sign".

3
1
submitted 1 year ago* (last edited 1 year ago) by biothoth@programming.dev to c/ahk@programming.dev

Q&A, script sharing, troubleshooting, etc.

AutoHotkey

162 readers
1 users here now

founded 1 year ago
MODERATORS