답변:
.mp3 파일에 대한 정보를 얻고 관련 앱을 변경할 수 있어야합니다.
이동 cmd-i
앱의 드롭 다운 메뉴에서 '연결 프로그램 :'을 클릭하십시오. other
디렉토리로 이동하십시오. 선택해야합니다. Enable : All Applications
mp3blaster 앱을 클릭 할 수 있습니다.
Automator를 시작하고, AppleScript 실행 작업으로 저장하고 응용 프로그램으로 저장하십시오.
그런 다음 mp3 파일을 선택하고 다음을 입력하십시오. Cmd-I 이전에 저장 한 응용 프로그램으로 기본 응용 프로그램을 변경하십시오.
/opt/local/bin/mp3blaster
bash 쉘에서 작동합니다.)
마지막으로 사용 방법 AppleScript
대신에 bash
. (나는이 예를 따른다. Automator Workflow에서 터미널을 시작 하시겠습니까? )
on run {input, parameters}
tell application "Terminal"
activate
if (the (count of the window) = 0) or ¬
(the busy of window 1 = true) then
tell application "System Events"
keystroke "n" using command down
end tell
end if
do script "/opt/local/bin/mp3blaster \"" & (POSIX path of ¬
(input as string)) & "\"" in window 1
end tell
return input
end run
mp3blaster
앱이 아니라 빈입니다. 그래서 나는 네가 제안한 것을 할 수 없다.