This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
property outputPath : (path to desktop as text) & "export" | |
tell application "Finder" | |
if not (exists outputPath) then | |
make new folder at desktop with properties {name:"export"} | |
end if | |
end tell | |
tell application "Notes" | |
set Nf to text returned of (display dialog "Folder Name" default answer "Notes") |