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

Launching and Positioning an Application on Startup

By using DisplayFusion's powerful Custom Functions and Trigger rules, you can have applications launch automatically on Windows startup, and move to the exact size and location as specified by you. The steps and video below demonstrate how to do this for Notepad, but you can apply them to any application on your system.
  1. Open the application that you want to setup the rules for, and set it up at the desired size and location.
  2. On the Settings > Functions tab, click "Add Custom Function."
  3. Give it a name and select Launch Application from "Function Action" dropdown list. Select the application that you want to launch when Windows/DisplayFusion starts.
  4. Click OK to save the Custom Function, then click Apply to save the DisplayFusion Settings.
  5. On the Settings > Triggers tab, click "Add."
  6. In the Trigger rule, set the "Trigger Event" to "DisplayFusion Starts"
  7. In the Actions section of the Trigger rule, click "Add > Run Function," and choose the Custom Function that you created in step 3.
  8. Click OK to save the Trigger rule, then click Apply to save the DisplayFusion Settings.
  9. On the Settings > Triggers tab, click "Add."
  10. Set the "Trigger Event" to "Window Created."
  11. In the Match Conditions section, enable the "Process Filename" checkbox, then choose the application in the "Select Application" window.
  12. In the Actions section, click "Add > Move Window to Specified Size and Location."
  13. Drag the orange target icon and drop it on the open window to get its size and location automatically.
  14. Click OK to save the Trigger rule, then click Apply to save the DisplayFusion Settings.
  15. Close the application from step 1, then restart DisplayFusion or your computer to test it out.
21 days ago (modified 21 days ago)  • #1
Avatar from Gravatar.com
sane
6 discussion posts
hello, thank you for this explanation
I am trying to do something similar but more complex, here is the detail:

On my left screen, open two explorer windows. The first on the left side open on D: and the second on "This computer"

On the central screen already divided in 30/70, open a chrome window on the left on a specific site, same thing for the right part.

On my right screen, already split in 30/30/30, open also a chrome window on each part with a specific site.

Do you think this is possible, and if so can you help me in the settings?
Thank you
17 days ago  • #2
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Binary Fortress Administrator
 Binary Fortress Administrator
For the File Explorer windows, you can add the folder path to the command line parameters in the Launch Application Function, and then in the Trigger rule for moving the window, put the folder name (just the folder, not the full path) in the "Window Text" match condition.

For the browser windows, you can use a Scripted Function to launch a page in a new window on a specific monitor, and run that Scripted Function from a "DisplayFusion Starts" Trigger: Open Website in Default Web Browser and Maximize on Specific Monitor

Hope that helps! If you need further assistance, please send us a support request via the Settings window (Help > Support Request).

Thanks!
15 days ago  • #3
Avatar from Gravatar.com
hub2000
1 discussion post
Hello,
i have a similar question.

i need to store profiles/workspaces and to quick access them, anytime, not when displayfusion or the Computer starts.

E.G.
- open two explorer windows on dedicated positions
- open three explorer windows on dedicated positions + open a program on a dedicated position

But is this is actually possible? i cant find it.

brg
hub2000
12 days ago (modified 12 days ago)  • #4
Avatar from Gravatar.com
Andy139
3 discussion posts
Hi there,

I followed this instructions and tested several others. No matter what I'm doing the applications are always opening at my primary Screen.

Is this a bug may be with the Fall-Creators Update?

Specs
Windows 10 Pro 64 Bit, Fall Creators Update (1709)
DisplayFusion 9.1

I wanted to automate a process where, at startup, 4 different applications are opened at 4 different screens (1 application per screen).

Best regards
11 days ago  • #5
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Binary Fortress Administrator
 Binary Fortress Administrator
@hub2000: We have another feature planned that will help there.

@Andy139: Did you create both the "DisplayFusion Starts" Triggers for each application, and then separately the "Window Created" Triggers?
11 days ago  • #6
Avatar from Gravatar.com
drumsticks
1 discussion post
I am in need of the same request as hub2000. It's great to know you have a new feature planned for it. Would you mind elaborating a little bit more about it, please? Is it under development already and is there an estimated time of delivery on this new feature?

If I may make a recommendation, it would be incredible if by an on/off flag somewhere in settings, we could just have these apps save to their perspective virtual monitors within the opened profile automatically so we do not have to manually do this setup. Yes, call us lazy, but that's why we like apps like DisplayFusion and the likes, to save us time by setting something up to work for us so we can go about our work efficiently. At the moment (me being new to DisplayFusion and still working and figuring things out with the trial version), I feel like DisplayFusion is missing an automation feature that will do this setup of apps assigned to each monitor within each profile and also the window sizes so we don't have to do this every time we want to change. Really, what would be great is that I set up the monitors in each profile to my liking and wherever i position a window, everything about that window is then saved. If I close out DisplayFusion and open it and select a particular profile, then those windows come up automatically or even by switching from one profile to another, the windows change out and are placed automatically where they were last left. Another automatic on/off flag option could be to start last opened windows of a selected profile when changing profiles. If this on/off flag is marked as off, then just when the user selects the app to open it, it would still then go to where it was last opened.

I have not tried yet, but by watching the tutorial video of hovering over the window to grab the size and location that this is a very manual process. What happens when I move the window or resize it, does it automatically save or will I have to go back in to manually hover over that window again to have it placed where I repositioned/resized the window? I can definitely find this out myself, but my point is that I am betting is all manual and I can see this aspect getting cumbersome for me personally.

I use 3 monitors, one of them being a 55" TV, so I have a lot of real estate to move things around and I do change the windows a lot, but I still would like them to be left where they were from my last use on the computer.

I could be completely misunderstanding DisplayFusion with limited knowledge being only a couple of days in on this app and it would be great to be stood corrected on, but so far I cannot figure out all of the things as I mentioned just yet. :-)These are just some thoughts in my head that I think would take this incredible app to another level, if I am correct on how it works, so far.

Thank you.
11 days ago (modified 11 days ago)  • #7
Avatar from Gravatar.com
Andy139
3 discussion posts
Quote:
@Andy139: Did you create both the "DisplayFusion Starts" Triggers for each application, and then separately the "Window Created" Triggers?


Yes I did. But then I realized I'm trying to move Unity Standalone-Builds and suspected, that the internal Unity Display-Settings might interfere with DisplayFusion. So I tested with a regular application and that worked fine.

So I guess I have to investigate what settings to disable in Unity. But it should work with Fullscreen-Applications right?

Best regards
9 days ago  • #8
Keith Lammers (BFS)'s profile on WallpaperFusion.com
Binary Fortress Administrator
 Binary Fortress Administrator
Some full screen windows don't respond to SetWindowPos calls (for sizing/moving). If you manually run a DisplayFusion hotkey on the window (like Ctrl + Win + X), does it work?
8 days ago  • #9
Avatar from Gravatar.com
Andy139
3 discussion posts
Quote:
Some full screen windows don't respond to SetWindowPos calls (for sizing/moving). If you manually run a DisplayFusion hotkey on the window (like Ctrl + Win + X), does it work?


Hi there. Yes, shortcut works. Anyway... I can setup unity to start as windowed fullscreen (chromeless), that would work too.
Thank you.
6 days ago  • #10
Was this helpful?  Login to Vote  Login to Vote
<< Discussions<< NewsReply
Visit DisplayFusion on FacebookVisit DisplayFusion on TwitterVisit DisplayFusion on Google+Visit DisplayFusion on LinkedInSearch for DisplayFusion on RedditFollow DisplayFusion on RSSVisit DisplayFusion on Instagram
Copyright © 2007-2017 Binary Fortress Software • News • Discussions • FAQ • Support • Privacy • ToS