𝐢𝐌𝐚𝐫𝐤𝐫
360 subscribers
95 photos
9 videos
8 files
137 links
🫥
Download Telegram
Gemini 3.7 Flash 响应真快😳
𝐢𝐌𝐚𝐫𝐤𝐫
AppAutoRestore.spoon.zip
AppAutoRestore.spoon.zip
1.1 KB
#macOS #Hammerspoon

关闭应用自动聚焦上一个应用支持过滤排除指定应用了


-- 加载并启动 AppAutoRestore Spoon 插件
hs.loadSpoon("AppAutoRestore")

-- 自定义开关(可选)
-- spoon.AppAutoRestore.enableCmdTabRestore = true -- Command+Tab 恢复窗口
-- spoon.AppAutoRestore.enableCloseAutoFocus = true -- 关闭最后窗口自动切上个应用

-- 排除名单(Bundle ID 或应用名,默认已排除 Raycast)
-- spoon.AppAutoRestore:setExcludedApps({ "com.raycast.macos", "Alfred" })
-- spoon.AppAutoRestore:addExcludedApp("com.apple.Spotlight")

spoon.AppAutoRestore:start()
𝐢𝐌𝐚𝐫𝐤𝐫
AppAutoRestore.spoon.zip
AppAutoRestore.spoon.zip
8.3 KB
#macOS #Hammerspoon

增加关闭所有窗口自动退出应用。默认只有一个预览应用

完整功能:

🫟 ⌘ + ⇥ 切换应用自动打开窗口
🫟 关闭应用所有窗口后自动切换到上一个应用。可添加排除项
🫟 指定应用关闭所有窗口后自动关闭应用



-- 加载并启动 AppAutoRestore Spoon 插件
hs.loadSpoon("AppAutoRestore")

-- 自定义开关(可选)
-- spoon.AppAutoRestore.enableCmdTabRestore = true -- Command+Tab 恢复窗口
-- spoon.AppAutoRestore.enableCloseAutoFocus = true -- 关闭最后窗口自动切上个应用
-- spoon.AppAutoRestore.enableAutoQuit = true -- 关闭所有窗口后自动退出指定应用

-- 排除名单(Bundle ID 或应用名,默认已排除 Raycast)
-- spoon.AppAutoRestore:setExcludedApps({ "com.raycast.macos", "Alfred" })
-- spoon.AppAutoRestore:addExcludedApp("com.apple.Spotlight")

-- 自动退出名单(关闭所有窗口后自动退出应用,默认已含「预览」)
-- spoon.AppAutoRestore:setAutoQuitApps({ "com.apple.Preview", "com.apple.calculator" })
spoon.AppAutoRestore:addAutoQuitApp("com.apple.iCal")

spoon.AppAutoRestore:start()
#iOS

画了些 iOS 应用的深色图标。少数没有矢量图

GitHub 链接

聪明的你们一定能找到规律

iOS 透明模式真是稀烂,要想适配好就需要单独画黑白颜色分明的图标,垃圾自适应
https://x.com/simonbs/status/2089848433632821496?s=20

Scriptable 又一小组件类应用,TF 早入,后续会收费。我非常喜欢这个作者的应用,都很精美

目前应用不支持通过 API 获取数据,需要结合快捷指令为小组件添加动态数据
Forwarded from 折腾啥 (小一)
Runestone Scriptable 作者的又一个软件

感谢老张的分享

https://testflight.apple.com/join/65RCk8Xh

🧐 合集 💬 群组 😄 恰饭 🥰联系推广

🥰#iOS #App #小组件
Please open Telegram to view this post
VIEW IN TELEGRAM
Please open Telegram to view this post
VIEW IN TELEGRAM
#iOS #Canvases

🥹 实战派,已经写了个天气预报了示例了。小组件是内置 AI 写的,快捷指令是我写的

https://share.canvases.app/1e656850bf3b125a5c91e5aa15771064

https://www.icloud.com/shortcuts/cff939400fd4445a8a5d8f15e7905b4d

天气图标我没写全,自己改下快捷指令里的词典
Media is too big
VIEW IN TELEGRAM
#iOS #Canvases

https://share.canvases.app/160988531a19e2f4fb7493c3c166d265

https://www.icloud.com/shortcuts/65e40a07f3c64f808c3fd013a238c1a1

跟着 TF 更新简单说下怎么用。导入小组件和快捷指令后。编辑桌面小组件,添加快捷方式,点击天气图标会运行快捷指令刷新小组件(仅支持 iOS 27,iOS 26 可以在 Canvases 内让 AI 改为通过 URL Scheme 的方式运行快捷指令)

快捷指令内有注释说明如何使用快捷指令

添加快捷指令自动化可实现自动刷新小组件

Canvas TF 更新:

- Adds support for different images in light and dark mode.
- Passing a text to the Update View action in Shortcuts would perform a search when updating a symbol, even if the text matched a symbol. Now it sets the specified symbol and only performs a search if none match the text.
- Addresses an issue with the Track Glass of Water example shortcut that would prevent it from working correctly when a device was set to US locale.
- Adds a “Run a Shortcut from a Widget Button” guide to the user guide.

懒得翻译