View Single Post
Old 08-18-2016, 12:05 PM
jdev's Avatar
jdev jdev is offline
VanDyke Technical Support
Join Date: Nov 2003
Location: Albuquerque, NM
Posts: 1,039
Example: Use Description Field as Script Arguments

This example script shows how you can use the "Description" field of a saved session to store data that you need to use somewhere within your script, but you don't want to hard-code it (because it might be session-specific, for instance).

This data can specified by editing a session's properties and within the Connection category of the Session Options window, filling in the Description field with the info you want to make available to the script. Each piece of info should be on its own line within the Description field, and be prefaced with "ARG:" as exemplified by the comments within the script code itself.

Attached Files
File Type: txt UseDescriptionFieldAsScriptArguments.vbs.txt (5.7 KB, 877 views)
Jake Devenport
VanDyke Software
Technical Support
YouTube Channel: