VanDyke Software Forums

VanDyke Software Forums (
-   Scripting (
-   -   Example: Use Description Field as Script Arguments (

jdev 08-18-2016 11:05 AM

Example: Use Description Field as Script Arguments
1 Attachment(s)
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.


All times are GMT -6. The time now is 01:03 PM.