Processing Ajax...

Title

Message

Confirm

Confirm

Confirm

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure you want to delete this item?

Confirm

Are you sure?

User Image
NValentine
1 discussion post
Before I purchase a license, here is what I'm looking for. Please let me know if it can be done and how to go about doing it. I've been working with this for the past two days.

On boot-up in Windows 8.1, I need Chrome to open up in kiosk mode on display 1 pointing to website A. I then need another Chrome window to open up in kiosk mode on display 2 pointing to website B.

OR

On boot-up in Windows 8.1, I need Chrome to open up in kiosk mode spanning across BOTH displays pointing to website A.

Can this be done? How can I achieve this?

Thank you all in advance.
Jul 8, 2015  • #1
User Image
Jcee
205 discussion posts
Im almost certain it can be done; (Im pretty sure you can run a custom function through a command-line/shortcut) which you would just need to throw into your startup folder.
As for opening chrome in Kiosk mode, It seems like someone else already requested this feature as the function is already in the library.. (you can find it by clicking download scripted, on the functions tab) OR you can copy this code, and click the Add Custom button, then paste it, and name it

Code

using System;
using System.Drawing;

public static class DisplayFusionFunction
{
public static void Run(IntPtr windowHandle)
{
//update these two strings with the desired websites (add websiteMonitor3, etc if you have more than 2 monitors, and copy/update the monitor 2 code block for each additional monitor)
string websiteMonitor1 = "https://www.displayfusion.com";
string websiteMonitor2 = "https://www.checkcentral.cc";

//Open websiteMonitor1 on monitor 1 in kiosk mode (edit the monitor ID in the BFS.Window.MoveToMonitor function if needed)
BFS.Application.Start("C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", "-kiosk -new-window " + websiteMonitor1);
BFS.General.ThreadWait(2000);
windowHandle = BFS.Window.GetFocusedWindow();
BFS.Window.MoveToMonitor(1, windowHandle);
BFS.General.ThreadWait(1000);

//Open websiteMonitor2 on monitor 2 in kiosk mode (edit the monitor ID in the BFS.Window.MoveToMonitor function if needed)
BFS.Application.Start("C:\\Program Files (x86)\\Google\\Chrome\\Application\\chrome.exe", "-kiosk -new-window " + websiteMonitor2);
BFS.General.ThreadWait(2000);
windowHandle = BFS.Window.GetFocusedWindow();
BFS.Window.MoveToMonitor(2, windowHandle);
}
}
Jul 8, 2015  • #2
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@Jcee: Thanks for posting that solution! Just a couple of clarifications:
  • It's the "Add Scripted" button to add a scripted function
  • You can indeed run a function on startup via a shortcut in the Windows Startup folder, or a Scheduled Task that runs on logon. The Command you'd want to run is "C:\Program Files (x86)\DisplayFusion\DisplayFusionCommand.exe" -functionrun "function name"
Jul 9, 2015  • #3
User Image
JT Shore
1 discussion post
I've purchased this software to accomplish the same task, individual Chrome Kiosk windows on each of two monitors. I've followed the instructions in setting this up, however when I click the (run function) button both Chrome Kiosk Windows are opening on Monitor 2 only. I am running Windows 10 Pro, (2) 1080p monitors.
May 23, 2016  • #4
Keith Lammers (BFS)'s profile on WallpaperFusion.com
@JT: Thank you for your purchase! Try assigning a key combination to the function, then apply and close the Settings window and run it with the key combination. The script relies on the newly created Chrome window having focus, but that won't be the case when running the script from the editor, because the "running script" progress bar dialog will get focus instead.
May 24, 2016  • #5
Subscribe to this discussion topic using RSS
Was this helpful?  Login to Vote(-)  Login to Vote(-)