Save up to 50% in our 2020 summer sale!
Save up to 50% off any of our apps in our 2020 summer sale, including DisplayFusion,
ClipboardFusion, FileSeek, LogFusion, TrayStatus, and VoiceBot!

Title

Message

Confirm

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

WIN10: Move Window to Specified Location

Avatar from Gravatar.com
Michael Chen
5 discussion posts
I have several windows of different sizes that I want to place at a specific location from the bottom right of my screen. Because the windows change size I would have to change the position y for each of them. Is there a way to move position from the bottom instead of the top of windows?
Jan 8, 2020  • #1
Keith Lammers (BFS)'s profile on WallpaperFusion.com
To clarify, you're wanting the bottom of the screen to be Y=0 instead of the top of the screen?
Jan 9, 2020  • #2
Avatar from Gravatar.com
Michael Chen
5 discussion posts
Quote:
To clarify, you're wanting the bottom of the screen to be Y=0 instead of the top of the screen?


Yes, that's what I'm asking for... I guess you would also have to take the bottom of the window?
Jan 10, 2020  • #3
Keith Lammers (BFS)'s profile on WallpaperFusion.com
This might be possible with a scripted function. What's the position you're wanting the window to be at relative to the bottom right corner? I will see if I can write up a sample script for this.
Jan 13, 2020  • #4
Avatar from Gravatar.com
Michael Chen
5 discussion posts
Quote:
This might be possible with a scripted function. What's the position you're wanting the window to be at relative to the bottom right corner? I will see if I can write up a sample script for this.


How about 10 pixels from the right and 100 pixels from the bottom?
Jan 15, 2020  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, thanks! I'll see if I can get a scripted function written up tomorrow or Monday.
Jan 15, 2020  • #6
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Ok, I've posted a script to the repository for this. Here's how to set it up:

  • On the DisplayFusion Settings > Functions tab, click the "Download Scripted" button
  • Double-click the script named "Move Window 10px from Right Edge, 100px from Bottom Edge"
  • 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

If it works well, you can make copies of it and just change the distanceRight and distanceBottom variables to whatever you like.

Hope that helps!
Jan 20, 2020  • #7
Avatar from Gravatar.com
Michael Chen
5 discussion posts
Quote:
Ok, I've posted a script to the repository for this. Here's how to set it up:

  • On the DisplayFusion Settings > Functions tab, click the "Download Scripted" button
  • Double-click the script named "Move Window 10px from Right Edge, 100px from Bottom Edge"
  • 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

If it works well, you can make copies of it and just change the distanceRight and distanceBottom variables to whatever you like.

Hope that helps!


Keith,

Thanks so much for the help so far. I tried downloading the script, but it looks to me like it's empty?
Jan 23, 2020  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Woops! Not sure what happened there, but it should be all fixed up now
Jan 23, 2020  • #9
Avatar from Gravatar.com
Michael Chen
5 discussion posts
Quote:
Woops! Not sure what happened there, but it should be all fixed up now


Does exactly what I need it to and looks very easy to edit. Thank you so much!
Jan 24, 2020  • #10
Was this helpful?  Login to Vote  Login to Vote
<< DiscussionsReply