Allows configuration of the properties of a scene element. The different types of property are divided into tabs.
Not all elements have all tabs.
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
シーン要素の属性を設定出来ます。属性ごとにタブに分かれています。
要素によって表示されるタブは異なります。
UI(ユーザーインターフェース)
For the most part, configures the visual style of the element.
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
ほとんどの場合、要素のビジュアル的なスタイルを設定します。
Items(アイテム)
Only relevant to Menu and Spinner elements.
Each row configures an item in the menu/spinner. Starting from the left, the controls are:
- 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 tappedTo 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.
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
メニュー要素とスピナー要素にのみ関係があります。
各行がメニュー/スピナー要素の項目に対応しています。設定項目は左から順に
- 選択チェックボックス
この項目は選択モードが単一または複数に設定されている場合のみ表示されます。これはメニューが表示されたときのデフォルトの選択項目を指定します。 - アイコンボタン
項目ごとにアイコンを指定します。アイコンを表示しない場合は、UIタブの項目の配置方法のアイコンを非表示に設定して下さい。 - ラベル
項目ごとにラベルを指定します。ラベルを表示しない場合は、UIタブの項目の配置方法のラベルを非表示にしてください。 - アクション
項目がタップされた時に実行するアクションを指定します。
項目を追加するには画面下部にある+ボタンをタップして下さい。項目の並び順の変更と削除は各項目の右側部分をタップ&ドラッグすることでできます。
Background(背景)
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 the element.
If you want to use an image for a background, create a separate Image element and place it underneath.
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
要素が表示されたときの背景を四角い領域として表示するための設定をします。背景は要素のサイズに合わせて拡大されます。
背景に画像を使う場合には、画像要素を背景として配置してください。
Event Tabs(イベントタブ)
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 the filter.
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:
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
- %scene_name
the name of the scene containing the element- %element_name
the name of the element that the user interacted with (e.g. Button1)- %element_type
the type of element (e.g. Button)- %event_type
the name of the event (e.g. Tap)
イベントタブではユーザーが何らかの方法で要素に対して行った操作に対しTaskerがどのように動作するかを設定します。シーンが表示される際にアクション(要素の値アクションなど)によって要素が設定された場合にもイベントが発生します。
ほとんどのイベントでは指定したタスクのみで構成されますが、一部のイベントではフィルターの指定ができるのでフィルターにマッチした場合にのみタスクが実行されます。
イベント発生により実行されたタスクの動作の決定や1つのタスクで複数のイベントに対応するために、Taskerはイベントに関する指定された情報を特定のローカル変数に格納します。変数にはよく使う変数タグアイコンをタップすることでどのアクションからでも簡単にアクセスすることができます。
次の変数は全てのタスクから利用できます。
- %scene_name
その要素を含むシーンの名前です。 - %element_name
ユーザーが操作を行った要素の名前です。(例:ボタン1) - %element_type
要素の種類です。(例:Button) - %event_type
イベントの名前です。(例:Tap)
Text Changed(文字の変更)
Elements: TextEdit
This event is triggered whenever the text changes e.g. because a letter key has been pressed while the element had focus.
- %new_val
the new text- %old_val
the old textText 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 changes.
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
要素:文字編集
このイベントは文字が変更されると発生します。例えば、要素にフォーカスがある状態で入力があった場合などです。
- %new_val
新しい文字 - %old_val
古い文字
文字の入力には一定の保持期間があるため実際に文字が表示されるまで最大で1~2秒のタイムラグがあります。したがって、一度の入力で複数の文字の変更がされることがあります。
Change(変更)
Elements: CheckBox, Toggle
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
- %new_val
the new state of the element (on or off)- %old_val
the last state (on or off)
要素:チェックボックス、トグル
- %new_val
要素の新しい状態。(onまたはoff) - %old_val
以前の状態。(onまたはoff)
Focus(フォーカス)
This event is triggered when the element gains or loses focus, probably because the user has tapped it or another focusable element. Elements: TextEdit
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
- %focused
whether the element now has focus (true) or not (false)
このイベントはユーザーがその要素をタップしたり他のフォーカスを持ち得る要素をタップすることで要素にフォーカスが当たったり外れたりした場合に発生します。要素:文字編集
- %focused
現在その要素にフォーカスがあるか(true)または無いか(false)。
Tap, Long Tap(タップ、長押し)
Elements: Button, Doodle, Image, Map, Oval, Rectangle, Text
In a Map element, the following variables are available:
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
- %coord
the latitute,longitude of the tapped location on the map- %label
the label of the tapped GeoMarker (if any). You can add GeoMarkers to a Map element with the action Scene / Element Add GeoMarker
要素:ボタン、お絵かき、画像、地図、楕円、四角、文字
地図要素では以下の変数が参照できます。
- %coord
地図をタップした際のその場所の緯度と経度です。 - %label
タップしたジオマーカー(地図上に表示されているピンアイコン)のラベル(があれば)表示されます。シーンカテゴリーの要素:ウェイポイントの追加アクションを使って地図にジオマーカーを設定出来ます。
Value Selected(値の選択)
Elements: Number Picker, Slider
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
- %new_val
the new value of the element (e.g. 50)- %old_val
the last selected value (e.g. 43)
要素:数値選択、スライダー
- %new_val
要素の新しい値です。(例:50) - %old_val
要素の以前の値です。(例:43)
Item Tap, Item Long Tap(アイテムをタップ、アイテムを長押し)
Elements: Menu
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
- %select_indices
a comma-separated list of currently selected items in the list (e.g. 3,4)- %select_labels
a comma-separated list of the labels of currently selected items in the list (e.g. Blue,Yellow)- %tap_index
the index of the item that was tapped to cause this event (e.g. 3)- %tap_label
the label of the item that was tapped to cause this event (e.g. Blue)
要素:メニュー
- %select_indices
リスト内の現在選択中の項目をコンマ区切りで格納します。(例:3,4) - %select_labels
リスト内の現在選択中の項目のラベルをコンマ区切りで格納します。(例:青,黄) - %tap_index
タップしてこのイベントが発生した項目の番号です。(例:3) - %tap_label
タップしてこのイベントが発生した項目のラベルです。(例:青)
Stroke(なぞる)
Elements: Doodle, Image, Oval, Rectangle, Text
A stroke has two filter parameters.
- Direction
the direction from the start point of the stroke to the end point- Length
minimum distance in (approximate) pixels from the start point of the stroke to the end pointIf either of these parameters don’t match the event, the task will not run.
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
- %stroke_dir
Direction, as described above- %stroke_len
Length, as described above
要素:お絵かき、画像、楕円、四角、文字
なぞるイベントには2つのフィルターパラメーターがあります。
- Direction(方向)
なぞった軌跡の開始点から終了点への方向です。 - Length(長さ)
なぞった軌跡の開始点から終了点までの最短距離の(おおよその)ピクセル数です。
これらのパラメーターのうちいずれも発生したイベントに一致しない場合はタスクは実行されません。
- %stroke_dir
前述の2点間の方向です。 - %stroke_len
前述の2点間の距離です。
Item Select(アイテムの選択)
Elements: Spinner
Occurs when a new item is selected.
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
- %tap_index
the index of the item that was selected- %tap_label
the label of the item that was selected
要素:スピナー
新しく項目が選択された時に発生します。
- %tap_index
選択された項目の番号です。 - %tap_label
選択された項目のラベルです。
Link Tap(リンクをタップ)
Elements: WebView
A Link Tap has two filter parameters:
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
- URL
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
URL as described above
要素:ウェブビュー
リンクをタップイベントには2つのフィルターパラメーターがあります。
- URL
タップしたリンクのURLです。設定されたURL(例:http://*.fruit.com)にタップしたURLが一致した場合にタスクが実行されます。 - Stop Event
ウェブビュー要素がリンクをたどるかどうかを指定します。
- %url
前述のURLを格納します。
Page Loaded(ページが読み込まれた)
Elements: WebView
https://tasker.joaoapps.com/userguide/en/activity_elementedit.html
- %url
the URL of the page (e.g. http://i.hate.fruit/except/mangos.html)
要素:ウェブビュー
- %url
そのページのURLです。(例:http://i.hate.fruit/except/mangos.html)
Video(動画)
Elements: Video
Occurs when the state of the video playback changes.
- %event_subtype
the type of the video event, possible values being: Prepared, BufferStart, BufferEnd, RenderStart, Lagging, FinishedNote that the Finished event will never occur if the Video element has the
https://tasker.joaoapps.com/userguide/en/activity_elementedit.htmlLoopparameter checked.
要素:動画
動画の再生状態が変化すると発生します。
- %event_subtype
動画イベントの種類を表します。次のような値があります。Prepared, BufferStart, BufferEnd, RenderStart, Lagging, Finished
動画要素のループパラメーターがチェックされているとFinishedイベントは発生しない点に注意してください。