You can use the Command object to run Opus commands (in this case, you would run the
yes I have tried this
var cmd = clickData.func.command; cmd.RunCommand('CreateFolder NAME="regfolder" READAUTO');
regfolder is my Variable name, But It's Create a folder which name regfolder, but it's not use my variable data.
The command you're passing to Opus is a string, so you just need to build the string with your variable in it. E.g.
var name = 'folder name'; var cmd = clickData.func.command; cmd.RunCommand('CreateFolder NAME="' + name + '" READAUTO');
Thanks Jon now it's Works, But How to change the focus to destination file display Here?
cmd.SetSourceTab(cmd.desttab); before the RunCommand line.
Thanks Jon it's works now
Hi Jon, It's Create the folder in Destination file display but the Focus Doesn't Changed to Destination. How to change the Focus also?
This Command Works fine.