Screen Action Logger is an Action Logger functional extension to capture screenshots as an additional attribute.
If you want the original tool, check the action_logger
branch.
Python == 3.9.10 (64bit) is required.
-
Install Visual Studio C/C++ Build Tools on Windows
It is vital to install all C++ related development tools like:
- Windows 10 SDK
- Visual C++ tools for CMake
- C++ x64/x86 build tools
If you encounter errors like
Microsoft Visual C++ 14.0 is required
, check here. -
Install Brew on MacOS
-
Install project dependencies
pip3 install -r requirements.txt
The browser extension is required to log browser events. It is available in extensions/browserlogger
and supports 4 major browsers:
-
Google Chrome: load unpacked
browserlogger
directory inchrome://extensions/
-
Mozilla Firefox: install
browserlogger.xpi
inabout:addons
-
Microsoft Edge (chromium): load unpacked
browserlogger
directory inedge://extensions/
-
Opera: load unpacked
browserlogger
directory inopera:extensions
Once main logger is running, you must click on the browser extension to enable it.
The excel addin is required to log Excel events only on MacOS.
Node.js
must be installed to run this addin.
cd extensions/excelAddinMac
npm install # install dependencies
npm start # sideload Add-in
npm stop # stop server
Click to show how to activate the Add-in in Excel
- Start the Action Logger selecting Excel module
- Go to
Insert
tab - Click on the small down-arrow to the right of
My Add-ins
>OfficeLogger
- Go to
Home
tab - Click the
Show Taskpane
button in the ribbon - Enable the checkbox
If you don't find OfficeLogger
under My Add-ins
, copy extensions/excelAddinMac/manifest.xml
into ~/Library/Containers/com.microsoft.Excel/Data/Documents/wef
, as described here.
python3 main.py
Click to show how to fix ModuleNotFoundError
error on Windows
If you have installed all the dependencies(pip3 install -r requirements.txt
) but you still get ModuleNotFoundError
, run the tool with:
py main.py
The resulting event log will be saved in /RPA
directory.
NOTE: In the Action Logger, when selecting a Microsoft Office program to log, it will automatically be opened. This is required to correctly handle events. The opened window should not be closed until logging is completed.