Skip to content

v1.0.101

Choose a tag to compare

@github-actions github-actions released this 13 Nov 14:50
· 319 commits to main since this release

変更内容

1.0.101: 操作マクロを、実行中に操作先のアプリの上から止めたり、一時停止したりできるようにしました(1.0.95〜1.0.101 の変更をまとめた版です)。

  • 停止ボタンの帯: コマンド一覧 → 自動化 → 画面操作の「ほかのアプリの上に停止ボタンを出す」を ON にすると、マクロの実行中だけ、操作先のアプリの上に ‖ ■ と進み具合(「3/10回目 · 手順 2/5」)の小さな帯が出ます。■ で止まり、‖ で一時停止、▶ で再開します。帯は指で好きな場所へ動かせて、位置は次の実行でも使います。マクロのタップやスクロールの指が帯の下を通るときだけ、一瞬隠れます(既定は OFF)。
  • 一時停止と再開: 実行中に通知欄を下ろすと、マクロは失敗で終わらずに一時停止し、通知に「再開」と「マクロを停止」が出ます。「再開」を押すと通知欄を閉じ、操作先の画面が落ち着いてから続きを動かします。途中で切られた手順は、その手順の最初からやり直します。一時停止の間は制限時間も進みません。実行中の通知も、通知欄のサイレントの段にたたまれず、ふつうの段に出るようにしました(音もバイブも鳴りません)。
  • コマンド: z2-action pause と z2-action resume を足しました。resume は再開できたかが分かってから返り、再開できれば "state":"running" で終了コード 0、操作する画面が 5 秒で見つからなければ "state":"paused" で 0 以外を返します。シェルマクロでは if z2-action resume; then … のように分けられます。
  • マクロ一覧の並び替え: 画面操作タブのマクロ一覧に「並び替え」を足しました。押すと各行が ↑ ↓ に変わり、押すたびに順番を保存します。z2-action list もこの順に出ます。
  • 設定: 「設定を初期化」のボタンを「このアプリについて」から「メンテナンス」へ移しました。

Changes

1.0.101: Action macros can now be stopped or paused from on top of the app they operate (this release gathers the changes from 1.0.95 to 1.0.101).

  • Stop bar: Turn on “Show a stop button over other apps” in Command list → Automation → Screen actions, and while a macro runs a small bar with ‖ ■ and the progress (“pass 3/10 · step 2/5”) sits over the target app. ■ stops, ‖ pauses and ▶ resumes. Drag the bar wherever you like; its place is kept for the next run. It hides for a moment only when a macro tap or scroll passes under it (off by default).
  • Pause and resume: Pulling down the notification shade during a run pauses the macro instead of ending it as a failure, and the notification offers Resume and Stop macro. Resume closes the shade and continues once the target screen has settled; a step cut off midway starts again from its beginning. The time limit does not run while paused. The running notification also no longer folds into the silent section of the shade (it still makes no sound or vibration).
  • Commands: Added z2-action pause and z2-action resume. resume answers once it knows the outcome: "state":"running" with exit status 0 when the run continued, or "state":"paused" with a non-zero exit when no screen to operate appeared within 5 seconds, so a shell macro can branch with if z2-action resume; then ….
  • Reordering macros: The macro list in Screen actions gains Reorder. Each row turns into ↑ ↓ and every press saves the order, which z2-action list follows too.
  • Settings: Reset settings moved from About this app to Maintenance.

Full Changelog: v1.0.94...v1.0.101