AccoreConsole CommandMethod and UserInput

AccoreConsole CommandMethod and UserInput

Anonymous
Not applicable
488 Views
1 Reply
Message 1 of 2

AccoreConsole CommandMethod and UserInput

Anonymous
Not applicable

Hi all, similar to how one can write a custom CommandMethod in C# and receive string inputs using PromptStringOptions and the editor. 

 

Is it possible to do something similar using AccoreConsole and maybe using a script? Or define a CommandMethod that can take arguments?

 

Something like:

 

SECURELOAD 1
NETLOAD
"C:\CustomFolder\CustomACADLib.dll"
testMethod

"inputForPromptInTestMethod1"

"inputForPromptInTestMethod2"
_.QUIT

 

Thank you!

0 Likes
Accepted solutions (1)
489 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

Doh, figured out my test code wasn't working due to having to restart VS. Found I can still use the Editor object to prompt inputs and feed them through the script. 

 

Sorry and thanks.

0 Likes