Article ID: 598
|
Creation Date: 5/31/2006 2:38 PM
|
Product: SiteKiosk Classic Windows
|
Attachment: -
|
ArticleType: FAQ
|
Version: 6.2.51
|
Language: English
|
Views: 63203
|
Last Modification Date: 10/23/2007 2:59 PM
|
Platform: Windows XP Professional
|
|
Level: Closed
|
|
|
FAQ: Associate files with applications in the SiteKiosk file manager
You can start files with the application you like directly from the SiteKiosk file manager. To achieve this you just have to make
a small change to the file ..\SiteKiosk\skins\public\media\filemanager\xml\config.xml. Open it with an editor (e.g. Notepad) and
add an new extension section before the last existing one. The section can look like this, if you for example want to open a doc file with
Microsoft Office:
<extension types="doc">
<onload>
var WshShell = new ActiveXObject("WScript.Shell");
WshShell.Exec("C:\\Program Files\\Microsoft Office\\Office11\\winword.exe \"{1}\"");
</onload>
</extension>
You may have to change the program path to fit your own system. If you want to associate a number of file types with the same application you can just write them all to the types= part, separate them with commas (e.g. types="jpg,gif,png").
Note that the path to Winword has to match your system. The entry MUST be inserted before the entry
Proceed in the same way when specifying other file types, i.e. always set the path to the program that is supposed to open the extension.