2
JXA (JavaScript for Automation)가 어떻게 작동하는지 알아 내려고하기 때문에 JXA에 간단한 applescript를 번역하려고합니다. 내가 뭘하려 자동화 용 자바 스크립트 [찾기에 열기]
tell application "Finder"
open location "smb://XXXXXXXX"
end tell
은 여기에 있습니다 :
finder = Application("Finder")
finder.open({location:"smb://xxxxxx"})
그러나 나는 실패 ..., 나는, AppleScript로 정말 라이브러리의 설명을 이해하지 새로운입니다. 여기 및 라이브러리가 open
open (v) : Open the specified object(s)
open specifier : list of objects to open
[using specifier] : the application file to open the object with
[with properties record] : the initial values for the properties, to be included with the open command sent to the application that opens the direct object
친절하게 내가 코드를 수정하는 방법을 알려 주시기 바랍니다 설명하는 방법이다. ^^ 감사합니다