# Using "Custom Move / Resize Window" to Maximize Window Vertically

**URL:** <https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659>\
**Category:** Configuration Help & General Discussion\
**Created:** [June 13, 2024, 1:02pm UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659 "2024-06-13T13:02:22Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![yannick](https://community.folivora.ai/letter_avatar_proxy/v4/letter/y/b782af/32.png) [@yannick](https://community.folivora.ai/u/yannick)\
**Post date:** [June 13, 2024, 1:02pm UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659/1 "2024-06-13T13:02:22Z")

</div>

Hello!

I'm trying to setup a shortcut to maximize a window vertically, in other words I want the x position / width to remain the same but I want the window's height to fill all the screen (i.e. top of the window at the top of the screen, bottom of the window at the bottom of the screen).

I tried to play with Custom Move / Resize Window but it doesn't really work, notably if I have my two screens on top of each other (one of them is a laptop)

Sorry can't upload images apparently because I'm a new user, but I tried this:  
"Assume the Window's top left corner is moved to current position (do not move), really move the window's y to that, offset by relative to screen / 100% + change window height / Relative to screen / 100%".

I'm assuming this moves the windows's top one screen, so it works for my "top" screen but not my bottom one (the latter moves the window to the top screen).

Two other questions:

- For y coordinates, is 0 at the top or bottom?
- I don't get the "Assume the window's xxx is moved to the xxx", is there any doc on that? All screenshots I've seen seem to have a "re-position the xxx set the position based on the xxx" which I found easier to understand, I'm assuming they're from an old version of the action's settings?

Thanks in advance, and thanks for a great piece of software!

Thanks in advance!

---

<div class="post-metadata">

**Author:** ![RMutt](https://community.folivora.ai/user_avatar/community.folivora.ai/rmutt/32/31734_2.png) [@RMutt](https://community.folivora.ai/u/RMutt)\
**Post date:** [June 15, 2024, 8:58am UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659/2 "2024-06-15T08:58:29Z")

</div>

What do you mean "doesn't really work"?  
In my case It doesn't move or resize at all.  
(I'm also using 1 external monitor)

 ![Screenshot 2024-06-15 at 17.55.12](https://community.folivora.ai/uploads/default/original/3X/9/f/9fe48854a37e5d3097ab3e589e73842f26bc8422.png)

Not sure where the origin is, can't even test because it doesn't move.  
And couldn't find doc page too.

P.S. I hope this other poor guy could find a use from this thread, maybe.

> [@Need some help with window resize to bottom half](https://community.folivora.ai/t/need-some-help-with-window-resize-to-bottom-half/33789):
>
> Hi, I want to setup 2 window resize actions (up and down), when triggered it would make the window fill top or bottom half of the height, while not changing the width of the window. This is different from the existing "Maximize to Top/Bottom Half" so I'm trying to implement my own with "Custom Move / Resize Window". I could get the up one working, but not the down one. Which I couldn't figure out. Here is the working "top half" one: But the "bottom half" one don't work: The window …

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [June 15, 2024, 9:03am UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659/3 "2024-06-15T09:03:36Z")

</div>

in your case it‘s set to move 0 pixels from the current center of the window, so it will not move.  
You would need to set it based on e.g. the focused screen instead (you define the origin yourself using the dropdowns)

---

<div class="post-metadata">

**Author:** ![RMutt](https://community.folivora.ai/user_avatar/community.folivora.ai/rmutt/32/31734_2.png) [@RMutt](https://community.folivora.ai/u/RMutt)\
**Post date:** [June 15, 2024, 9:13am UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659/4 "2024-06-15T09:13:44Z")

</div>

Thanks for quick reply!

1. I couldn't find the keyword "focused screen"  
Do you mean "To screen with mouse cursor" the option of "Use this monitor when setting the new position for a window:"?  
(Assume not because it doesn't work.)

 ![Screenshot 2024-06-15 at 18.08.12](https://community.folivora.ai/uploads/default/original/3X/8/a/8ac15e573419054a24237ee209c12800c9aa5fc5.png)  
 ![Screenshot 2024-06-15 at 18.08.07](https://community.folivora.ai/uploads/default/original/3X/a/c/ac39157ba39eed9a97681ccc9cdff2d912039521.png)  
 ![Screenshot 2024-06-15 at 18.08.01](https://community.folivora.ai/uploads/default/original/3X/b/d/bdaca7b5f63988aecfe46bbf7ca1518c1c3ca37c.png)  
 ![Screenshot 2024-06-15 at 18.07.56](https://community.folivora.ai/uploads/default/original/3X/6/0/600a84404b8d8f4081c19f693b1c274b4f8bc333.png)

1. How does it explain why it doesn't change the size?  
Position must be set correctly to change the size in this action?

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [June 15, 2024, 9:19am UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659/5 "2024-06-15T09:19:55Z")

</div>

Yes unfortunately the macOS API's don't allow to extend a window size beyond the screen bounds, thus the position must be set first.

Here is a full example how to fill the screen vertically:

 ![image](https://community.folivora.ai/uploads/default/original/3X/d/1/d12d430978998a34a8da848ebc7e036f79080f64.jpeg)

---

<div class="post-metadata">

**Author:** ![RMutt](https://community.folivora.ai/user_avatar/community.folivora.ai/rmutt/32/31734_2.png) [@RMutt](https://community.folivora.ai/u/RMutt)\
**Post date:** [June 15, 2024, 9:34am UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659/6 "2024-06-15T09:34:23Z")

</div>

Appreciate it.  
It works perfectly!

Yet still I see a problem because I just delete the trigger/action and created exactly same one, then now it is moving and changing its size. I believe this is not just how to configure the options of this action.

 ![Screenshot 2024-06-15 at 18.19.06](https://community.folivora.ai/uploads/default/original/3X/d/c/dc8bdaaadbb33d906aa00cd66744af056d9bd731.png)

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [June 15, 2024, 9:37am UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659/7 "2024-06-15T09:37:12Z")

</div>

this would only change the position of the window if it‘s not yet on the mouse screen (it would move it to the current mouse screen). However it will not move it to the very top like you wanted

(and without setting the x , this could lead to some weird behavior in this case)

This is all a bit complicated because it allows so many possibilities. I plan to replace this with a visual solution at some point. (at least preview the position somehow)

---

<div class="post-metadata">

**Author:** ![RMutt](https://community.folivora.ai/user_avatar/community.folivora.ai/rmutt/32/31734_2.png) [@RMutt](https://community.folivora.ai/u/RMutt)\
**Post date:** [June 15, 2024, 9:44am UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659/8 "2024-06-15T09:44:57Z")

</div>

I believe you can build a better solution than what comes with Sequoia!  
Thanks for the work, as always.

---

<div class="post-metadata">

**Author:** ![yannick](https://community.folivora.ai/letter_avatar_proxy/v4/letter/y/b782af/32.png) [@yannick](https://community.folivora.ai/u/yannick)\
**Post date:** [June 17, 2024, 9:56am UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659/9 "2024-06-17T09:56:42Z")

</div>

Hello!

Thank you for you answer!

I think I finally understood that "Assume xxx is moved to xxx" mostly means "Move xxx to xxx". Not sure what the "assume" brings? Maybe the "Move xxx to xxx" would be easier to understand?

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [June 17, 2024, 10:25am UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659/10 "2024-06-17T10:25:07Z")

</div>

it's just an imaginary move until you check one of the "really move" checkboxes. It basically sets the base origin for the real move

---

<div class="post-metadata">

**Author:** ![yannick](https://community.folivora.ai/letter_avatar_proxy/v4/letter/y/b782af/32.png) [@yannick](https://community.folivora.ai/u/yannick)\
**Post date:** [June 17, 2024, 10:55am UTC](https://community.folivora.ai/t/using-custom-move-resize-window-to-maximize-window-vertically/37659/11 "2024-06-17T10:55:39Z")

</div>

Ok! It was just a feedback that it took me a while to understand that, I'm good now 🙂  
The features themselves work really well, I was able to do all I wanted (I had other use-cases)  
Thank you for your help!
