Scene Properties Edit(シーン属性編集)画面

Allows configuration of the general properties of a scene. The different types of property are divided into tabs.

Each basic type of scene (Overlay, Dialog and Activity) has a different set of relevant properties. The Property Type parameter in the UI tab determines which properties are shown for configuration.

https://tasker.joaoapps.com/userguide/en/activity_scenepropertiesedit.html

シーンの一般的な属性を設定します。タイプの異なる属性がタブごとにまとめられています。

シーンの各基本タイプ(オーバーレイ、ダイアログおよびアクティビティ)はそれぞれ異なる属性を持ちます。UIタブにあるプロパティタイプの項目によってどの属性が設定可能か決定されます。

UI(ユーザーインターフェース)

Configures the visual style and content of the scene.

Geometry (not shown in Beginner Mode) allows precise specifiction of the pixel size of the scene in portrait and/or landscape modes.

Orientation determines how to make the decision about whether the scene should be displayed in portrait or landscape mode. The Android developer guide explains the various options.

The Action Bar Style, Title, Subtitle, Icon and Tab Labels are only relevant to Activity scenes and refer to properties of the action bar.

Icon refers to the home icon in the top-left of the action bar. When clixked it generates a Home Tap event.

Tab Labels is a comma-separated list of tabs to show in the action bar. When a tab is selected it generates a Tab Tap event.

https://tasker.joaoapps.com/userguide/en/activity_scenepropertiesedit.html#ui

シーンの見た目を設定します。

「座標(ビギナーモードでは表示されません)」の項では縦位置または横位置に対してそれぞれピクセル単位の正確なサイズを指定できます。

「画面の向き」の項では縦位置または横位置でシーンがどのように表示されるかを決定する方法を指定します。Android開発者向けガイドには様々なオプションについての説明があります。

「アクションバーの外観」、「タイトル」、「副題」、「アイコン」および「タブのラベル」の項はアクティビティタイプのシーンにのみ関連する項目でアクションバーについての属性です。

「アイコン」の項はアクションバーの左上に表示されるホームアイコンを指定する属性です。この属性を指定するとホームタップイベントタブが追加されます。

「タブのラベル」の項はアクションバーに表示するタブのリストをコンマ区切りで指定します。タブが選択されるとタブタップイベントタブが追加されます。

Icon refers to the home icon in the top-left of the action bar. When clixked it generates a Home Tap event.

Tab Labels is a comma-separated list of tabs to show in the action bar. When a tab is selected it generates a Tab Tap event.

Actions(アクション)

Only relevant for Activity scenes.

Each row configures an action item in the action bar. Starting from the left, the controls are:

  • icon button
    the icon to show for the item
  • label text
    the label to show for the item
  • 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.

Whether the items are shown in the main bar or the Overflow Menu (accessed via the 3 dots in the top right of the action bar) is decided using the following rules:

  • items with just an icon will always be shown in the main bar
  • items with icon and label will be shown if there is room
  • items with just a label will always be in the overflow menu
https://tasker.joaoapps.com/userguide/en/activity_scenepropertiesedit.html

アクティビティシーンにのみ関係します。

各行はアクションバーにある各アイテムの設定項目です。左から順に

  • アイコンボタン
    このアイテムのアイコンを指定します。
  • ラベルテキスト
    このアイテムのラベルを指定します。
  • アクションボタン
    このアイテムがタップされたときに実行されるアクションを指定します。

アイテムを追加するには画面下の十字ボタンをタップします。アイテムの並び替えと削除は右端を長押ししてドラッグします。

アイテムがメインバーに表示されるかオーバーフローメニュー(アクションバー右上の縦三点リーダーのアイコンをタップして表示します)に表示されるかは次のルールに従って決まります。

  • アイコンだけのアイテムは常にメインバーに表示されます。
  • アイコンとラベルのアイテムはスペースがあれば表示されます。
  • ラベルだけのアイテムは常にオーバーフローメニューに表示されます。

Event Tabs(イベントタブ)

Event tabs what Tasker should do when the user interacts with the scene in some way. Most 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:

  • %scene_name
    the name of the scene containing the element
  • %event_type
    the name of the event (e.g. Tab Tap)
https://tasker.joaoapps.com/userguide/en/activity_scenepropertiesedit.html

イベントタブではユーザーが何らかの方法でシーンに対して行った操作に対してTaskerがどのような動作をするかを規定します。ほとんどの場合はタスクの指定のみ行いますが、場合によっては特定のイベントにのみ反応するよう条件を設定することもできます。

タスクが一つまたは複数のイベントに対してどのように動作するかどうかを決定する判断基準として、Taskerは判断材料となる情報をローカル変数に格納します。変数を参照するにはタスクを構成するアクションから通常変数タグアイコンをタップして表示される変数の選択メニューから指定することが出来ます。

以下にこのようなタスク全てで使用可能な変数です。

  • %scene_name
    その要素を含むシーンの名前です。
  • %event_type
    イベント名です。(例えば、Tab Tapなど)

Key(キーイベント)

Available only for Dialog and Activity scenes.

Occurs when a key has been pressed which has not been dealt with elsewhere. Note that EditText elements with focus will absorb key presses and they won’t generate a separate Key event.

The filter part of the Key event acts as follows:

  • Keys: a slash-separated (/) list limiting the keys to handle, other keys will be passed on to the system to handle. When no keys are specified, all keys will be handled.
    The keys can be specified via code or name e.g. back/78/a
  • Stop Event: if checked, any keys handled by the scene will not be passed on to the system. Example use: prevent a user leaving the scene via the back key.

The following variables are available in tasks triggered by Key events:

  • %key_code
    the unique numeric identifier
  • %key_name
    the human name of the key

Key codes and their names can be found on the Android KeyEvent reference page. Note that Tasker removes the KEYCODE prefix in keynames to save typing.

https://tasker.joaoapps.com/userguide/en/activity_scenepropertiesedit.html

ダイアログおよびアクティビティーシーンにのみ関係があります。

あるキーが押され他で処理されなかったときに発生します。フォーカスがテキスト編集要素に当たっている場合はキー入力は処理されイベントが発生しない点に注意してください。

キーイベントの絞り込みの項は次のように機能します。

  • キー:制御の対象となるキーのリストをスラッシュ(/)区切りで指定します。対象外のキーの処理はシステムに任されます。キーを指定しない場合は全てのキーイベントを捕捉します。キーはキーコードまたはキー名で指定できます。
  • イベントの停止:チェックするとシーンによって処理されたキーイベントはシステムに渡されなくなります。たとえば、戻るキーでシーンの終了をできないようにする場合などです。

以下の変数はキーイベントで実行されるタスクで参照できます。

  • %key_code
    キーに割り当てられた一意の数字です。
  • %key_name
    人間が理解しやすいよう付けられた名前です。

キーコードとキー名はAndroidのキーイベントリファレンスで調べることが出来ます。Taskerでは入力の手間を省くためにこれらキーコードの接頭辞(プレフィックス)は除外されます。

Home Tap(ホームタップイベント)

Available only for Activity scenes and when an Icon has been specified in the UI tab.

The event is triggered when the user taps the home icon in the top left of the action bar.

https://tasker.joaoapps.com/userguide/en/activity_scenepropertiesedit.html

アクティビティーシーンでUIタブにあるアイコンの項目が設定された場合にのみ発生します。

アクションバーの上段左にあるホームアイコンがタップされた時に発生します。

Tab Tap(タブタップイベント)

Available only for Activity scenes and when one or more Tab Labels have been specified in the UI tab.

The event is triggered when the user taps a tab in the action bar.

The following variables are available in tasks triggered by Tab Tap events:

  • %tap_index
    the tab number, starting at 1
  • %tap_label
    the tab label, as specified in the Tab Labels parameter of the UI tab
https://tasker.joaoapps.com/userguide/en/activity_scenepropertiesedit.html

アクティビティーシーンのUIタブでタブラベルの項目が指定された場合にのみ発生します。

アクションバーに表示されるタブをタップした時に発生します。

タブタップイベントが発生すると以下の変数がタスクで使用できます。

  • %tap_index
    1から始まるタブに付けられた番号です。
  • %tap_label
    UIタブのタブラベルの項目で指定したラベルです。