friendlyway secure browser

How to start an executable application from secure browser


How to start an executable application from secure browser

 
You should make an html page with invoking required external application, and assign this page as start page. Here, we have an example with Notepad.exe:

1.      Create web page with possibility of invoking an external application.
1.1.   Open any text editor and copy the following template
<html>
<head>
<script language="JavaScript" type="text/javascript">
<!--
function OnLaunchApp()
{
            window.external.RunApp("C:\\WINDOWS\\Notepad.exe");
}
-->
</script>
</head>
<body>
Example. Run Notepad from Secure Browser.
<a href="#" OnClick="OnLaunchApp();">Click here to run  Notepad</a>
</body>
 </html>
1.2  Edit path to Notepad.exe "F:\WINDOWS\Notepad.exe" (or to your application) according to your computer configuration.
1.3  Save the file as RunNotepadExample.html.

2.      Create secure browser configuration.
2.1.   Run “friendlyway browser configuration”, select “Create new configuration file” radio button, press OK. The main configuration dialog will appear showing the General tab.
2.2.   Click on “Browse...” button at the right of “Start page URL” and specify the path to RunNotepadExample.html file. The path will be displayed in the “Start page URL” field.



2.3.   Switch to the Display tab. Check “Window bar” option. This option helps to manage opened applications.



2.4.   Press Save, type RunNotepadExample, press Save, OK and close friendlyway browser configuration.

3.      Run browser and Notepad.
3.1 Run secure browser using created configuration file. secure browser will be launched and show RunNotepadExample.html page.


3.2 Click on the purposed hyperlink. Notepad will be launched. Notepad button will appear on the bottom toolbar.


You can click on the button “Untitled – Notepad” to bring the Notepad window to the foreground if it moved to the background during working with Browser.

Support and QA team | 14.08.2006