Robotic Process Automation (RPA) is a technology that allows software applications like CASE to automate repetitive and rule-based tasks that are typically performed by humans. In the context of CASE, RPA involves using automated scripts and commands to carry out operations such as data entry, file manipulation, and other routine tasks across different systems and applications. This automation frees up time for more complex and strategic activities, increases efficiency, reduces errors, and ensures consistent results.
With CASE, RPA can be customized to interact with various environments, whether it’s navigating user interfaces, processing large volumes of data, or performing intricate workflows. By automating these processes, CASE enables users to achieve higher productivity and focus on more valuable work, all while maintaining control and oversight of the automated activities.
Welcome to the comprehensive guide on working with Robotic Process Automation (RPA) within the CASE application. This page provides detailed explanations of the RPA short codes, their verbose alternatives, and how each function can be utilized to automate tasks efficiently.
What is RPA?
Working With RPA
The initiative with CASE was to develop a comprehensive and short code system for mouse and keyboard control. The mouse control is a series of known stored variables determined by Microsoft. The keyboard control works off of Microsoft's SendKeys.Send method for typing programmatically. For normal text, they just use the standard keyboard, for special keys and symbols, they assign them specialized curly-braced keywords.
Here are all of the special-key keywords which you would utilize in the "s" short code:
Key
Code
BACKSPACE
{BACKSPACE}, {BS}, or {BKSP}
BREAK
{BREAK}
CAPS LOCK
{CAPSLOCK}
DEL or DELETE
{DELETE} or {DEL}
DOWN ARROW
{DOWN}
END
{END}
ENTER
{ENTER} or ~
ESC
{ESC}
HELP
{HELP}
HOME
{HOME}
INS or INSERT
{INSERT} or {INS}
LEFT ARROW
{LEFT}
NUM LOCK
{NUMLOCK}
PAGE DOWN
{PGDN}
PAGE UP
{PGUP}
PRINT SCREEN
{PRTSC} (reserved for future use)
RIGHT ARROW
{RIGHT}
SCROLL LOCK
{SCROLLLOCK}
TAB
{TAB}
UP ARROW
{UP}
F1
{F1}
F2
{F2}
F3
{F3}
F4
{F4}
F5
{F5}
F6
{F6}
F7
{F7}
F8
{F8}
F9
{F9}
F10
{F10}
F11
{F11}
F12
{F12}
F13
{F13}
F14
{F14}
F15
{F15}
F16
{F16}
Keypad add
{ADD}
Keypad subtract
{SUBTRACT}
Keypad multiply
{MULTIPLY}
Keypad divide
{DIVIDE}
RPA within the CASE application allows you to automate repetitive tasks by executing a series of commands. These commands can be issued using either a short code or a more verbose alternative, depending on your preference. This flexibility ensures that both advanced users and those new to RPA can quickly and effectively automate their workflows.
The following sections detail each RPA short code, its verbose counterpart, the parameters it accepts, and how it works in practice.
One of the powerful features of RPA in the CASE application is the ability to string together multiple RPA codes to create a seamless sequence of actions. This section explains how to structure these codes into a cohesive automation workflow.
Each RPA command can be joined in a single line, separated by semicolons (;
), to form a sequence that the application will execute step by step. The order of the commands is crucial, as it dictates the flow of actions performed by the automation process.
Here’s a breakdown of how to structure your RPA commands:
sHello{ENTER};t1000;l100,100;r200,200
In this example, the automation types "Hello" followed by pressing Enter, waits for 1 second, then performs a left click at coordinates (100,100) and a right click at (200,200).
fimage.png;l150,150;t500;gimage.png;vimage2.png,t1000
This example finds and clicks an image, performs a left click at a specific coordinate, waits for 500 milliseconds, double clicks on another image, and waits up to 1 second for a third image to appear before proceeding.
z
command to run predefined commands, effectively reusing existing sequences within a new context.zMyCustomCommand;t1000;himage.png
Here, the automation runs a custom command called "MyCustomCommand," waits for 1 second, and then waits for an image to appear before continuing.
The flexibility of the CASE RPA structure allows you to create intricate and tailored automation processes by combining commands creatively. By mastering how to structure these sequences, you can automate even the most complex workflows efficiently.
Short Code: a
Verbose Alternative: Alt+Tab:
Parameters: 5
This command simulates the Alt+Tab key combination, which is used to switch between open windows. The parameter specifies the number of windows to cycle through.
Example:
a5
Short Code: l
Verbose Alternative: Left Click:
Parameters: 100,100
This command performs a left mouse click at the specified screen coordinates (X, Y). It is useful for interacting with elements on the screen such as buttons, links, or any clickable area.
Example:
l100,100
Short Code: r
Verbose Alternative: Right Click:
Parameters: 100,100
This command performs a right mouse click at the specified screen coordinates. It is typically used to open context menus or interact with elements that respond to right clicks.
Example:
r100,100
Short Code: d
Verbose Alternative: Click And Drag:
Parameters: 100,100,200,200
This command simulates clicking at a starting coordinate and dragging to an ending coordinate. It is often used for selecting multiple items, moving windows, or dragging objects within applications.
Example:
d100,100,200,200
Short Code: f
Verbose Alternative: Find And Click:
Parameters: image.png
This command searches for a specific image on the screen and clicks on it once found. It is powerful for automating interactions in interfaces that are visually complex or where elements are not easily accessed by coordinates.
Example:
fimage.png
Short Code: g
Verbose Alternative: Double Click On Image:
Parameters: image.png
This command finds an image on the screen and performs a double click on it. This is useful for opening files or executing actions that require a double click on a specific area.
Example:
gimage.png
Short Code: j
Verbose Alternative: Find And Right Click:
Parameters: image.png
This command locates an image on the screen and right clicks on it. It's typically used to open context menus or perform right-click actions on specific elements.
Example:
jimage.png
Short Code: k
Verbose Alternative: Double Right Click On Image:
Parameters: image.png
This command finds an image on the screen and performs a double right-click on it. This is useful for advanced context menu interactions that require multiple right clicks.
Example:
kimage.png
Short Code: h
Verbose Alternative: Wait For Image:
Parameters: image.png
This command pauses the automation process until a specified image appears on the screen. It ensures that subsequent commands are executed only when the visual condition is met.
Example:
himage.png
Short Code: v
Verbose Alternative: Wait For Image With Timeout:
Parameters: image.png,1000
This command waits for an image to appear on the screen, but only for a specified amount of time (in milliseconds). If the image does not appear within the timeout period, the command proceeds without performing any actions.
Example:
vimage.png,100
Example:
vimage.png,1000
Keyboard Actions
Typing Text
Short Code: s
Verbose Alternative: Type:
Parameters: Text to Type {ENTER}
This command types the specified text at the current cursor location. It is often used to enter text into forms, command prompts, or any input field within an application. You can include special keys such as {ENTER} to simulate pressing the Enter key after typing.
Example:
sHello, World!{ENTER}
Tab
Short Code: n
Verbose Alternative: Tab:
Parameters: 5
This command simulates pressing the Tab key a specified number of times. It is useful for navigating through form fields or other tabbed elements in an application.
Example:
n5
Copy to Clipboard
Short Code: p
Verbose Alternative: Copy To Clipboard:
Parameters: None
This command simulates pressing Ctrl+C to copy the selected text or object to the clipboard. It is often used in conjunction with the Select All command to copy everything on a page or in a document.
Example:
p
Paste from Clipboard
Short Code: o
Verbose Alternative: Paste From Clipboard:
Parameters: None
This command simulates pressing Ctrl+V to paste the contents of the clipboard at the current cursor location. It is useful for inserting copied text or data into forms, documents, or command prompts.
Example:
o
Select All
Short Code: i
Verbose Alternative: Select All:
Parameters: None
This command simulates pressing Ctrl+A to select all text or objects in the current window or document. It is often the first step in operations like copying, cutting, or formatting large blocks of text.
Example:
i
Window Management
Maximize Window
Short Code: x
Verbose Alternative: Maximize:
Parameters: None
This command maximizes the current window. It is useful for ensuring that the full interface of an application is visible and accessible during automation.
Example:
x
Minimize Window
Short Code: y
Verbose Alternative: Minimize:
Parameters: None
This command minimizes the current window. It is often used to clear screen space or to move a window out of the way when performing other tasks.
Example:
y
Open Start Menu
Short Code: e
Verbose Alternative: Start Menu:
Parameters: None
This command opens the Start Menu on a Windows machine. It can be used to access applications, settings, or other system features quickly.
Example:
e
Other Commands
Sleep
Short Code: t
Verbose Alternative: Sleep:
Parameters: 1000
This command pauses the automation for a specified amount of time (in milliseconds). It is useful for adding delays between actions to ensure that the system has enough time to process each step.
Example:
t1000
Update Command Timer
Short Code: u
Verbose Alternative: Update Command Timer:
Parameters: 1000
This command updates the internal timer for the command execution, allowing you to adjust the timing of your automation sequence on the fly.
Example:
u1000
Run Command
Short Code: z
Verbose Alternative: Run Command:
Parameters: NameOfCommand
This command executes another RPA command by name. It is useful for chaining commands together or running predefined sequences of actions.
Example:
zMyCustomCommand
Conclusion
This guide has provided an in-depth look at the RPA short codes available within the CASE application. By understanding and utilizing these codes, you can significantly enhance your automation workflows, making them more efficient and tailored to your specific needs. Whether you prefer the concise short codes or the more descriptive verbose alternatives, CASE provides the flexibility to automate tasks with ease.
For further information, you can explore other sections of the CASE documentation or experiment with these commands to discover their full potential.