Commenting Desktop Scripts

Commenting Desktop Scripts

The Desktop Scripting Language supports both inline and block comments.

Inline Comments

C# / C++ style single line comments are supported. Any text starting with two “/”s is ignored to the end of the line.

Example:

// This is a comment

UnSelect  // This is also a comment


Block Comments

Block comments can run over multiple lines. Block comments start with a /* and end at the next */.
Example:
/*
This is a comment.
And so is this.
*/





    • Related Articles

    • Syntax Diagrams

      Syntax Diagrams This documentation uses syntax (or “railroad”) diagrams to show the structure of the commands. They provide a graphical way of showing mandatory and optional parameters, or parts of, a command. Graphical Representation A syntax ...
    • Desktop Scripting

      Structure of a Script A Desktop DSL Script has the following functional sections (not all are required for all apps): Error Directive Determines the impact of errors on the script run. Process Start and Identification Ensures the correct windows ...
    • Desktop Scripting Overview

      Purpose The My1Login Desktop Scripting language is a Domain Specific Language (Desktop DSL), targeted at controlling and responding to Windows desktop applications, with the aim of injecting user credentials that are stored in the My1Login system. It ...
    • My1Login Desktop Client Overview

      Introduction The Desktop Client (DTC) is My1Login’s Windows solution for integrating Single Sign On with legacy (desktop, terminal) applications and web based applications. The Desktop Client runs on the user’s desktop. It monitors the processes ...
    • Script Example - Using Notepad

      Script Example - Using Notepad This section introduces a basic script that interacts with the windows Notepad application. The script does three things: It inserts some text in the Notepad window when Notepad starts. It shows a message to the user ...