Pages

Tuesday, September 28, 2021

How to enable TagUI running on MOE SSOE machine

https://www.youtube.com/watch?v=J76fAWwcahs
It is possible to run TagUI on SSOE already but there are some usability issues or path blockers you need to overcome.
Thanks to Ken for exploring the solution.

Requirement

  1.  download to D: TagUI v6.46 for Windows
  2. unzip is needed but to D:
  3. Java for computer vision is already installed so can ignore Install OpenJDK for Windows
  4. Chrome is already installed so can ignore Install Chrome web browser
  5. new method to run every time to new d:\rpa\tagui to path Add c:\tagui\src to start of path cannot be done as SSOE does not support permanent path change
  6. open command prompt via new method listed below Open Command Prompt
  7. Navigate to the flow folder 📁 in order to save output csv files (best practice)
  8. Set path every time the SSOE boot up (recommended every boot up time run it on cmd)

    • set path=d:\rpa\tagui\src;%path%
  9. Copy, paste and run this command while in the folder of flows
    • tagui 1_google.tag
    • Not recommended to do below line as it fails to save output.csv while in scr folder
    • tagui D:\rpa\tagui\flows\samples\1_google.tag

SSOE steps below not recommended as Everytime ssoe reboot all shortcut is deleted I think.



  1. Read this https://tagui.readthedocs.io/en/latest/setup.html
  2. Go to https://tagui.readthedocs.io/en/latest/setup.html and download the TagUI v6.46 for Windows which is a zip file, PS dont use the installer as it will lead to a pop up asking for admin rights
  3. Unzip the contents to d:\rpa the reason is SSOE allow only unzipping to D drive, C drive cannot allow unzipping
  4. Right click on the window desktop and create a new shortcut and click ok and copy paste the following line into the item 
    • C:\Windows\System32\cmd.exe /k set path=d:\rpa\tagui\src;%path%
  5. Give a meaningful name like 
    • tagui command prompt rpa
  6. Create cmd shortcut 
    • C:\Windows\System32\cmd.exe /k set path=d:\rpa\tagui\src;%path% 
  7. An icon will appear on the desktop

  8. These steps will include a path shortcut /k set path=d:\rpa\tagui\src;%path% so the point is the path cannot be added by normal users so everytime SSOE users can double click on this to run the command prompt.
  9. type in to check if TagUI is path setup correctly

    • tagui
  10. the samples are saved here D:\rpa\tagui\flows\samples 


  11. To run samples type in

    • tagui D:\rpa\tagui\flows\samples\1_google.tag

  12. Occasionally, type in the command to fetch the latest version of TagUI
    • tagui update
  13. Enjoy!

Alternatives


Set path every time the SSOE boot up recommended

  • set path=d:\rpa\tagui\src;%path%

Run the tagui in the scr folder with the full path of the tagui files, not recommended as it will fail to save output csv.

For example
  • D:\rpa\tagui\src>tagui D:\rpa\tagui\flows\samples\1_google.tag

If you use personal 💻, try this way to edit the environment.

No comments:

Post a Comment