Item | Description |
---|---|
Startup scripts, Windows |
|
All |
|
Dialog specifier |
|
Class Window-Class |
|
Window-Class |
A string specifying the window class that this statement will match. |
When a window is created, it is based on a template known as a window class. The Class command checks to see if the class of the newly created window matches its Window-Class argument. If the window matches the Window-Class argument, the execution of the script continues to the next line. If the window doesn't match the Window-Class argument, execution continues at the next dialog statement. You can determine the class by using Window Finder. See Finding Control IDs. In any Dialog statement, place the Class command before the Title command. |
|
Example: |
# Login Dialog Box Type $Username #1001 |