Shell

This function gives the user the ability to launch a program that is supported by the device’s shell in the scripting environment. For example, it can be used to execute a program that opens a webpage in a specific browser.

Group: Device Extensions


Syntax: Device.Shell (ByVal File as String, ByVal Options As enDeviceShow)

File as String                 This first parameter contains the name of the file or shell program stored on the device.  Use closing quotes around the file name or command.

Options As

enDeviceShow              This second parameter controls the window display for the program called in the first parameter “File as String”.

Device_SHOWMAXMIZED = Activates the window and displays it as a maximized window.

Device_SHOWMINIMIZED = Activates the window and displays it as a minimized window.

Example:

Device.Shell(“https://www.rfgen.com”,Device_SHOWMINIMIZED)

Device.Shell(“https://www.rfgen.com”,Device_SHOWMAXIMIZED)