Žel*_*pin 5 desktop-customization macos
我已将 Mac (10.6.4) 设置为在桌面上显示来自 iPhoto 的随机图像。
有时我想知道显示哪个图像(我有很多图像),但我找不到如何去做的方法。
像right click > show file(像 iPhoto 那样)会很棒。
以下 Applescript 应该可以工作:
on run
tell application "System Events"
tell current desktop
set desktopProperties to (get item 3 of (get properties as list) as text)
end tell
end tell
tell application "Finder"
reveal desktopProperties
end tell
end run
Run Code Online (Sandbox Code Playgroud)
在 Snow Leopard 中,要将其变成有用的操作,请打开Automator.app并从模板菜单中选择Service。
在顶部栏中,将其设置为:服务接收No input到any application。然后从其下方的“库”窗格中拖动Run Applescript并将上述 Applescript 代码粘贴到该窗口中(替换默认模板代码)。
将其保存为适当命名的工作流程(例如Show Wallpaper)。然后,这将作为一个操作出现在所有应用程序的“服务”菜单中,或者您可以在System Preferences\Keyboard Shortcuts下的窗格中为其分配键盘快捷键Services。
参考:
| 归档时间: |
|
| 查看次数: |
370 次 |
| 最近记录: |