>>81
ありがとうございます。
引数条件分離とはPerform Taskで電源状態に合わせて%par1を設定、それをif文で受けて分岐、という理解で良いですか?
過去ログやwiki参考に弄ってみましたが@はうまくいく物の、Aがうまく実行できません。


電源オンオフ (14)

A1: If [ %par1 ~ on ]

A2: Wait [ MS:0 Seconds:3 Minutes:0 Hours:0 Days:0 ]

A3: Secure Settings [ Configuration:Airplane Mode Disabled Timeout (Seconds):0 Continue Task After Error:On ]

A4: AutoShortcut [ Configuration:マップ: 運転 Timeout (Seconds):0 ]

A5: If [ %par1 ~ off ]

A6: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]

A7 Media Control [ Cmd:Pause Simulate Media Button:On App:Play Music ]

A8: Kill App [ App:Play Music Use Root:On ]

A9: Kill App [ App:マップ Use Root:On ]
A10: Go Home [ Page:1 ]

A11: Wait [ MS:0 Seconds:5 Minutes:0 Hours:0 Days:0 ]

A12: Secure Settings [ Configuration:Airplane Mode Enabled Timeout (Seconds):0 ]

A13: AutoShortcut [ Configuration:Greenify: 休止 + スクリーンロック Timeout (Seconds):0 ]

A16: End If