這是用戶在 2024-3-17 22:04 為 https://www.macstories.net/ios/multibutton-1-1-makes-the-action-button-change-its-behavior-based-on-... 保存的雙語快照頁面,由 沉浸式翻譯 提供雙語支持。了解如何保存?

This Week's Sponsor:

Kolide

Ensure that if a device isn’t secure it can’t access your apps.  It’s Device Trust for Okta.


本周的贊助商:Kolide 確保如果設備不安全,它將無法訪問您的應用程式。 這是Okta的設備信任。

MultiButton 1.1 Makes the Action Button Change Its Behavior Based on the Currently Open App
MultiButton 1.1 使操作按鈕根據當前打開的應用程式更改其行為

The same Action button; multiple behaviors for different apps.

The same Action button; multiple behaviors for different apps.
相同的操作按鈕;不同應用的多種行為。

What if the Action button could change its behavior depending on which app is currently open?
如果「操作」按鈕可以根據當前打開的應用更改其行為,該怎麼辦?

That’s what I started wondering months ago after I released MultiButton, my shortcut for toggling between two commands assigned to the Action button rather than being limited to only one. Having the choice between two distinct commands is great, but can you imagine if MultiButton could become a truly contextual shortcut system that adapted to whatever app is currently on-screen?
這就是我幾個月前發佈 MultiButton 後開始思考的問題,MultiButton 是我在分配給“操作”按鈕的兩個命令之間切換的快捷方式,而不是僅限於一個。在兩個不同的命令之間進行選擇是很好的,但你能想像MultiButton是否可以成為一個真正的上下文快捷系統,適應當前螢幕上的任何應用程式嗎?

I’ve spent the past few months working on this idea, and I’m happy to report that I was able to get it to work. In the process, I realized that what I’d designed was a comprehensive, advanced automation system that can be extended beyond MultiButton to a variety of use cases.
在過去的幾個月里,我一直在研究這個想法,我很高興地報告,我能夠讓它發揮作用。在這個過程中,我意識到我設計的是一個全面、先進的自動化系統,可以超越 MultiButton 擴展到各種用例。

Later this week in MacStories Weekly and exclusively for Club MacStories members (of all tiers), I will release my latest creation that makes contextual app automation possible. It’s called CAPS, which stands for Contextual Apps Plugin System.
本周晚些時候,在MacStories Weekly上,我將專門針對Club MacStories會員(所有級別)發佈我的最新作品,使上下文應用程式自動化成為可能。它被稱為 CAPS,代表上下文應用程式外掛程式系統。

CAPS is comprised of three standalone shortcuts that allow you to define rules for which shortcuts should be run when the Action button is pressed while using a particular app. CAPS supports creating an unlimited number of rules for as many apps as you want; best of all, it’s based on an open file format that can be integrated with all kinds of shortcuts.
CAPS 由三個獨立的快捷方式組成,允許您定義在使用特定應用程式時按下「操作」按鈕時應運行哪些快捷方式的規則。 CAPS 支援為任意數量的應用程式創建無限數量的規則;最棒的是,它基於一種開放的檔格式,可以與各種類型的快捷方式集成。

CAPS is an advanced level of user automation, which is why I’ve decided to release it for Club MacStories members. It will come with an in-depth walkthrough on how to set up CAPS, configure its integration with MultiButton, and manage the app-based triggers it relies on.
CAPS 是一種高級使用者自動化,這就是為什麼我決定為 Club MacStories 會員發佈它的原因。它將深入演練如何設置 CAPS、配置其與 MultiButton 的整合以及管理它所依賴的基於應用程式的觸發器。

I can’t emphasize this enough: since I made CAPS for myself, it’s been an automation dream come true, and something that I hope Apple implements natively in iOS 18.
我怎麼強調都不為過:自從我為自己製作了 CAPS 以來,它就實現了自動化的夢想,我希望 Apple 在 iOS 18 中原生實現這一點。

For example, thanks to MultiButton 1.1 and CAPS, when I press the Action button inside the Things app on my iPhone, I can choose between two task management-related shortcuts. However, if I’m using GoodLinks, the Action button changes its behavior and lets me share the article I’m reading instead. Using Timery? The Action button becomes a physical shortcut to stop the current timer, or start a new one. Halide is open? The Action button is now a camera button. And when I’m back on the Home or Lock Screen, the Action button automatically goes back to its default behavior, based on MultiButton.
例如,多虧了 MultiButton 1.1 和 CAPS,當我按下 iPhone 上 Things 應用程式中的“操作”按鈕時,我可以在兩個與任務管理相關的快捷方式之間進行選擇。但是,如果我使用的是 GoodLinks,則「操作」按鈕會更改其行為,並允許我分享我正在閱讀的文章。使用 Timery?“操作”按鈕成為停止當前計時器或啟動新計時器的物理快捷方式。鹵化物是開放的?“操作”按鈕現在是一個相機按鈕。當我回到主螢幕或鎖定螢幕時,「操作」按鈕會自動根據 MultiButton 恢復其預設行為。

The flexibility granted by the combination of MultiButton and the Contextual Apps Plugin System is unprecedented on iOS. It lets the Action button know which app is currently open and adapt its selection of shortcuts accordingly. This kind of integration between hardware and software is only possible on Apple’s platforms, and I’m excited to explain everything in more detail later this week in MacStories Weekly.
MultiButton 和 Contextual Apps 外掛程式系統相結合所帶來的靈活性在 iOS 上是前所未有的。它讓「操作」按鈕知道當前打開的應用程式,並相應地調整其快捷方式選擇。這種硬體和軟體之間的集成只有在Apple的平臺上才有可能實現,我很高興本周晚些時候在MacStories Weekly 中更詳細地解釋所有內容。

A sneak peek at CAPS.

A sneak peek at CAPS.
先睹為快。

You can download the latest version of MultiButton with CAPS support below and in the MacStories Shortcuts Archive, but you’ll have to wait until Saturday to get access to CAPS.
您可以在下方和 MacStories Shortcuts Archive 中下載支援 CAPS 的最新版本的 MultiButton,但您必須等到週六才能訪問 CAPS。

MultiButton 多按鈕

Toggle between two shortcuts from the Action button. MultiButton will run a secondary shortcut if you press the Action button within a few seconds of your first press.
在「操作」按鈕的兩個快捷方式之間切換。如果您在第一次按下后的幾秒鐘內按下「操作」按鈕,MultiButton 將運行輔助快捷方式。

MultiButton 1.1 introduces support for CAPS (Contextual Apps Plugin System) automation; CAPS lets MultiButton run a different set of shortcuts when specific apps are open. CAPS is available exclusively for Club MacStories members and was released in Issue 409 of MacStories Weekly.
MultiButton 1.1 引入了對 CAPS(上下文應用程式外掛程式系統)自動化的支援;CAPS 允許 MultiButton 在打開特定應用時運行一組不同的快捷方式。CAPS 專為 Club MacStories 會員提供,並在 MacStories 週刊第 409 期中發佈。

Get the shortcut here.
在此處獲取快捷方式。

You can join the Club at just $5/month and get access to nine years (!) of archives and over 500 issues of weekly and monthly newsletters. You can join the base tier of Club MacStories (which will get you access to CAPS) using the buttons below, or you can find out more about our higher tiers with more perks here.
您只需每月 5 美元即可加入俱樂部,並可以訪問九年的檔案和 500 多期每周和每月的時事通訊。您可以使用下面的按鈕加入 Club MacStories 的基礎層(這將使您存取 CAPS),或者您可以在此處找到有關我們更高級別和更多福利的更多資訊。

And if you want to get even more out of Club MacStories, you can check out our other tiers and additional members-only perks here.
如果您想從 Club MacStories 中獲得更多收益,您可以在此處查看我們的其他等級和額外的會員專享福利。

See you on Saturday in MacStories Weekly. It’s going to be a fun one.
週六在MacStories Weekly見。這將是一場有趣的比賽。

Unlock More with Club MacStories
使用 Club MacStories 解鎖更多內容

Founded in 2015, Club MacStories has delivered exclusive content every week for over six years.
Club MacStories 成立於 2015 年,六年多來每周都會提供獨家內容。

In that time, members have enjoyed nearly 400 weekly and monthly newsletters packed with more of your favorite MacStories writing as well as Club-only podcasts, eBooks, discounts on apps, icons, and services. Join today, and you’ll get everything new that we publish every week, plus access to our entire archive of back issues and downloadable perks.
在那段時間里,會員們享受了近 400 份每周和每月的時事通訊,其中包含更多您最喜歡的 MacStories 文章以及僅限俱樂部的播客、電子書、應用程式折扣、圖示和服務。今天就加入,您將獲得我們每周發佈的所有新內容,以及訪問我們過去的整個期刊檔案和可下載的福利。

The Club expanded in 2021 with Club MacStories+ and Club Premier. Club MacStories+ members enjoy even more exclusive stories, a vibrant Discord community, a rotating roster of app discounts, and more. And, with Club Premier, you get everything we offer at every Club level plus an extended, ad-free version of our podcast AppStories that is delivered early each week in high-bitrate audio.
俱樂部在 2021 年擴大了規模,推出了 Club MacStories+ 和 Club Premier。Club MacStories+ 會員可以享受更多獨家故事、充滿活力的 Discord 社區、輪換的應用折扣等等。而且,通過Club Premier,您可以獲得我們在每個俱樂部級別提供的一切,以及我們播客AppStories的擴展版,無廣告版本,該版本每周早些時候以高比特率音訊形式提供。

Choose the Club plan that’s right for you:
選擇適合您的俱樂部計劃:

  • Club MacStories: Weekly and monthly newsletters via email and the web that are brimming with app collections, tips, automation workflows, longform writing, a Club-only podcast, periodic giveaways, and more;
    Club MacStories:通過電子郵件和網路發送的每周和每月時事通訊,其中包含應用程式集合、提示、自動化工作流程、長篇寫作、僅限俱樂部的播客、定期贈品等;
  • Club MacStories+: Everything that Club MacStories offers, plus exclusive content like Federico’s Automation Academy and John’s Macintosh Desktop Experience, a powerful web app for searching and exploring over 6 years of content and creating custom RSS feeds of Club content, an active Discord community, and a rotating collection of discounts, and more;
    Club MacStories+:Club MacStories 提供的一切,以及 Federico 的自動化學院和 John 的 Macintosh 桌面體驗等獨家內容,這是一款功能強大的 Web 應用程式,用於搜索和探索超過 6 年的內容並創建俱樂部內容的自定義 RSS 提要、活躍的 Discord 社區以及輪換的折扣集合等等;
  • Club Premier: Everything in from our other plans and AppStories+, an extended version of our flagship podcast that’s delivered early, ad-free, and in high-bitrate audio.
    Club Premier:來自我們其他計劃和 AppStories+ 的所有內容,AppStories+ 是我們旗艦播客的擴展版本,提前提供,無廣告,並以高比特率音訊提供。