Processing Ajax...

Title
Close Dialog

Message

Confirm
Close Dialog

Confirm
Close Dialog

Confirm
Close Dialog

User Image
Maggew.com
31 discussion posts
When I browse in private mode, I wish for the window to be centered, and resized to 75%.

This is my (broken) trigger
http://i.imgur.com/jeFDvlf.png


Thanks for your help.
May 13, 2017  • #1
PabloMartinez's profile on WallpaperFusion.com
Triggers do not work in this case. Use a script such as this:

Code

using System;
using System.Drawing;

public static class DisplayFusionFunction
{
    public static void Run(IntPtr windowHandle)
    {
        // Set url if needed
        var url = "https://google.com";
        // Set your path to Chrome
var pathToBrowser = @"C:\Chromium\Bin\Chrome\chrome.exe";

        BFS.Application.Start(pathToBrowser, url + " --incognito");
        // Wait until browser starts, may need to set more time
        BFS.General.ThreadWait(1000);
        BFS.DisplayFusion.RunFunction("Move Window to Center of Monitor and Size to 75%");
    }
}
Set the hotkey and run incognito mode through this hotkey, instead of through the browser.
May 14, 2017 (modified May 14, 2017)  • #2
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)