saucepleez / taskt

taskt (pronounced 'tasked' and formely sharpRPA) is free and open-source robotic process automation (rpa) built in C# powered by the .NET Framework
http://www.taskt.net/
1.1k stars 352 forks source link

[Enhancement] Allow New Variable name to be pulled from variable itself #254

Closed ITE-Sound closed 3 years ago

ITE-Sound commented 3 years ago

This allows for dynamic variable creation. For example, in my case, i am making a variable out of columns returned from a db query. the name of the variable is the column name and the value is the value.

I accomplished this edit by merely adding ; var scriptPath = v_ScriptPath.ConvertToUserVariable(sender); var scriptPath = v_ScriptPath.ConvertToUserVariable(sender);

to the runcommand proc in RunScriptCommand.cs

saucepleez commented 3 years ago

You can now use the set variable command which can convert variables within the input text.