HOME SERVICES PRODUCTS SUPPORT CONTACT US
Remote Control© Geek-in-a-box Autotech Ezidoits
  

Writing Remote Control Packages.


This Package Workshop will show you how to do the following:

  • Create a new Group and rename it
  • Create a new Package in that group and rename it
  • Edit the Package Script to display a message when it is executed and collect user input
  • Test your new Package against the LocalHost

Pre-requisites

Make sure you have Group and Package Management permissions

Remote Control - Package Workshop

Make sure you have Edit Setup and Edit Script permissions

Remote Control - Package Workshop

Make sure you have have permissions to access the LOCALHOST Client

Remote Control - Package Workshop

Refresh your Client display to see the LOCALHOST Client if necessary

Remote Control - Package Workshop

Create a new Group and rename it

Select the "Sort by Group" button to view groups and packages

Remote Control - Package Workshop

Select the "New Group" button

Remote Control - Package Workshop

This will create a new Group you can make packages in

Remote Control - Package Workshop

RMB on the Group and select "Rename Group" from the drop down menu

Remote Control - Package Workshop

Give the Group a new name i.e. "My First Group"

Remote Control - Package Workshop

Create a new Package in that group and rename it

While your Group is highlighted, select the "New Package" button to create a new package in this Group.

Remote Control - Package Workshop

A new Package is created in your Group

Remote Control - Package Workshop

RMB on the Package and select "Rename Package" from the drop down menu

Remote Control - Package Workshop

Give the Package a new name i.e. My First Package

Remote Control - Package Workshop

Edit the Package Script to display a message when it is executed

Select the "Developer" tab

Remote Control - Package Workshop

Select the "Edit Script" tab

Remote Control - Package Workshop

insert vbscript to display a messagebox to the user
   i.e. MsgBox "Hello world!",0,"My First Package Script"

Remote Control - Package Workshop

The first parameter is the text string that is displayed in the message box.
Here, it is "Hello world!"
The second parameter is a number (or expression) indicating which buttons should be displayed in the message box, such as OK, Yes, No, and Cancel.
If you don't specify a number, you need to include two commas to indicate that this parameter is left blank.
In that case, VBScript's default value is 0. Other options (and the buttons that will appear on your message box) are:
   0   OK
   1   OK, Cancel
   2   Abort, Retry, Cancel
   3   Yes, No, Cancel
   4   Yes, No
   5   Retry, Cancel

The third parameter is a text string for the title of the message box.
It is always good to give your titles a descriptive name for easier review by yourself or others looking at your code.

Select the "Update Changes" button to save your Package

IMPORTANT - If you do not select the "Update Changes" button when you have finished editing, your changes will NOT be saved !!!

Remote Control - Package Workshop


Test your new Package against the LocalHost

Select the "Administrator" tab. Select the "Setup" tab if it is not already selected.

Remote Control - Package Workshop

Select the LOCALHOST Client from the "Clients" tab

Remote Control - Package Workshop

Select the "Execute" button on the Setup page to send your package to the LOCALHOST Client

Remote Control - Package Workshop

Your package will be sent to the target Client(s)

Remote Control - Package Workshop

Your message box will appear on the screen. Click the "OK" button to make your message box close.

Remote Control - Package Workshop


You have successfully created your first Package.
Try changing the message, title and buttons that appear on your message box.

HOME SERVICES PRODUCTS SUPPORT CONTACT US
Empowerment Remote Control Forum
Analysis Geek-in-a-box Manuals
Development Autotech
Delivery Ezidoits
Clients

Laek Limited © 2003-2011