Online Help > Support/Resources > Tips And Tricks

Testing variables



Remote Desktop Manager's Auto Typing Macro is really helpful to simulate user interaction. It's mostly used to perform automatic logon on web pages, but you can run advanced shell commands on various operating systems.


Sometimes you need to confirm exactly what will be sent when using our Variables.


A simple trick is to create a batch file that just types out whatever is sent on the command line.


Just copy the following in your favorite editor and save it as a command file, I named mine parrot.bat


@echo off



echo %*





After its a simple matter of creating a command line session and set the command line to the path of the parrot.bat file, and add the variables right after.


"C:\tools\parrot.bat" $DOMAIN$ $IP$ $USERNAME$


Now when you run the entry, you will see exactly what values are sent.


A reminder that for the password to be available as a variable, you must go in the Advanced settings of the entry and check Allow password in variable.