Kelaberetiv

The Singapore AI Ecosystem

Executing TagUI inside application with Javascript  

  RSS

Narendra
(@narendra)
New Member Members
Joined:5 months  ago
Posts: 2
26/05/2018 10:31 pm  

HI, I need to execute TagUI file (set of commands) inside my application (angularjs) with Javascript. Can you provide any resources or example code.

Thank you.

Edited: 5 months  ago

ReplyQuote
Ken Soh
(@kensoh)
Member Admin
Joined:10 months  ago
Posts: 8
27/05/2018 2:33 pm  

Hi Narenda, thanks for posting and asking about this. AngularJS is a frontend framework, by design, a web-browser can't execute command-line commands on the user's computer, for security reasons. Thus JavaScript through AngularJS is unlikely to gain access to run commands on the computer.

However, if you are using Node.js backend as the framework, there are many ways to run command-line commands. Some of those ways are in below links. Which you can trigger tagui as a normal command and then retrieve the execution output back.

- https://nodejs.org/docs/latest/api/child_process.html
- https://www.npmjs.com/package/node-cmd

In any case, you can email me at ksoh@aisingapore.org if you have further questions, or refer to the GitHub issue created for this thread of discussion! -  https://github.com/kelaberetiv/TagUI/issues/178

Life = Will x (Stability + Change)


ReplyQuote
Narendra
(@narendra)
New Member Members
Joined:5 months  ago
Posts: 2
29/05/2018 12:33 pm  

Hi Ken Soh,

we would like to run the RPA process at client browsers (If clients are located in different areas) from server.  we are Using Node JS as a backend. Please kindly give me a suggestion, is it possible to run from server.

Scenario:

we have a concept of Invoice in  our application . We would like to run through RPA Commands when user clicks on a button for generating a new Invoice. 

Do we need to Install Tag UI for each client or is it possible to run from server.

 

2) While Executing the RPA Command, it is closing all browser windows and as well as after completion of Execution. I don't want to close any window. please give me a suggestion on this.

Thanks in advance


ReplyQuote
Share:

Pin It on Pinterest

  
Working

Please Login or Register