Repository navigation
v1.0.116
変更内容
1.0.116: エッジパネルのアイコン 1 つから操作マクロを選んで実行できるようにし、AI のアプリ操作(z2-ui)にも操作先の上から止められる帯を付けました(1.0.102〜1.0.116 の変更をまとめた版です)。
- マクロを選んで実行: エッジパネルやタイルの実行欄で「操作マクロ: 選んで実行」(
z2-action pick)を選ぶと、押したときに操作先のアプリの上へ帯が出ます。「名前 ▾」でマクロを選んで ▶ で実行、× で閉じます。最後に選んだマクロを覚えています。実行が始まると帯はそのまま停止ボタンの帯に替わり、マクロが終わると閉じます。項目には専用のアイコン(▶ と 3 本線)が自動で付き、z2-iconの「macro」としてほかの項目にも使えます。 - AI の操作中の帯: AI がアプリを操作している間は、操作先の上に ‖ ■ の帯が出ます(コマンド一覧 → 自動化 → AI 操作の「操作先の上に停止ボタンを出す」、既定 ON)。‖ で一時停止、▶ で再開します。■ は今の作業を終わらせますが、AI 操作の許可は外さないので、次の作業はそのまま頼めます。許可まで外したいときは、通知の「停止」か設定の OFF を使います。帯は AI のタップには反応しません。
- 通知欄を下ろすと一時停止: AI の操作中に通知欄を下ろすだけで、AI の操作が一時停止します。AI 操作の通知はほかの常駐通知とまとめられず単独で出るので、「再開」「停止」をすぐ押せます。通知の設定には「AI のアプリ操作」の項目が作り直されて出ます(前の項目で通知を切っていた場合は、もう一度切ってください)。
- 止めている間の守り: AI の操作を一時停止・停止している間は、操作マクロが z2term 自身の画面を操作できません。AI がマクロを使って、設定の「再開」を押させることはできません。
- 停止ボタンの帯: 進み具合(「1/6回目 · 手順 2/4」など)を「…」で省略せず、全部出します。画面の幅に入りきらないときは文字が流れて全部見えます。帯を右端に置いていても画面の中で左へ広がり、‖ と ■ が見切れることはありません。マクロや AI のタッチ操作が帯に重なるときは、帯を消さずに薄く表示します(そのあいだ帯は押せず、タッチ操作は下のアプリへ届きます)。画面に収めるために帯がずれても、一覧を閉じたり文字が短くなったりすれば、自分で動かした位置へ戻ります。
launchの待ち: 操作マクロのlaunchは、開いたアプリが前面に出るまで待ってから次の手順へ進みます(最大 10 秒)。起動に時間がかかるアプリで、次のスクロールやタップが前の画面を掴み「対象アプリが替わった」で止まることがありました。- 直したこと: 画面操作タブのマクロ編集画面がスクロールせず下が見切れていたのを直しました。あわせて、一覧を下へ引いて閉じる操作がいちばん上からしか効かなかったのと、引くとシートが小刻みに震えていたのも直しました。アプリの更新直後などに、操作マクロが「z2term の背後にある前面画面を確認できませんでした」で始まらないことがあったのも直しています。
Changes
1.0.116: Action macros can now be chosen and run from a single edge panel icon, and AI app operation (z2-ui) gets a bar to stop it from on top of the app (this release gathers the changes from 1.0.102 to 1.0.116).
- Choose and run a macro: Pick “Action macro: choose and run” (
z2-action pick) as the action of an edge panel item or tile, and pressing it shows a bar over the current app. Choose a macro with “name ▾”, run it with ▶, or close with ×. The last choice is remembered. Once the run starts, the bar turns into the stop bar and closes when the macro ends. The item gets its own icon (▶ with three lines) automatically, also available to other items as “macro” inz2-icon. - Bar while the AI operates: While the AI operates an app, a bar with ‖ ■ sits over that app (“Show a stop button over the app” in Command list → Automation → AI, on by default). ‖ pauses and ▶ resumes. ■ ends the current task but keeps AI operation on, so the next task can be asked right away. To turn AI operation off as well, use Stop in the notification or the setting. The bar ignores the AI's taps.
- Pulling the shade pauses: Just pulling down the notification shade pauses the AI. The AI notification is no longer folded together with other ongoing notifications, so Resume and Stop are right there. Its notification channel is recreated (if you had turned the old one off, turn it off again).
- Guard while stopped: While AI operation is paused or stopped, action macros cannot operate z2term's own screens, so the AI cannot use a macro to press Resume in the settings.
- Stop bar: The progress (“pass 1/6 · step 2/4” and so on) is shown in full instead of being cut with “…”; when it does not fit the screen width it scrolls. A bar at the right edge grows leftward inside the screen, and ‖ and ■ are never cut off. When a macro or AI touch lands on the bar, it turns faint instead of disappearing (meanwhile it cannot be pressed and the touch reaches the app below). A bar shifted to stay on screen returns to where you placed it once its list closes or its text gets shorter.
launchwaits: An action macro'slaunchnow waits until the app is in front before the next step (up to 10 seconds). On a slow start, the next scroll or tap used to grab the screen behind and stop with “Target application changed”.- Fixes: The macro editor in Screen actions no longer gets cut off at the bottom without scrolling. Pulling the list down to close it works again from anywhere, not only from the top, and the sheet no longer shakes while pulled. Action macros no longer sometimes fail to start right after an app update with “could not confirm the foreground screen behind z2term”.
Full Changelog: v1.0.101...v1.0.116