untoldwind / alfred2-layout

Alfred 2 Layout workflow
http://untoldwind.github.io/projects/alfred2-layout.html
199 stars 16 forks source link

[FEATURE] Set frontmost window to often used predefined dimensions #6

Closed josefglatz closed 9 years ago

josefglatz commented 9 years ago

e.g. 1280x720 oder 1920x1080 if you'r going to record a screencast.

cheers

untoldwind commented 9 years ago

I'm not doing that many screencast ;) So just to understand this right: You want a quick command to to resize the main window to a fixed pixel-based size (720p, 1080p, ...) and move it to the center of the screen?

ATM: The resize works entirely with relative screen-coordinates, should be possible nevertheless.

josefglatz commented 9 years ago

Thx for your prompt answer!

Exactly, instead of a relative size it should resize to e.g. 720, 1080. The movement to the screen is not necessary, because often you have your notes or tasks near to the recordarea anyway. I’ve tried on my own, but I didn’t find a nice solution to implement absolute px values.

Would be nice if that get into the workflow.

cheers

Am 21.07.2015 um 09:07 schrieb untoldwind notifications@github.com:

I'm not doing that many screencast ;) So just to understand this right: You want a quick command to to resize the main window to a fixed pixel-based size (720p, 1080p, ...) and move it to the center of the screen?

ATM: The resize works entirely with relative screen-coordinates, should be possible nevertheless.

— Reply to this email directly or view it on GitHub https://github.com/untoldwind/alfred2-layout/issues/6#issuecomment-123193991.

untoldwind commented 9 years ago

This week was quite busy and I had get used to perl again ;)

Anyway, I think the current version contains what you are looking for. "lay 720p" -> resize current window to 1280x720 "lay 1080p" -> resize current window to 1920x1080

The window is not moved unless it would go beyond the screen.

josefglatz commented 9 years ago

Many many thanks! That is awesome! I will try it as soon as possible.

Von meinem iPhone gesendet

Am 25.07.2015 um 09:36 schrieb untoldwind notifications@github.com:

This week was quite busy and I had get used to perl again ;)

Anyway, I think the current version contains what you are looking for. "lay 720p" -> resize current window to 1280x720 "lay 1080p" -> resize current window to 1920x1080

The window is not moved unless it would go beyond the screen.

— Reply to this email directly or view it on GitHub.

josefglatz commented 9 years ago

Thank you once more! Great!