-
Notifications
You must be signed in to change notification settings - Fork 3
smartsearch
Daniel Larsson edited this page Feb 14, 2025
·
1 revision
Perform a Smart Search in Sense app to find suggested selections.
-
searchtextsource
: Source for list of strings used for searching.-
searchtextlist
(default) searchtextfile
-
-
searchtextlist
: List of of strings used for searching. -
searchtextfile
: File path to file with one search string per line. -
pastesearchtext
:-
true
: Simulate pasting search text. -
false
: Simulate typing at normal speed (default).
-
-
makeselection
: Select a random search result.true
false
-
selectionthinktime
: Think time before selection ifmakeselection
istrue
, defaults to a 1 second delay.-
type
: Type of think time-
static
: Static think time, defined bydelay
. -
uniform
: Random think time with uniform distribution, defined bymean
anddev
.
-
-
delay
: Delay (seconds), used with typestatic
. -
mean
: Mean (seconds), used with typeuniform
. -
dev
: Deviation (seconds) frommean
value, used with typeuniform
.
-
{
"action": "smartsearch",
"label": "one term search",
"settings": {
"searchtextlist": [
"term1"
]
}
}
{
"action": "smartsearch",
"label": "two term search",
"settings": {
"searchtextlist": [
"term1 term2"
]
}
}
{
"action": "smartsearch",
"settings": {
"searchtextlist": [
"text1",
"text2",
"text3"
]
}
}
{
"action": "smartsearch",
"settings": {
"searchtextsource": "searchtextfile",
"searchtextfile": "data/searchtexts.txt"
}
}
search text
"quoted search text"
another search text
The default behavior is to simulate typing at normal speed.
{
"action": "smartsearch",
"settings": {
"pastesearchtext": true,
"searchtextlist": [
"text1"
]
}
}
{
"action": "smartsearch",
"settings": {
"searchtextlist": [
"term1"
],
"makeselection": true,
"selectionthinktime": {
"type": "static",
"delay": 2
}
}
}
{
"action": "smartsearch",
"settings": {
"searchtextlist": [
"\"word1 word2\""
]
}
}
{
"action": "smartsearch",
"label": "two term search, one including spaces",
"settings": {
"searchtextlist": [
"\"word1 word2\" term2"
]
}
}
{
"action": "smartsearch",
"label": "one term search including spaces",
"settings": {
"searchtext":
"searchtextlist": [
"\\\"hello"
]
}
}
This file has been automatically generated, do not edit manually