' This VB-Script generates an output into the Output Window, on the Macro tab
'-----------------------------------------------------------------------------
' Copyright (c) 2016 PEAK-System Technik GmbH.  All rights reserved.

Set app = CreateObject("PCANExplorer6.Application")
app.MainWindow.IsVisible = True

app.PrintToOutputwindow "Hello from VBScript"

MsgBox "The script has sent a message to PCAN-Explorer...", vbSystemModal

app.Quit
