How do I output variables?

Discuss RoboTask here
Post Reply
Jaxom
Posts: 1
Joined: Mon Apr 15, 2019 8:36 pm

How do I output variables?

Post by Jaxom »

The User's Guide, under "Debugging of the Task", says...

As a text you can output one or several variables. For example:
{MyVar1}
{MyVar2}

How do you "output" these variable values? With a series of "Put Text" / "Paste" actions into a text file or Word doc? Or is there a simpler way?

Also, if I search the forum for "variables" I get a message, "The following words in your search query were ignored because they are too common words: variables." And if I search for a phrase, "variable names" or "output variables" the word "variables" is ignored in the search. It would be nice if that were changed. Right now, it's often more productive to search the forum from Google than within the forum itself.

Thank you.
Oleg
Site Admin
Posts: 3000
Joined: Thu Jan 01, 1970 1:00 am
Contact:

Re: How do I output variables?

Post by Oleg »

The simplest way you can output variable into the task log
look at the Log message action.

Use {MyVar1} or {MyVar2} as message text. You can see these values in the task log. I think that this is best way.

You can use Show Message action to see values in the alert dialog

You can output values into the text file (Write Text File action)
Oleg Yershov
Post Reply