Jump to content

Recommended Posts

Posted

I'm interested in creating several custom workflows based on the type of activities I perform. For instance, if I'm organizing files, I may have an application window on the left half of the screen and two finder screens open on the right half (top right half and bottom right half). Or maybe a "good morning" workflow where I can open onenote, a weather window, a news window, and spotify filling each quarter of the screen. Hopefully you get the idea.

 

I'm thinking each workflow would open all specified applications, each with a preset layout (as defined by the Yet Another Window Layout Workflow).

 

Possible?

 

Posted

You could just do it with regular old AppleScript. For instance:

tell application "Finder" to set the bounds of the front Finder window to {0, 0, 400, 400}

(See more about these AppleScript functions here.)

 

Basically, the four numbers are the bounds of the window that you want, and they're defined on the desktop where (0, 0) is the upper left corner of your Desktop. Note, if you use a dual-monitor setup, then your desktop is both of them together. It's hard to get these programmatically (in a reliable way), but if you know what you want to do, then it's possible.

 

So, what you'd do is create some sort of AppleScript that opens each and then moves each into the correct quadrant.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...