Ack, you are right, there is a typo there. It's not what I had in Applescript Editor, so I must have had the cursor there at some point when I mean to be editing elsewhere on the page.
The proper code should be ... default location (path to home folder)) as text The last two words need to be outside the parentheses entirely, because we want to get the path of the chosen folder and save it as text. If we did ... default location (path to home folder) as text) it would be interpreted as trying to use a text string as a location, whereas the default location parameter of the choose folder command wants an alias. That would probably be why execution failed. Anyway, I've made this change on the page. Thanks again, Chris! On Sep 18, 3:39 am, Chris Cairns <[email protected]> wrote: > To Jon, > I guess, you do not use Dropbox and so you are not testing your > scripts. > The updated script that you have posted in "Pages" does not even > compile. > > To compile it, you have to change > used automatically from now on." default location (path to home > folder) ) as text) > to > used automatically from now on." default location (path to home > folder) as text) > > After compiling, it does not work.
