*How to execute chrome from FlinQ

PUBLIC

How To Article | HTA-20210528-TV-01

Security Management | FlinQ 3.X |

Consider to use Webviewer_2 instead of Chrome, because with chrome, evry time it opens a new window. Webviewer_2 doesn’t and have TKH logo’s.

You can open a webpage in Google Chrome with a command form FlinQ. This how to gives you the basics.

Locate the home directory of the application.

At first, you need to locate the home directory of your chrome application on the client where to execute the web browser.


you can locate this by a right mouse click on the shortcut of Chrome. Open tab shortcut and find the original path:

Most likely this will be:
"C:\Program Files\Google\Chrome\Application\chrome.exe" or

"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe"

Made the task in Studio.

Open the template in FlinQ studio, here you are able to edit the device.
on the bottom this window you can add a parameter.

You can choose to make the name variable or to start the process by every placeholder in the device template.

If you make the Name variable by the use of [ ] you can enter “StartProcess” in the field by the placeholders you would like to have the option to execute a webpage. When you do not enter the text StartProcess in the column by a placeholder, this placeholder will not be provided with the option to execute a webpage.

The value of the parameter has to start with the path to the .exe file then you need to separate the path with a comma ( , ) and use the flags “--user-data-dir=c:\temp --app=”URL” separate with a comma ( , ) “Level” separate with comma ( , ) “name of button”.

 

Most likely you want the URL to be variable, so you will use [URL] to make the URL variable for each placeholder.

this is an example of a legal value:
"C:\Program Files\Google\Chrome\Application\chrome.exe",--user-data-dir=c:\temp --app= [URL],0,webpage

If you want to execute the webpage directly by selecting the device you need to stop the string after the URL.

"C:\Program Files (X86)\Google\Chrome\Application\chrome.exe",--user-data-dir=c:\temp --app= [URL]

 

The use of flag –app= is needed to open chrome without an address bar on top of the screen.

Please notice you must set the variables at the placeholder sets.
If you made a button, you must add a new rule for every level in the device and specify the level in the string.

Related pages