FRep support archive

Category : Edit Sequence (2)

Edit Sequence

Categories: Edit Sequence
Tags: No Tags

Create more flexible record as sequence, consisting of multiple operation records and/or controls, in Edit Sequence screen. Concatenate records for longer replay, add control for reproducibility, and complete your sequence as item list.  By tapping sequence or [+] Create Seq. in Manage Traces will show this screen with the sequence data.

By tapping top (or top-right) record information will open Display Settings, Replay Settings, or Preview as Manage Traces screen.

Sequence as Item ListFRep Edit Sequence

In the list of Edit Sequence, each operation record or control is shown as single item with #No., label button, icon (with small icons), description, and checkbox.

- #Sequence No.
The sequence will be played from 1. to last number. The Loop range or other control’s destination are described as this. Tapping switches skip, long-tapping switches bookmark (see below).

- Label button (gray:record, green:control, yellow:proc.)
With Notify Play Process options, the label will be shown in popup when the playing process reaches the item.  If the label is empty, the process will not be notified.

Active as button when Use Popup UI menu is OFF: Tapping will open the setting panel.

- Icon, superior small icon
For operation record, the app icon or the screenshot on which was recorded will be shown (switchable by Show Preview Icon in menu), with small green triangle icon.

For control, each control will be shown as specific icon, app as its setting, image region for Image Match. If Show Console to Skip/Extend is ON for the control, superior icon will be orange pause icon.

Active as button when Use Popup UI menu is OFF: Tapping will show Edit Traces dialog (see below) for operation, the setting panel for control.

- Subscript small icon
Shown when any destination (#No., Abort or Return, see below) is set for replay finish or for control success/fail.  If the setting is Next, no icon will be shown.
Left icon (green): destination for On Finish or On Success settings.
Right icon (red): destination for On Fail settings.

- Description of 3 lines
The playing seconds or timeout, and item settings summary. To reorder the item in the list, long-tap here and drag to upper/lower row.

- Right-side checkbox (in the list)
To Delete, Copy&Append, Clip Checked, Toggle Skip, Set Wait Time, check and select menu/push button. By checking before adding operation record or control, the added item will be inserted at the checked items position.

Select recordOperation Record Item

To append another operation record for sequential playing, push [+] Play and choose the record. If any checked items exist, the record will be inserted before them.  Appended items are independent, so edit / deletion of them do not affect the original record.

If there are many records, the filter will be shown at the top.

Left button: filter the type of the records.  By default, the normal records and sequences are shown.  By choosing Procedure, the procedures can be appended*.
App icon: filter the base app of the records as the same app of editing one.
Text: filter the label of the records which contain the text.

The right button will recall the last condition of the filter.

*Note that appended items from procedures are also independent.  So editing the appended items, or editing the original items, do not affect each other.

FRep Operation Record

 

By tapping the gray label button of the operation record item, setting panel will show up. To preview/edit operations, tap the icon to open Edit Traces (see below).

Wait: initial wait time (second) before the first operation starts.  By pushing right-handed button, the value will be reset.

Show Console to Skip Wait, On Finish: optional common settings (see below).

Label: name of this item.

 

 

FRep Control ListControl Items

To append any control, tap [+] Control and choose control or shown control list directly.  Function and specific settings for each control will be described here.  As for common control settings, see section below.

- Procedure Call
To create complicated sequence, you can clip a part of the sequence as Procedure.  Once you clipped as procedure by Clip Checked menu, it is stored in Proc tab in Manage Traces, and you can call it as single control from any sequence.

- Loop / Section
Append Loop or Section Loop controls before and after checked items. If there is no checked items, they are appended at last position.  Loop control will repeat sequence from start to end with designated Loop ~ Times (Default: 3 times) or EndlessLoop: 0 Times will be also endless loop.

Collapse Loop / SectionThe items enclosed by the Loop / Section controls can be collapsed / expanded by tapping the #Sequence No. (or + as collapsed sign) at left side.  The collapsed items can be moved, checked, deleted together.

- Wait
Simply wait designated seconds.

Wait: wait time (seconds)

- App Change (Wait App)
Check current (front) app is selected app (in the sequence) or not, and wait until the app is front. By default, check 6 times for each second (total timeout 5 seconds).

Match Packages: check app package match (rough)
Match Class: check app class (Activity) match (strict)

- Orientation
Check current screen orientation is selected one or not, and wait until the orientation matches. By default, check 6 times for each second (total timeout 5 seconds).

Orientation: either of 0, 90, 180, 270, 0 or 180, 90 or 270 degree*
*degree is based on device default orientation as 0 degree.

- Image (Wait Image)
Check current screenshot contains with designated area of selected image or not, and wait until they matches. By default, continue screenshot and image matching test in timeout (Trials:) 10 seconds.

NOTE: if Wait Image control stops with Interrupted message, try to add Wait with 0.5 s before the control.

FRep Image Match (Edit Mask)Image Match From List: select screenshot from operation records in the list
Image Match From File: select screenshot from png/bmp file*
*file must have same size of screen, and need to designate rotation.

Set Image Match Area/Edit Rect: From (left, top) To (right, bottom)
Drag background or rect: adjust position
Pinch-in/out: adjust size of matching rectangle (width/height will be fixed by initial 2 point position)

Set Image Match Area/Edit Mask: Paint/Erase, Rectangle/Oval/Square/Circle
Tap: paint/erase mask* around tapped area
2-point touch/drag: paint/erase mask by selected shape
*masked region will be ignored in image matching test.

FRep Image Match Settings

The designated area above can be edited from Edit Image button in the control settings, but only with the referable original image data / file.

Exact Match: success when all pixels in the area have the same colors.
Match Pixels Rate: success when the rate of the same color pixels in the area is over the threshold.
Color Similarity: success when the color similarity in the area calculated from color distance is over the threshold.
Search(Exact): success when the area matching all pixels is found in current screenshot, and keep center position of found area. *If multiple areas found, only first one is used.
Search(Similarity): success when the area, which has similar edge points and color similarity over the threshold, is found in current screenshot. *If multiple areas found, most similar one is used. Search Area setting is recommended.

Take Screenshot: newly take screenshot for this control. If OFF, last screenshot will be used and tested only once.

Tap Center on Success: tap center of the matched area on success. (On non-rooted & Android 4.0 or less device, Calibrate Input is required)

Skip next wait/On Success: if image matches, skip next initial wait.
Skip next wait/On Fail: if image does not match within timeout, skip next initial wait.

By tapping Test button at top-right corner, you can test the current settings on other screenshots.  Note that testing Search method on multiple screenshots by selecting directory may take long time.

Edit Image button at the bottom is for replacement of the source screenshot or its match area.

- Launch App
When this control is played, launch the designated app or shortcut from FRep.

Clear Task/All: launch app with clear all task flag. (default)
Clear Task/Top: launch app with clear top task flag.

- Kill App
When this control is played, finish the designated app.  In next launch, the app starts newly, instead of resuming the last state.  When the current app is finished, the Android will show home screen.

Force stop: Stop app forcely, even the home app.

- Push Key
When this control is played, push function key.

Key: Home, Back, Menu, Enter, PageUp, PageDown, Space, (arrow key), VolumeUp, VolumeDown, VolumeMute, MediaPlay, MediaRecord, MediaPause, MediaStop, MediaNext, MediaPrev, MediaFFWD, Camera, Camera Focus, Search, (cursor)Home, (cursor)End, Tab, ESC, BS, Del.
Margin after Push: 0.3s~

- Touch Screen (On non-rooted & Android 4.0 or less device, Calibrate Input is required)
When this control is played, tap designated position.FRep Touch Settings

Touch Image From List: select screenshot from operation records in the list
Touch Image From File: select screenshot from png/jpg file*
Edit w/o Image: designate tap position manually
*file must have same size of screen, and need to designate rotation.

Set Touch Point: tap the position or drag green tapping point.
Designate Action Type*: Select from Tap / Long-Tap / Double-Tap / Swipe.
*Long-Tap, Double-Tap and Swipe require Calibrate Input.

(X, Y): coordinate of tap position based on device default orientation.
Margin after Push: 0.3s~
Use last point of Image Search: if ON, the last result of Wait Image control will be used to tap found center + (X ,Y) coordinate.

- Type Text
When this control is played, type keyboard as designated.  Note that to use this control, the target editable area must be activated and designated keys must include IME operation keys such as enter.

Text: texts to be typed. Available characters are limited to ones in keyboard.

- Set Clipboard (do not use on Android 4.3)
When this control is played, clipboard text will be set as designated.

Set Clipboard: texts to be set. All characters are available.

- Take Screenshot
When this control is played, take screenshot and save to designated path.

Select Destination to Save: path to save screenshot.

Prefix: file name prefix. Saved screenshot name will be (Prefix)-(date)-(time).png.
Use As-is File (Fast): if ON, save raw file in screenshot process, without rotation or format.
Do Not Save: if ON, screenshot will not be saved. Only for followed Wait Image control of Take Screenshot:OFF.

- Vibrate
When this control is played, vibrate device.

Type: selectable 1 or 2 vibration type.

- Variables, If Statements
Store the current state to variables, or branch by conditions with them.  See here for detail.

FRep Control SettingsCommon Control Settings

Controls have common settings of destination on success/fail, manual skip console availability, and label.  Destination will be one of #Sequence No. (go to specific No.), Abort (finish with aborted signal), Next (go to next sequence), Return (finish successfully).

On Success/On Finish: destination when this control finishes successfully.  Destination is shown in green icon at bottom left of the item’s icon. Default is Next (Next is not shown as icon).

Fail(Timeout): destination when this control finishes NOT successfully. Destination is shown in red icon at bottom right of the item’s icon. Default is Abort.

For Success or Fail, variables can be set by choosing [Set variable] for each case.

Show Console to Skip/Extend: With the check is ON, console for manual control will be shown within this control processing. See section below for detail.

Label: Shown label for the control.

Popup MenusPopup Menu in Edit Sequence

With Use Popup UI in Manage Traces is ON, each tap on listed item will show popup menu for edit / setting / preview / delete the item.

Edit Control Settings: Open Control Settings.

Preview/Edit Trace: Open Edit Trace.

Adjust Interval: Open Adjust Interval.

Split Trace: Open Split Trace.

Copy&Insert This to Checked (when 1 item is checked): Duplicate the tapped item to (before) the checked 1 item.

Copy&Insert Contents to Checked (when tapping collapsed section, 1 item is checked): Duplicate the contents of tapped section to (before) the checked 1 item.

Delete This Item: Remove the item in the list.  Note that the deletion will be reflected on app change or Save from menu.

FRep Bookmark/Skip

Skipped/Bookmark, Manual Console

By tapping #Sequence No. of item, the item state switches between Active and Skipped.  Long tapping will set it to Bookmark.

- Active (default state, no decoration)
Used in playing sequence.

- [Skipped] (gray-out, strike-through No.)
Do not used in playing sequence and skipped to next item. When recorded with Progress recording mode, generated Wait Image controls are all skipped by default.

- [Bookmark] (background arrow)
Mark for edit or target of manual destination in Manual Console below.

To change active/skipped state of multiple items, check items and select Toggle Skip menu.

FRep Manual Console

In processing controls with Show Console to Skip/Extend, the another floating console will be shown.  It contains 2 buttons to operate current processing control. By this console, the process can be forced to skip as success/fail, or to ignore timeout for extend.

- Upper button: choose operation
Shown the control’s label, and matching image as background if the control is Wait Image. By tapping/flicking upper button, selected operation in lower button will  change.

- Lower button: determine operation
By tapping lower button, the current process will be skipped/aborted as shown on the button.

Skip(OK): Force success (initial state)

Skip(NG): Force fail (tapping upper button once)

FRep Manual Console Tap/FlickAbort: Force abort this playing (double-tap upper button)

(Bookmarked item): Go to the selected item (flicking upper button)

To extend current control’s timeout: Once tap or flick upper button, the upper button has pause icon which mean the timeout is ignored*. In this state, control continues its process. Note that once it succeed, soon the sequence goes to item designated in On Success:

*To restore to normal timeout, tap upper button again.

FRep Adjust IntervalAdjust Interval

To set/extend/shorten the waits/intervals in operations, call from popup (for single item) or menu (for checked items).

(Sign and seconds): Add(+), Subtract(-), Set(=) the waits/intervals of the target item(s) by the seconds.

Filter Adjusting Target: If checked, open the filter settings below to limit the adjusting waits/intervals. If this is not checked, all waits and intervals in the item(s) will be adjusted.

Preset range: Some presets for following time range filter, Custom (load last settings),  >2 sec (adjust only longer than 2 sec), 2-10sec (adjust only between 2 and 10 sec), <2 sec (only shorter than 2 sec), All (no time range filter).

(Lower limit)sec ≤ Target: Lower limit to ignore shorter waits/intervals than designated seconds.

Target ≤ (Upper limit)sec: Upper limit to ignore longer waits/intervals than designated seconds.

Wait, Interval toggle: If Wait is ON, initial wait of operation record and wait control will be adjusted.  If Interval is ON, intervals in operation record will be adjusted.

Edit TracesFRep Edit Traces

Preview and edit the strokes of the touch-screen trace on the screenshot background. The traces are separated as strokes, and shown in green point and direction triangles.

To edit, select strokes by bottom slider and drag or open submenu to adjust wait/interval, to clip or split strokes. To close and/or save, tap screen or push Back button. Saved trace will be stored separately from the original one, which will be set [Skipped].

- Bottom slider for stroke selection

Slider shows time range of the strokes. By dragging 2 slider tab of start and end, strokes in the range will be selected. Or, by tapping Prev/Fwd button of the top-right console, each stroke can be selected.

Colors in selected range: Each stroke has wait time as cyan, and touching time as green.

- Drag screen to move strokes
To move selected strokes, drag any position in the image.

FRep Edit Traces Stroke- Tap title icon/message to set wait/clip strokes
To open submenu, tap top-left icon or message.

Adjust First Wait: Set only first wait in selected strokes.

Adjust All Waits: Set all waits in selected strokes.

Clip Selected: Keep only selected strokes.

- Top-right 3-buttons of Prev/Clear&Play&Pause/Fwd

Prev/Fwd: select and show previous/forward stroke. When Prev in first or Fwd in last, select whole traces.

Clear(square): Clear drawn traces and reset.

Play(triangle): Start playing preview of selected strokes.

Pause(orange): Pause current playing.

Note: in playing, tapping top-left icon will change the preview speed as 1x, 2x, 3x, 5x and 10x.

Menus

- Save
Save current state.  Note that FRep will save on screen change or on sleep.

- Load
Load from last saved.

- Clip Checked
Store checked items as a Procedure sequence, which can be called by single control: Procedure Call.  Note that stored Procedure is listed in Proc tab in Manage Traces.

- Delete Checked
Delete checked items.  Note that deletion will be realized on saving.

- Copy&Append
Copy checked items and append them to current sequence.

- Toggle Skip
Change Active/Skip state of checked items.

- Clear Checked Label
Set empty the labels of checked items, to omit the popup for them in replay.

- Adjust Wait/Interval
Set/add/subtract wait time of Wait controls and/or initial wait of operation records, intervals between strokes of operation records, in checked items.

- Check All / Uncheck All
Check or Uncheck all items in current tab.

- View Last Log (Requires FRep Unlock Key)
Check the log of the item on which last playing finished.  See here for details.

- Show Preview Icon
If checked, the icons for operation records will be shown as screenshots for each record.

- Last Matched in Preview
If checked, parts of last matched images in last playing are overlaid in preview.

- Indent Loop / Section
If checked, the items surrounded by Loop or Section controls will be shown with indent.

- Auto section
If checked, the appended record will be surrounded by Section control when the record is a sequence which has some or more items.

Tips/Notes

– To suppress popup notification for specific item, set its label as empty.

– In recording with Progress recording mode, try waiting the popup of “Ready to Continue Recording..” at the timing when you want to check screenshot, current app, or orientation before next operation.  FRep will generate each control in the record, and you can easily activate/deactivate them by tapping the #No. of the Wait Image or other generated controls.

– If Launch App results in increase the app process, try Clear Task: Top setting.  It may occur on apps which have separated activities of launcher and main.

– To create switch ~ case statement by using image match, place Save Screenshot first, and then put Wait Image controls with Take Screenshot:OFF and On Success: destination.  If some trial count needed, check them and add Loop Start control.

– To create long sequence, these are useful: Procedure (Clip Checked menu/Procedure Call control), Active/Skipped/Bookmark state, View Last Log menu.  Insert Wait control with Show Console to Skip/Extend check at first, then you can choose testing part by manual console. Of course Android’s Developer options | Show touches is very helpful.

– If coordinate with negative value set at Touch control, the value is converted to device size + value.  i.e. (-1,-1) will tap bottom right corner of the device.

– Popup UI mode and Delete confirmation switches are common in Manage Traces.

– To refer the screenshot image files in the external SD card, you can switch the storage by several tap of “Up” button which will become “Change” button in the file list dialog.

– In file list, you can switch the ellipsis type by long-tapping the button for sort mode.

Log / Reference of Variable

Categories: Variables
Tags: No Tags

The log for the edited sequence can be referred by menu View Last Log in Edit Sequence, which is available with FRep Unlock Key.  To get the details, you can add Variables control, or Set variables on success/fail for important phase.  The used variables can be referred in the log, too.

View Last Log in Edit Sequence (Requires Unlock Key)FRep View Last Log

Show success/fail, finished time, and last played item for last playing.  Variables referred in the sequence are also shown.  With Log Only Last Error option, successful playing does not overwrite the log.

- Date
The date of playing finished with rectangle of result color, green for success, red for fail or interrupted.

- Label, Result: Last played item
Label name on playing, result of success or fail/interruption, and #. label of item of last played.

- Error message
Information message about the issue for the failure or abort.

- Referred variables
The variables referred in the sequence with their values at finish playing.

 

FRep VariablesVariables

Retrieve and/or calculate values in playing sequence to store them to variables.  The variables can be used in specific control settings or IF branch (see next section).  The stored values are common in all sequences, i.e. all variables can be referred / overwritten by other sequences.

Registered statements in the list will perform from above.

Remove / prepend statements from left – / right + buttons, edit by tapping the statement.  Long-tap the statement will start dragging to reorder in the list.

Format of statements;

(Destination Variable)=(Code):(Arg1)(Operator)(Arg2)

Variable name: [A-Za-z_@][0-9A-Za-z_]+

Definable variable name consists of alphanumerical characters and under bar(_).  First letter cannot be a number.  The reserved variables as environmental variables start with @, and they are used only for arguments and some settings.

frep0, frep1, frep2, frep3, frep4 are passed to Tasker as temporal variables %frep0, %frep1, %frep2, %frep3, %frep4 by Tasker Event Plugin (%frepsuccess will be 1 for success or 0 for fail to play).

Value Type [(Empty), Number, Rectangle, String]

There are 4 value types including empty value.  The type of variables are determined by the value they have.

Type Description Example
(Empty) The state of no value defined.
*Shown as null in Log.
var=num:
var=rect:
var=str:
Number Integer or decimal, including negative value. var=num:0
var=num:0.012
var=num:-0.5
Rectangle Rectangle defined by: (left top right bottom)
Each component must be integer or variable.
var=rect:(10 20 30 40)
String String defined by: “character sequence”
Escaped characters; (line feed)\n (tab)\t (\backslash)\\ (“quote)\”
var=str:”line1\nline2″

@reserved environmental variables

System variables for referring the state of device or playing sequence.

変数名 説明
@repeat Number Current repeat number (0 for first time)
@loop Number Last loop count number (0 for first time)
@lastif Number Last IF result (success/true:1, fail/false:0)
@rotation Number Current orientation of the device
(0: 0°, 1:90°, 2:180°, 3:270°)
@cpuusage Number Current CPU load (0~100)
@start Number Starting time (ms)
@now Number Current time (ms)
@lastmatch Rectangle Latest successful Image Match position
@screen Rectangle Screen size of the device (fixed for orientation 0°)
@clipboard String Contents of the clipboard text

Special modification for variables; var.left, var.x, var.length

For some types of variables, the derived values can be referred by special postfix modification.

Modification Description Example
(Rect).left
(Rect).top
(Rect).right
(Rect).bottom
Refer each component of the rectangle l=num:r.left
(Rect).x
(Rect).y
Refer the center x or y of the rectangle
x=(left+right)/2
y=(top+bottom)/2
centerx=num:r.x
(Rect).width
(Rect).height
Refer the width or height of the rectangle
width=right-left
height=bottom-top
w=num:r.width
(String).length Refer the length of the string len=num:s.length
(String).asnum
(String)
.asrect
Refer the number converted from numeric string
Refer the rectangle converted from “(left top right bottom)” type string
n=num:s.asnum
r=rect:s.asrect
(Num).asstr
(Rect)
.asstr
Refer the number / rectangle as string s=str:n.asstr
s=str:r.asstr
(Num).asdate
(Num)
.astime
Refer the time (ms) number as date string with format “yyyy/MM/dd kk:mm:ss”
Refer the time (ms) number as time difference string with format “hour:min:sec.ms”
s=str:@now.asdate
t=num:@now-@start
s
=str:t.astime

 

Code references

num: Set / Calculate Number

Operator Arg1 Arg2 Description Example
(None) Variable, Number, (Empty) (None) Set number value var=num:0
+ – * Variable, Number Variable, Number Add Subtract Multiply var=num:var + 1
/ Variable, Number Variable, Number Divide
(If Arg2 is 0, returns Arg1 without change)
var=num:var / 3
% Variable, Number Variable, Number Residue
(If Arg2 is 0, returns 0)
var=num:var % 3
& | ^ Variable, Number Variable, Number Bit operation AND OR XOR
(Args are forced to be integer)
var=num:var & 7
~ Variable, Number Variable, Number Bit operation ANDNOT
(Args are forced to be integer)
var=num:var ~ 128

 

rect: Set / Calculate Rectangle

Operator Arg1 Arg2 Description Example
(None) Variable, Rectangle, (Empty) (Empty) Set rectangle value var=rect:(0 0 100 200)
+ – * Variable, Rectangle Variable, Number, Rectangle Add Subtract Multiply
*If Arg2 is rectangle, each component will be used for calculation.  If Arg2 is number, it is applied for all components.
var=rect:var + (10 20 10 20)
*Move the var rectangle by (10,20)
/ Variable, Rectangle Variable, Number, Rectangle Divide
*If Arg2 is rectangle, each component will be used for calculation.  If Arg2 is number, it is applied for all components.  When the component is divided by 0, it will not change.
var=rect:var / (2 2 0 0)
*Halve the (left,  top) coordinates
& Variable, Rectangle Variable, Rectangle Intersect
Retrieve common area in both rectangles.
var=rect:var & @screen
*Clip by screen size
| Variable, Rectangle Variable, Rectangle Union
Retrieve the minimum area which covers both rectangles.
var=rect:var | @lastmatch
*Expand rectangle to contain image matched area

str: Set / Calculate String

Operator Arg1 Arg2 Description Example
(None) Variable, Number, Rectangle,
String, (Empty)
(None) Set String value var=str:”char seq”
+ Variable, Number, Rectangle,
String
Variable, Number, Rectangle,
String
Concatenate 2 values as string var=str:var + “\n”
*Append line feed
sub Variable, String Rectangle Extract string from Arg1, as defined range of Arg2 (la ln ca cn).When ln>0, extract ln lines from offset:la.When cn>0, extract cn characters from offset:ca.*If la<0 or ca<0, each extraction starts from back position from tail. var=str:var sub (1 2 5 10)
*Extract 2 lines from var, offset:1 (#2,3 line) and then get 10 characters from 6th.var=str:var sub (a 1 0 0)
*Extract line #(a+1) from var.var=str:var sub (0 0 -5 5)
*Extract last 5 characters from var.
idx Variable, String Variable, String If Arg1 contains Arg2 string, the position of Arg2 start in Arg1 string (first is 0).
If Arg1 does not contain Arg2 string, -1.
var=str:”abcde” idx “cd”
*var is 2.var=str:”abcde” idx “f”
*var is -1.
read Variable, String (None) Read the file designated by the path of Arg1. (up to 1MB) var=str:”/sdcard/test.txt” read

 

Other Functional Codes

Code Arg1 Arg2 Description Example
toast: Variable, Number, Rectangle,
String
(None) Show the message by popup. toast:”message”
clean: (None) (None) Clear all variables except environmental ones(@~). clean:

IFFRep IF

Branch or finish the sequence by condition of variables.  If they meets the conditions, the sequence proceeds to On Success, and @lastif will be 1.  If not, the sequence proceeds to On Fail, and @lastif will be 0.

Registered statements in the list will perform from above.

Remove / prepend statements from left – / right + buttons, edit by tapping the statement.  Long-tap the statement will start dragging to reorder in the list.

Format of statements;

and/or(not):(Arg1) (Operator) (Arg2)

 

Combined condition by and: or: (andnot: ornot:)

Multiple conditions can be combined with and: / or: cases.  With and:, previous condition must be met to succeed.  With or:, new condition check starts even if the above conditions fail.  The first condition ignores and: / or: cases because they make sense only with previous condition(s). Neither of and: or: cannot be nested.  If there are multiple conditions divided by or:, each section is colored in the list.

andnot: ornot: are variant of and: or:, they use the reversed result of each condition check.

 

Operators for condition

Operator Arg1,2 Description Example
==
!=
Variable, Number, Rectangle,
String, (Empty)
Check if the contents of Args are equal or not equal. and:var == “char seq”and:@loop == 0
*Check if first loop or not
> >=
< <=
Variable, Number Compare the number of Args. and:var > 0
& Variable, Number, Rectangle If Args are numbers, success on the result of BITAND operation is not zero.If Args are rectangle, success on any intersect area exists. and:var & 5and:r & @lastmatch
*Check if the result of Image Match hits on r or not
]= Variable, Rectangle, String If Args are rectangle, success when Arg1 equals or includes whole Arg2 area.If Args are string, success when Arg1 contains Arg2 string. and:r ]= @lastmatch
*Check if the result of Image Match is in r or notand:var ]= “ok”
*Check if var has string “ok” or not

TIPS

- To confirm the contents of the variables on successful replay, set Log Only Last Error option to OFF and then play the sequence.

- To set the clipboard text as variable, add Clipboard control and assign the variable from ▼ button in its settings.

page 1 of 1

Japanese
EnglishFrenchRussian
eBay

(USB host adapter to connect between 2 Androids, for FRep setup tool for Android)



(Bluetooth keyboard for KeyTrigger)



Adsense