首先觸發(fā)隨便棘幸!
之后如圖
關(guān)鍵是看懂KM怎么傳遞參數(shù)到applescript的就ok了!
注意Keyboard Maestro Engine的參數(shù)帶引號(hào)倦零!
tell application "Keyboard Maestro Engine"
set x to value of variable "dd"
tell application "Finder"
set selection to make new folder at (get insertion location) with properties {name:x}
end tell
end tell
當(dāng)然只用applescript也是可以的
tell application "Finder"
set x to current date
set y to short date string of x
set selection to make new folder at (get insertion location) with properties {name:y}
end tell