Folder Dialog

I’m search something like a file dialog or rather a folder dialog where I can choose a folder. The path to the folde is then stored in a variable


set path_of_selected_folder to display folderdialog

Is this possible with Applescript ?

Hi,

it is very easy:

set path_of_selected_folder to choose folder

the result is an alias, for a path you can coerce it to a string

set path_of_selected_folder to (choose folder) as string