가능한 중복 :
Import AppleScript methods in another AppleScript?사용법 #include
C에서 #include
지시자처럼 사용할 수있는 경우 애플 있나요? 예를 들어
:
set scriptLibraryPath to (path to scripts folder from user domain as text) & "myScript.scpt"
set scriptLibrary to load script scriptLibraryPath as alias
그런
해당 스크립트에 서브 루틴에 액세스 할이 작업을 수행 할 스크립트를로드하려면이 같은
INCLUDE_DIRECTIVE "Path/To/Applescript.scpt"
//Some AppleScript code here
중복 된 http : // stackoverflow.com/questions/2606136/import-applescript-methods-in-another-applescript를 참조하십시오. – kiamlaluno