I guess its a lame question for most of you but I don’t get it.
I have a prompt to let the user coose a folder:
set source_folder to choose folder with prompt "select a folder:" as string
The result will look like this:
file://localhost/Users/myuser/Desktop
I need it to look like this:
Macintosh HD:Users:myuser:Desktop:
I have my workaround for converting which is finding parts of the first string and replacing them and repeating this until I get the path to look like I need it. This works but it’s quite some lines of code and I guess there is a smarter / nicer way of doing it.