Support Request: Startup script with parameters

Description

Is it possible to give parameters with a startup script, just like you would be able with the applications. Something like this :
C:\Program Files (x86)\SiteKiosk\Html\someApp.exe "param1=C:/Xml/" param2=true
, this works fine in the applications tab. But when I try to give a parameter to the startup script. The script doesn't seem to work anymore, so the question is can I pass parameters to a startup script. With startup script I mean the VBS or JS located in browser advanced.

Answer: (3)

Re: Startup script with parameters 5/26/2021 11:39 AM
Hello,

I'm sorry, but parameters cannot be appended like this when calling an external script (JS / VBS).
However, you can work inside the script with WSH (WScript), which would allow you to read parameters from a file or the Windows Registry.

Here is a basic example of how you could access the registry with an external script (the Javascript file that will be added to the SiteKiosk configuration as an external script):
https://devblog.provisio.com/post/2021/02/02/Dynamically-Change-the-Content-of-a-Secondary-Monitor.aspx

Regards,
Michael Olbrich
Re: Startup script with parameters 5/26/2021 11:51 AM
Thank you for the information Michael Olbrich, this is a good option for us.
Re: Startup script with parameters 5/26/2021 12:39 PM
Thank you for your feedback.
My Account
Login
Language (Tickets):