Action Edit(アクション編集)画面

This screen allows configuration of a single action in a Task.

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

この画面ではタスクに含まれる個々のアクションを設定します。

General(概説)

At top left is the name of the action. Tapping on this allows it to be changed.

Bottom-right is a help button. Please be sure to read the action help of every action before you use it for the first time, there may be e.g. device specific restrictions you should know about.

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

上段左にはアクション名が表示されます。タップして変更することができます。

下段右側にはヘルプボタンがあります。初めてのアクションを使う場合にはヘルプボタンでそのアクションに関する端末による制約について予め確認をしてください。

Action Parameters(アクションパラメーター)

A parameter gives extra detail about how the action is to be carried out.

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

パラメーターによってアクションの実行を細かく制御することができます。

Text Parameters(テキストパラメーター)

  • are sometimes optional: in that case the text Optional will appear as a hint unless the entry box has already been filled in
  • sometimes have a dialog to help you fill in a value which you can access by clicking the magnifying glass icon next to them
  • can have variables automatically inserted by clicking the tag icon next to them.
https://tasker.joaoapps.com/userguide/en/activity_actionedit.html
  • オプションとなる場合:テキストが入力されていない入力欄にはOptionalの文字が表示されます。
  • 場合により値を設定するためのダイアログが用意されていて、項目右側の虫眼鏡のアイコンをタップすると表示されます。
  • その隣にあるタグのアイコンをタップすると変数の一覧から挿入する変数名を選択することができます。

Numeric Slider Parameters(数値スライダーパラメーター)

Clicking the arrows icon next to numeric sliders allows you to specify the number textually or use a variable for the parameter instead, if the value will not be known until the action is actually executed.

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

数値スライダーの横の矢印のアイコンをタップすると数値の指定をするのに即値を使うか、またはアクション実行時まで数値が確定されないような場合に変数による指定を行うかを選択できます。

If (Condition) Parameter(If〔条件開始〕パラメーター)

(most actions)

Allows specification of one or more conditions which must match if this action is to execute.

Single conditions consist of a left-hand side (usually a variable name), an operator and a right-hand-side for example %number, Equals, 1 indicates that the action will be executed if the variable %number has the value 1.

When more than one condition is specified, they must be combined via And (all conditions must be true), Or (at least one condition must be true) or Xor (exactly one must be true). These ‘combiners’ are called boolean operators.

Usually, 2 or 3 conditions will be combined with all Ands or all Ors, but in order to allow more complicated logic, Tasker also offers And and Or in high-precedence versions. Of the 4 boolean operators which are available, the selection goes from low to high precedence ones.

The higher the precedence of a boolean operator, the further to the right it is shown. This enables the logical groups to be visualised.

Examples:

True | False & True | False is the same as ( True | False ) & ( True | False ) so is True.

True & False | True & False is the same as True & ( False | True ) & False so is False.

True & False | True |+ False is the same as True & ( False | ( True | False ) ) so is True.

Note that the order of the conditions can mean that some conditions are never evaluated. For instance, when two conditions are present and the one above an And is false then the condition below it will never be evaluated. This can be advantageous if the second condition takes relatively more resources e.g. involves matching against a lot of text.

Please see the section on Flow Control for more information.

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

(ほとんどのアクションが対象です)

そのアクションの実行条件を1つ以上設定出来ます。

各条件は演算子を挟んで左側(通常は変数名)と右側に値を指定します。例えば、%number, Equals, 1 の場合、%number変数に1が格納されている場合にアクションが実行されます。

2つ以上の条件が設定された場合、これらはAnd(全ての条件が成立)、Or(少なくとも1つの条件が成立)、Xor(1つの条件だけが成立)という3つの方法で組み合わせる事ができます。この組み合わせに使う演算子をブーリアン演算子と言います。

通常、2つから3つの条件を全てAndで繋ぐか全てOrで繋ぎますが、より複雑な条件設定を行うためにTaskerではより優先順位の高いバージョンのAndとOrが使用可能です。4つのブーリアン演算子が組み合わされている場合、優先度のより低いものから評価されます。

ブーリアン演算子の優先度の高さは、それらが組み合わされている並びの右へ行くほど高くなります。これを踏まえることで全体的な条件の評価を視覚的に把握することができます。

例:

真 | 偽 & 真 | 偽 は ( 真 | 偽 ) & ( 真 | 偽 ) の様に評価され、全体的には真となります。

真 & 偽 | 真 & 偽 は 真 & ( 偽 | 真 ) & 偽 の様に評価され、全体的には偽となります。

真 & 偽 | 真 |+ 偽 は 真 & ( 偽 | ( 真 | 偽) ) の様に評価され、全体的には真となります。

条件の並び順によっては決して評価されることのない条件がある点に注意してください。例えば、2つの条件があってAndで組み合わされていたとします。先に評価された条件が偽であった時点で全体の評価が偽であることが確定するので二つ目の条件が評価されることはありません。これにより二つ目の条件が膨大なテキストを対象とした正規表現であるような場合にその条件の評価にかかる手間を省くことができるのでタスクの実行効率が上がります。

詳しくは流れ制御のページをご覧下さい。

Continue Task After Error Parameter(エラーが発生しても継続パラメーター)

(selected actions only)

By default, if an action fails with an error (e.g. the user specified to delete a file that doesn’t exist) Tasker will stop the task immediately and the remaining actions will never be executed.

This parameter specifies that the task should continue even if this action fails.

In addition, if it’s checked, errors will be logged in the system log as diagnostics instead of errors and error popups will be surpressed.

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

(選択されたアクションのみが対象です)

通常はアクションが実行できなかった場合(例えば、ファイルの消去を指定されているのに対象のファイルが存在しないなど)Taskerはすぐさまタスクの実行を中断し、それ以後のアクションは実行されません。

このパラメーターではアクションが失敗してもタスクの実行を続けるよう設定出来ます。

加えてこの設定が指定されている場合、エラーを報告する代わりに状態の診断のためにシステムログに記録されます。

Label Parameter(ラベルパラメーター)

(all actions)

A label for the action which is shown on the Task Edit screen. This parameter could also be used to add comments to actions to help understand how the task works.

Labels are also used with Goto actions to jump from one part of the task to another.

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

(全てのアクションが対象)

タスク編集画面に表示されるラベルを指定します。また、タスクの動作を理解しやすくするためにアクションにコメントを付ける目的でも使用されます。

さらにタスク内でGotoアクションを使ってジャンプする際のジャンプ先の指定にも使われます。

Menu Options(メニューオプション)

Search(検索)

Search for and jump to a specified action. The entered term is searched against action properties in the following order:

  1. the action number
  2. the action label if present
  3. the action name
  4. the action description, including the action parameter contents

The matching is case-insensitive. Searching starts from the current action and wraps around. Only the header action (If or For) of closed blocks is searched.

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

指定したアクションを検索して移動します。指定された検索内容はアクションのプロパティーに対して次の順で検索されます。

  1. アクション番号
  2. もしあればアクションラベル
  3. アクション名
  4. アクションの各パラメーターの内容を含むアクションの内容

検索は大文字小文字を区別して行われます。現在のアクションから周囲のアクションに向けて検索を行います。閉じたブロックのヘッダーアクション(IfまたはFor)のみが検索されます。