Scene Element Edit
Allows configuration of the properties of a scene element. The different
types of property are divided into tabs.
Not all elements have all tabs.
For the most part, configures the visual style of the element.
Only relevant to Menu and Spinner elements.
Each row configures an item in the menu/spinner. Starting from the left, the controls
- selection checkbox
this is only present when Selection Mode is set to Single or Multi. It stipulates whether the item will be shown as selected when the menu is displayed.
- icon button
the icon to show for the item. If you don't want to show an icon, hide the icon element in the Layout parameter in the UI tab
- label text
the label to show for the item. If you don't want to show a label, hide the label element in the Layout parameter in the UI tab
- action button
an action to run when the item is tapped
To add an item, click the plus button at the bottom of the screen.
Items can be rearranged and deleted by click-and-dragging at the right hand side.
Configures a rectangle shape to be used as the background for the element
when it is displayed. The background will be stretched to fit the size of
If you want to use an image for a background, create a separate Image element and
place it underneath.
Event tabs stipulate what Tasker should do when the user interacts with the
element in some way. When the scene is showing, the event will also occur
if an action (probably Element Value) sets the element.
Most events consist only of a task to specify but some
allow a filter specification so that the task only runs if the event matches
To help the task to decide what to do with the event and to allow a single
task to handle many different events if desired, Tasker sets certain
local variables which give specific information about it. The variables
are easily accessible by clicking the usual variable tag icon in any action
in the task.
The following variables are available in all such tasks:
the name of the scene containing the element
the name of the element that the user interacted with (e.g. Button1)
the type of element (e.g. Button)
the name of the event (e.g. Tap)
This event is triggered whenever the text changes e.g. because a
letter key has been pressed while the element had focus.
the new text
the old text
Text entry is buffered so that it may be up to 1 or 2 seconds before
new input is seen, and that input may include several accumulated
Elements: CheckBox, Toggle
the new state of the element (on or off)
the last state (on or off)
This event is triggered when the element gains or loses focus, probably
because the user has tapped it or another focusable element.
whether the element now has focus (true) or not (false)
Tap, Long Tap
Elements: Button, Doodle, Image, Map, Oval, Rectangle, Text
In a Map element, the following variables are available:
the latitute,longitude of the tapped location on the map
the label of the tapped GeoMarker (if any). You can add GeoMarkers to a Map element with the action Scene / Element Add GeoMarker
Elements: Number Picker, Slider
the new value of the element (e.g. 50)
the last selected value (e.g. 43)
Item Tap, Item Long Tap
a comma-separated list of currently selected items in the list (e.g. 3,4)
a comma-separated list of the labels of currently selected items in the list (e.g. Blue,Yellow)
the index of the item that was tapped to cause this event (e.g. 3)
the label of the item that was tapped to cause this event (e.g. Blue)
Elements: Doodle, Image, Oval, Rectangle, Text
A stroke has two filter parameters.
the direction from the start point of the stroke to the end point
minimum distance in (approximate) pixels from the start point of the stroke to the end point
If either of these parameters don't match the event, the task will not run.
Direction, as described above
Length, as described above
Occurs when a new item is selected.
the index of the item that was selected
the label of the item that was selected
A Link Tap has two filter parameters:
the URL of the tapped link. If entered, the tapped URL must match the entry (e.g. http://*.fruit.com) for the task to run
- Stop Event
whether to stop the WebView following the link
URL as described above
the URL of the page (e.g. http://i.hate.fruit/except/mangos.html)
Occurs when the state of the video playback changes.
the type of the video event, possible values being: Prepared, BufferStart, BufferEnd, RenderStart, Lagging, Finished
Note that the Finished event will never occur if the Video element
Loop parameter checked.