POISE-SkyLite User Guide - Palmer College of Chiropractic, Intranet ...
POISE-SkyLite User Guide - Palmer College of Chiropractic, Intranet ... POISE-SkyLite User Guide - Palmer College of Chiropractic, Intranet ...
ADVANCED SKYLITE CHAPTER 4 OLE Automation OLE automation is an industry standard that enables applications to expose their OLE objects to applications that support OLE, such as Visual Basic for Applications (VBA), the Excel Macro Language, Visual C++, and Delphi. SkyLite is an automation-enabled object. This means that you can open SkyLite sessions and make use of the macro language from within applications that are OLE automation controllers such as VBA. The commands listed below can be used in Visual Basic programs to start and close SkyLite sessions and run macro scripts. Command Description Parameter Parameter Description session.setting The name given to SkyLite in the Windows registry. - - SkyLite.LoadSession SkyLite.ScriptExec Loads a SkyLite session. Executes the SkyLite script line. “String”, “String”, bool “String” Session File name including path. Unused. Unused. A valid SkyLite macro command. SkyLite.StartScript Runs a macro file. “String” A macro filename including the full path. SkyLite.StartSession Starts or restarts a - - loaded session. SkyLite.Unload Unloads SkyLite. - - SkyLite.EndSession Ends SkyLite session. - - VBA Example The following example shows how some of these commands can be used to load and start a SkyLite session using Visual Basic for Applications. Rem Define the variable SkyLite as the data type object. Rem This represents the SkyLite application when used for Rem OLE automation Dim SkyLite As object Rem Create an OLE object that corresponds to SkyLite. Rem We will use this object to invoke Rem published automation methods. Set SkyLite = GetObject("", "Session.Setting") Rem Start a session with the given name result = SkyLite.LoadSession("TEST.SES", "", True) Rem Once SkyLite has loaded, tell it to print something Rem on the terminal window. result = SkyLite.ScriptExec("print ""hello world""") Rem Close the SkyLite session SkyLite.endsession Rem Unload/Exit SkyLite SkyLite.unload 54 POISE-SkyLite User Guide
CHAPTER 4 ADVANCED SKYLITE FTP File Transfer SkyLite provides facilities enabling you to upload and download files to and from a remote FTP server. The presence of the file “wininet.dll” is required. This is usually installed with Microsoft Internet Explorer. If Internet Explorer is not installed, the dll is installed using “‘wintdist.exe”’ when SkyLite is installed. FTP file transfers can be invoked from the System menu by selecting the Start FTP File Transfer option. This option is grayed out if wininet.dll is not present. FTP file transfers may be carried out at any time during a session. When a transfer is invoked, SkyLite makes a connection to the FTP host, so it is not necessary for you to be connected to the host, or to be using a TCP/IP connection. Only one FTP transfer can be active at a time. Starting FTP Transfers from the System Menu To transfer files: 1. Select the Start FTP File Transfer option on the System menu. The Start FTP dialog is displayed. 2. Specify the remote FTP server address in the FTP Server Address box. The entry defaults to the last used FTP address. If you are currently connected to a host via TCP/IP, then the address of that host can be selected as a secondary entry in the box. The server address may have a file path appended, for example: ftp.microsoft.com/services/technet Whenever the address is modified, you will be asked if the Username is to be changed as well. If yes, the FTP Options dialog is displayed in order to facilitate this (see Step 5 below). 3. In the Direction box, select the direction of the transfer, either Send to Host or Receive From Host. POISE-SkyLite User Guide 55
- Page 3 and 4: Table of Contents INTRODUCTION.....
- Page 5 and 6: TABLE OF CONTENTS Connections: Netw
- Page 7 and 8: Chapter 1 Introduction Welcome to P
- Page 9 and 10: CHAPTER 1 INTRODUCTION See page 18.
- Page 11 and 12: Chapter 2 Using SkyLite Overview Th
- Page 13 and 14: CHAPTER 2 USING SKYLITE Customizing
- Page 15 and 16: CHAPTER 2 USING SKYLITE Starting Sk
- Page 17 and 18: CHAPTER 2 USING SKYLITE See page 41
- Page 19 and 20: CHAPTER 2 USING SKYLITE Each concur
- Page 21 and 22: CHAPTER 2 USING SKYLITE See page 51
- Page 23 and 24: CHAPTER 2 USING SKYLITE Select a bo
- Page 25 and 26: CHAPTER 2 USING SKYLITE Following i
- Page 27 and 28: CHAPTER 2 USING SKYLITE To force pr
- Page 29 and 30: CHAPTER 2 USING SKYLITE 4. Enter th
- Page 31 and 32: CHAPTER 2 USING SKYLITE Customizing
- Page 33 and 34: CHAPTER 2 USING SKYLITE Clicking on
- Page 35 and 36: CHAPTER 2 USING SKYLITE Configuring
- Page 37 and 38: CHAPTER 2 USING SKYLITE Selecting F
- Page 39 and 40: CHAPTER 2 USING SKYLITE used. If th
- Page 41 and 42: Chapter Networks and Emulations 3 O
- Page 43 and 44: CHAPTER 3 NETWORKS AND EMULATIONS S
- Page 45 and 46: CHAPTER 3 NETWORKS AND EMULATIONS I
- Page 47 and 48: CHAPTER 3 NETWORKS AND EMULATIONS T
- Page 49 and 50: Chapter 4 Advanced SkyLite The foll
- Page 51 and 52: CHAPTER 4 ADVANCED SKYLITE 3. Stop
- Page 53: CHAPTER 4 ADVANCED SKYLITE Macro Co
- Page 57 and 58: CHAPTER 4 ADVANCED SKYLITE 10. To i
- Page 59 and 60: CHAPTER 4 ADVANCED SKYLITE Activati
- Page 61 and 62: Chapter 5 Troubleshooting The follo
- Page 63 and 64: CHAPTER 5 TROUBLESHOOTING If this d
- Page 65 and 66: Chapter 6 POISE Applications Overvi
- Page 67 and 68: CHAPTER 6 POISE APPLICATIONS Hints
- Page 69 and 70: CHAPTER 6 POISE APPLICATIONS Code l
- Page 71 and 72: CHAPTER 6 POISE APPLICATIONS Toolba
- Page 73 and 74: CHAPTER 6 POISE APPLICATIONS Button
- Page 75 and 76: CHAPTER 6 POISE APPLICATIONS Select
- Page 77 and 78: Appendix A Systems Administration R
- Page 79 and 80: APPENDIX A SYSTEMS ADMINISTRATION R
- Page 81 and 82: Appendix B Running SkyLite in a Web
- Page 83 and 84: APPENDIX B RUNNING SKYLITE IN A WEB
- Page 85 and 86: APPENDIX B RUNNING SKYLITE IN A WEB
- Page 87 and 88: Index i Index A Administrative Syst
- Page 89: INDEX R recording a macro · 50 Res
CHAPTER 4<br />
ADVANCED SKYLITE<br />
FTP File Transfer<br />
<strong>SkyLite</strong> provides facilities enabling you to upload and download files to and from a<br />
remote FTP server. The presence <strong>of</strong> the file “wininet.dll” is required. This is usually<br />
installed with Micros<strong>of</strong>t Internet Explorer. If Internet Explorer is not installed, the dll is<br />
installed using “‘wintdist.exe”’ when <strong>SkyLite</strong> is installed.<br />
FTP file transfers can be invoked from the System menu by selecting the Start FTP File<br />
Transfer option. This option is grayed out if wininet.dll is not present.<br />
FTP file transfers may be carried out at any time during a session. When a transfer is<br />
invoked, <strong>SkyLite</strong> makes a connection to the FTP host, so it is not necessary for you to be<br />
connected to the host, or to be using a TCP/IP connection. Only one FTP transfer can<br />
be active at a time.<br />
Starting FTP Transfers from the System Menu<br />
To transfer files:<br />
1. Select the Start FTP File Transfer option on the System menu. The Start FTP<br />
dialog is displayed.<br />
2. Specify the remote FTP server address in the FTP Server Address box. The entry<br />
defaults to the last used FTP address. If you are currently connected to a host via<br />
TCP/IP, then the address <strong>of</strong> that host can be selected as a secondary entry in the<br />
box.<br />
The server address may have a file path appended, for example:<br />
ftp.micros<strong>of</strong>t.com/services/technet<br />
Whenever the address is modified, you will be asked if the <strong>User</strong>name is to be<br />
changed as well. If yes, the FTP Options dialog is displayed in order to facilitate<br />
this (see Step 5 below).<br />
3. In the Direction box, select the direction <strong>of</strong> the transfer, either Send to Host or<br />
Receive From Host.<br />
<strong>POISE</strong>-<strong>SkyLite</strong> <strong>User</strong> <strong>Guide</strong> 55