Toffy Posted February 27 Share Posted February 27 I found an automation task called "Set Custom Window Size" which I would like to use in a workflow. To make the workflow more robust for different screen resolutions, I would like to check for the current screen resolution and then set the window size based in that. How can I determine the current screen resolution? Link to comment
vitor Posted February 27 Share Posted February 27 Could you expand on your use-case a bit more? Is is not covered by “Set Window Bounds from Preset”? Link to comment
Toffy Posted February 27 Author Share Posted February 27 I’m totally new to automation tasks, but from what I can see, “Set Window Bounds from Preset” does not allow me to specify a window size of, say 1700x600 for a 4K screen or 650x300 for an HD screen, does it. I can (an do) however, use it to center the resulting window. Link to comment
Stephen_C Posted February 28 Share Posted February 28 (edited) Is the Automation Task Set Window Bounds From Preset not helpful in those circumstances? It is described as setting "topmost window's bounds relative to screen dimensions”. (I have not tried it so it's merely a suggestion!) (Edit: I do appreciate you may feel that doesn't allow you to be so specific about the actual dimensions of the window.) Stephen Edited February 28 by Stephen_C Clarification Link to comment
vitor Posted February 28 Share Posted February 28 @Toffy I’ll have a think about this for the next Automation Tasks release. Getting the dimensions of a screen is trivial, but getting the current screen takes a bit more effort. Toffy 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now