NSPathControlで複数のファイルパス入力ダイアログを表示して選択パスを受け付けるAppleScript Librariesです。
–> Download choosePathLib.scptd(~/Library/Script Libraries)
AppleScript名:choose path のサンプル |
— – Created by: Takaaki Naganoya – Created on: 2019/08/24 — – Copyright © 2019 jp.piyomarusoft, All Rights Reserved — use AppleScript version "2.4" use scripting additions use choosePath : script "choosePathLib" set mesList to {"移動元1", "移動先1", "移動元2", "移動先2"} set defaultLocList to {"~/Movies", "~/Desktop", "~/Documents", "~/Library"} set cRes to choose multiple path main message ¬ "メインメッセージ" sub message ¬ "サブメッセージ" with titles mesList ¬ with default locations defaultLocList –> {alias "Macintosh HD:Users:me:Desktop:mathfuncs.png", alias "Macintosh HD:Users:me 1:Desktop:PDF Page composer test.scpt", alias "Macintosh HD:Users:me:Desktop:dTEST.pdf", alias "Macintosh HD:Users:me:Desktop:aTEST2.pdf"} |
More from my site
(Visited 187 times, 1 visits today)