Title

Message

Confirm

Want to earn a free DisplayFusion Pro license? We're looking for DisplayFusion translators!
<< DiscussionsReply

Function which sizes the window to 50% and moves it to the left OR right?

Avatar from Gravatar.com
dracho
14 discussion posts
I'm currently using two titlebar buttons - the two built-in functions. I'd like to use only one button instead. How can I create a function that performs WIN+Left Arrow, or if the window already has that size and location, perform WIN+Right Arrow ?

Thanks much.
Jan 8, 2019  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
I've just added a scripted function to the repository that will do this.

  • On the DisplayFusion Settings > Functions tab, click the "Download Scripted" button
  • Double-click the script named "Move Window Between Left/Right Monitor Sides (50% width)"
  • Give it a key combination and click OK
  • Optionally, select it, click "Toggle TitleBar Button" (to add it to the caption bar of every application)
  • Click Apply and test it out

Hope that helps!
Jan 9, 2019  • #2
Avatar from Gravatar.com
dracho
14 discussion posts
Thanks again! Works perfectly. I'm glad you added it to the repo; I think it will be a useful starting template for other similar functions.
Jan 10, 2019  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
No worries, glad to hear it!
Jan 10, 2019  • #4
Was this helpful?  Login to Vote(1)  Login to Vote
<< DiscussionsReply