Giter Site home page Giter Site logo

automagica-1's Introduction

Automagica Client

Automagica is an open source Smart Robotic Process Automation (SRPA) platform. With Automagica, automating cross-platform processes becomes a breeze. With this open source library we want to provide a comprehensive and consistent wrapper around known and lesser known automation libraries.

Refer to our website for more information: https://portal.automagica.be

Getting started

Prerequisites

  1. Python 3.6.4 from https://www.python.org
  2. Automagica Bot ID - get one from https://portal.automagica.be

Installation instructions

Install Automagica on the bot host machine:

pip install https://github.com/OakwoodAI/automagica/tarball/master

Optional (to enable Optical Character Recognition)

For Windows, install Tesseract 4 from here.

For Linux (Ubuntu):

sudo apt-get install tesseract-ocr

For MacOS:

brw install tesseract

Running the Bot

  1. Get your Automagica Bot ID from https://portal.automagica.be
  2. In command line or terminal run following command. Replace <bot_id> with your Bot ID.
automagica <bot_id>

If you do not provide a Bot ID, the application will ask for it.

Failsafe

As a safety feature, a failsafe mechanism is enabled by default. You can trigger this by moving your mouse to the upper left corner of the screen. You can disable this by running the following command in the editor:

Failsafe(False)

Examples

Browser working with Excel:

SAP Automation (Real life example, sensitive information is blurred):

Example code

This is a simple example that opens Notepad and types 'Hello world!'.

PressHotkey('win','r')
Wait(seconds=1)
Type(text='notepad', interval_seconds=0)
PressHotkey('enter')
Wait(seconds=2)
Type(text='Hello world!', interval_seconds=0.15)

This is a simple example that opens Chrome and goes to Google.com.

browser = ChromeBrowser()
browser.get('https://google.com')

For more and more extensive examples see the folder 'examples'.

Important notes

For the Type-function to work, you need to set the "United States-International" keyboard layout on your system. If the keyboard layout is not available, outcomes of the function might be different.

Credits

Under the hood, Automagica is built on some of the greatest open source libraries. Within Automagica, the following libraries are currently included:

A special thanks goes out to all the above-mentioned repository contributers! ❤️

automagica-1's People

Contributors

koenvaneijk avatar tvturnhout avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.