XMODULE Mac OS

broken image


brief introduction

The first release of the new OS — Mac OS X Server 1.0 — used a modified version of the Mac OS GUI, but all client versions starting with Mac OS X Developer Preview 3 used a new theme known as Aqua. The XModem tool allows you to upload and download files with the X transfer protocol when you are using the Apple Modem tool. Brief introduction. Mac users (mostly programmers) who prefer to access more traditional Unix toolkits through terminals will choose to install the optional command-line tool subset of the Xcode IDE, that isCommand Line Tools。. Starting with MacOS High Sierra, Sierra, OS X El Capitan, Yosemite, Mavericks, you can install it separately without first installing the entire Xcode package. XModule is a sci-fi racing game where you'll be able to create your own concept car. First, you'll choose which module you want to use for your career. The modules are different car setting, one module could be more indicated for offroad tracks, another one could have higher power and higher maximum speed but with a lot of handling weaknesses.

Mac users (mostly programmers) who prefer to access more traditional Unix toolkits through terminals will choose to install the optional command-line tool subset of the Xcode IDE, that isCommand Line Tools

Starting with MacOS High Sierra, Sierra, OS X El Capitan, Yosemite, Mavericks, you can install it separately without first installing the entire Xcode package or logging into the developer account.Command Line Tools

  • So this article is applicable to MacOS 10.13 High Sierra, 10.12 Sierra, OS X 10.11 El Capitan, OS X 10.10 Yosemite, MacOS X 10.9 and later versions.
  • Mac users running earlier versions of OS X can access this article Xcode Command Line Tools

Simply speakingCommand Line ToolsIt is a small stand-alone package that provides MAC end users with many common tools, utilities and compilers. Includes svn, git, make, GCC, clang, perl, size, strip, strings, libtool, cpp, what and many other useful commands found in the default Linux installation.

A complete list of commands in this toolkit will be listed later, or you can view them yourself after installation.

install

  1. Start the terminal or iterm terminal
  2. Enter the following command string

The following pop-ups will appear. Just click Installation.

  1. Then there will be an agreement to the terms of service pop-up, click on the agreement can be
Mac
  1. Waiting for download
  1. Installation will be prompted after completion of installation, click Installation Completion.
  1. You can then confirm that the installation was successful by trying to use one of the commands just installed, such as

Where is the package actually installed?

If you are interested in what's in the package, you can check the contents of the package yourself. It is installed in the root directory of MAC
/Library/Developer/CommandLineTools/

Note: In the root / directory, not the user directory ~/.

61 new commands available are in / Library / Developer / CommandLineTools / usr / bin /.

The following commands are listed alphabetically:

Reference article: How to Install Command Line Tools in Mac OS X (Without Xcode)

In this article, we are going to continue with our series on XModules and we are going to complete our understanding of what UI.Vision's XModules add-on is and also complete the installation process on the macOS operating system.

Module Mac Os

[Note: Added 20th Feb 2021: The good folks at UI.Vision has just released the latest version of XModule and one of the improvements on the Mac is the introduction of a package installer. Check out this video for an updated approach to install XModules]

If you have not read the first part of this series, you can do so by clicking here.

In the first part we gave a high level overview about what XModules is and how to install it on macOS. We also showed how we need to 'jump through some security hoops' when setting up on the macOS operating system to allow the File Access sub-module of XModules to work so that we can save our macros and other files on the local file system instead.

But XModules has 2 other sub-modules in addition to File Access and they are…

  • Real User Simulation
  • Desktop Automation

Together these 3 sub-modules of XModules gives you the ability to automate activities not just in the browser, but also on your local desktop computer, whether that be a Windows or macOS or Linux based computer. Bad job corporation (english version) mac os.

FileAccess XModule

For the sake of completeness, let's do a re-cap on why XModules and understand a little bit more about the FileAccess sub-module.

Essentially, UI.Vision RPA's front-end graphical user interface (GUI) is actually a browser extension that runs inside of Chrome or Firefox browsers.

From a security standpoint, browser extensions are not permitted to access resources beyond the browser and because of that, there is a lot of limitation to what the UI.Vision RPA tool can automate. Basically, it can only automate steps and activities inside the browser.

If you want UI.Vision RPA to read a text document on your PC and take the contents and put it on your website, you are out of luck because whilst UI.Vision RPA can automate steps on your website, it cannot access the text document on your PC.

Similarly, if you have a macro developed on UI.Vision RPA (like the one we built in our first and second mini-tutorials) and you want to save that macro into your local hard disk, you can't do that because browser extensions can only access a very specific area in your browser called a browser storage. You can only save the macro there.

If you delete the browser, that macro is gone.

Sure, UI.Vision RPA provided you tools to backup all the macros into a zip file that you can then save on your computer, but it would be much better if it can just save the macros into a designated folder on your PC.

These are the problems that the FileAccess XModules solve.

RealUser XModule

Whilst the ability to access the local file system is important, we also need to be able to automate actions outside of the browser. When I say actions, these are essentially the ability to simulate mouse clicks, drags and drops and keyboard entries exactly like a human does it.

Going a little bit technical here… The UI.Vision RPA browser automation capability is based on Selenium which relies on the specific webdrivers that are available for different web browsers. Whilst this is generally good enough to automate the testing of web applications, all the automation actions such as button clicks, data entry into text are all done via exposed APIs provided by the webdriver. In essence the automation is done at the browser-level.

But a normal user operating on a website using a mouse and keyboard, it doesn't quite work the same way. We operate our mouse and keyboard directly on the operating system level and not on the browser level like webdriver.

In order to be able to automate as if a real user is interacting with the application, we need to go beyond webdriver and onto the operating system level and that is where the RealUser XModule comes in.

Essentially this module provides you with 4 capabilities that can simulate these activities at the operating system level.

  • Mouse Clicks (including double clicks)
  • Mouse Moves (including mouse up and mouse down events)
  • Keyboard Typing (sending keystrokes and modifier keys like Ctrl, Alt, etc)
  • Optical Character Recognition (OCR)

If you can think of it this way, the RealUser XModules component provides you with hands and eyes for your automation.

DesktopAutomation XModule

DesktopAutomation essentially builds on the FileAccess and RealUser XModules to allow automation on the desktop in addition to browser.

What this means is that without DesktopAutomation, all your automation can automate are activities inside the browser.

So in my earlier scenario…. if you want to automate….

  1. Opening a text file on your local hard disk and then
  2. copy the text from that file so that you can then
  3. paste it on a google document in your browser

then DesktopAutomation will allow you to automate steps 1 and 2, while browser automation will allow you to automate step 3.

DesktopAutomation relies on FileAccess and RealUser XModules to achieve its tasks.

Let's Complete the Setup…

Now that we understand these different XModules and their respective tasks, let's continue from the last step we were at to complete the setup of XModules on our macOS computer.

For this part, I have created a video of it and if you prefer watching the video than going through a guide, then just click play on the video below… Otherwise, the blog continues after the video below.

The Non-Video Step-by-Step Guide…

First thing we want to do is to open UI.Vision RPA by clicking on the browser extension button.

On the UI.Vision RPA window that opened, open the UI.Vision Settings by clicking on the little gear icon on the top right as shown below.

When the Settings window open, go to the XModules tab, and inside you will see the 3 sub-modules we talked about earlier. The first is the FileAccess XModule which should show a status of 'Installed'.

The second and the third are the RealUser and DesktopAutomation XModules and they should have a status of 'Not Installed' as shown in the screenshot below.

Setup the RealUser XModule…

To install the RealUser XModule, click on the Test It button for the RealUser XModule.

Once again we will hit the macOS prompt telling us that a program needs to be run but its developer cannot be identified. In this case, the program is called ‘kantu-xy-host'. The pumpkin patch - a halloween adventure treat!! mac os. The prompt should look like below.

We just have to click the ‘Cancel' button here.

Bluetooth Module Mac Os

Next, we need to go into the macOS System Preferences (you can go there by clicking on the Apple Menu->System Preferences) and under the General tab, you'll see a prompt for you to allow the ‘kantu-xy-host' program to run, as shown below…

Click on the 'Allow Anyway' button and close the Security and Privacy window.

Now, go back to UI.Vision RPA window by clicking the small blue UI.Vision browser extension button.

Open the UI.Vision RPA Settings screen by clicking the little gear icon

You will now see another macOS prompt as shown below…

This time, click on 'Open' and you would have completed the setup for the RealUser XModule.

Now, at this stage, I thought it would be good to take a deeper look at the UI.Vision XModules architecture to give some background of what we are doing here… but if you just want to get through the installation, feel free to skip this part and just scroll down to the next section.

Now if we took a look at the files that we extracted when we download UI.Vision XModules, 3 key files standout and they are highlighted in the screenshot below.

As you can probably suspect, each one of these files correspond to each of the XModules.

We saw how when we tried to setup the FileAccess XModule that macOS security prompts us to give access to ‘kantu-file-access-host'.

Now when we are trying to access the RealUser XModule, we are prompted to allow the program ‘kantu-xy-host' to run,.

So when we get to the part of setting up the DesktopAutomation XModule, can you guess which program will macOS prompt us then? That's right, it would be ‘kantu-cv-host'.

Now the reason why we need to take all these extra steps on the macOS is because Apple has a tight security over the software it allows to run, on the macOS and they do this by ensuring that developers who write programs to run, on the macOS are verified by them.

And in this case, the XModules programs are not verified by Apple, hence macOS forces us to make this decision to allow the program to run,.

Setting up the DesktopAutomation XModule…

So, now that we understand what is happening here, we just need to repeat the steps for ‘kantu-cv-host'.

So…

  1. Open up UI.Vision RPA again and go to the Settings screen
  2. Under the XModule tab, look for the DesktopAutomation XModule and click ‘Test It'.
  3. You will see a macOS prompt telling you that ‘kantu-cv-host' is not by a verified developer. Click Cancel
  4. Go to macOS System Preferences->Security and Privacy and look at the General tab.
  5. You will see a prompt there for ‘kantu-cv-host'. Click ‘Allow Anyway'.
  6. Close the Security and Privacy window and go back to UI.Vision RPA.
  7. You will be prompted to allow ‘kantu-cv-host' to run,.
  8. Click on ‘Open'

And that's it. you would now have completed the setup of the 3 XModules sub-modules.

In my upcoming blogs and videos, we will take a look at how to use these XModules capabilities to go beyond automation on the browser.

As usual, I hope this has been helpful and please do leave a comment below on what you think.

Feature Image Credit: ben o'bro

Steven Wong

I'm a technologist that has been working in IT for more than 20 years. My area of focus is around automation technologies that help optimise the repeatable and mundane freeing up our human capacity for more challenging and interesting tasks.





broken image