303 views | Last updated on Aug 17, 2020
Yes! There are two overall approaches that we'll outline here. Both of these use Chrome. A few notes:
These two approaches are similar. They differ in how the chat window opens if Chrome is already running. Using the "Chrome Web App" approach keeps the chat window separate from the main Chrome instance.
This will place a chat box shortcut in the taskbar, but if you close the chat box the shortcut will vanish and you'd have to re-open it from Chrome's internal menus, which your patrons will have a hard time locating. Next, you need to "pin" it by right-clicking it in the taskbar while it's running. That creates a persistent taskbar item to your chat box as an app.
We haven't found a way to open the Web App at specific dimensions. Instead, it seems to open at the dimensions used the last time it ran. "Clean-slating" the computers between public user sessions would probably help since it should mean you could set the width/height that the chat window opens to.
This approach lets you provide a few parameters to chrome.exe that let you open your chat URL at specific width/height dimensions and a specific location on the screen. The catch is that the position and size parameters will only work if Chrome is not already running. If Chrome is already running, the URL will open as a tab in the existing Chrome workspace. This is the main reason to go with the Web App approach instead.
To make the simple desktop shortcut, it is probably easiest to copy an existing Chrome desktop shortcut and then modify the Target (right-click and select Properties on the copied shortcut). Then you can add the parameters for the chat URL, position, and dimensions.
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe" "https://email@example.com" --window-position=0,0 --window-size=400,800
To pick that shortcut apart a little bit:
"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"
This is the regular target for the chrome.exe executable file. The path may be different on your computers.
This is the chat box URL that includes the offline contact overlay. It is pointing to the libraryh3lp-support chat queue using chat skin #29566 and provides our email address if chat is offline.
You will need to update this URL for your own queue, chat skin, and email address.
This is the top left corner of the screen
This opens the chat box at 400px wide by 800px tall.
You can optionally add the " -incognito " parameter (note: only one dash) to the shortcut in order to have the chat box open in a separate window from a running main Chrome window, but the incognito window for the chat box will take on the size of the main window.