2017-07-17 6 views
0

エラーがである "デスクトップ:_XNB_Extract:"は、どのように私は、サブフォルダを作成することができます[AppleScriptを]

tell application "Finder" 
    set x to path to desktop 
    make new folder at x with properties {name:"_XNB_Extract"} 
    set y to path to "desktop:_XNB_Extract:" 
    make new folder at y with properties {name:"Packed"} 
end tell 
+0

mkdir -p $ HOME/Desktop/_XNB_Extract/Packed "'' –

+0

すごく速い答えのためには:D – Nanogamer7

答えて

0

簡単バニラのAppleScriptソリューション:

tell application "Finder" 
    set extractFolder to make new folder at desktop with properties {name:"_XNB_Extract"} 
    make new folder at extractFolder with properties {name:"Packed"} 
end tell 

あなたもat desktopを省略することができますデスクトップフォルダ理由Finderのルートフォルダです。

関連する問題