在使用Mac自帶的QuickPlayer的時候,沒有快進快退鍵很麻煩,于是谷歌了網上的教程,現在分享給大家!
本文引用自軟件技巧的博客(軟件技巧)
使用Mac自帶的 Automator 創建服務
1、打開Automator 軟件,選擇【新建文稿】
2、文稿類型選擇【服務】
img1.png
“服務”收到設置為【沒有輸入】,位于選擇【QuickTime Player】
img2.png
3、在左側的資源庫面板中,將[實用工具]中的[運行 AppleScript]拖拽到右側區域
img3.png
4、在出現的 AppleScript 編輯框中粘貼以下代碼,然后點擊運行
// 快進
on run {input, parameters}
set step to 5
tell application "QuickTime Player"
if front document exists then
if ((current time of front document) + step) ≤ (duration of front document) then
set (current time of front document) to ((current time of front document) + step)
else
set (current time of front document) to (duration of front document)
end if
end if
end tell
return input
end run
img4.png
5、退出會提示保存,保存名字為快進(按自己喜好設置)
6、同樣對快退進行設置,保存為快退
on run {input, parameters}
set step to 5
tell application "QuickTime Player"
if front document exists then
if ((current time of front document) - step) ≥ 0 then
set (current time of front document) to ((current time of front document) - step)
else
set (current time of front document) to 0
end if
end if
end tell
return input
end run
此時Automator模塊的設置已基本完畢,打開QuickPlayer,可以在頂部找到【服務】選項,右側會有設置的快退/快進
快捷鍵設置,打開QuickPlayer
1、點擊服務偏好設置,(我的名字設置錯誤改不過來了,丑丑的????)
img5.png
2、找到自己設置的快進快退鍵,點擊會出現添加快捷鍵,小伙伴們快去添加自己的快捷鍵吧
img6.png
大功告成~ 快去試試效果吧!!