Creating Folder on Desktop

I have a macro in which I need to make sure that there is a folder on the Desktop called XojoArchiveData

New Folder works fine when I pass as a parameter /Users/owl/Desktop/XojoArchiveData/.

I would like to be able to share this script with other people who are not computer savvy, and I would like to spare them the task of modifying the Keyboard Maestro macro. Is there a way to write the macro so as to always locate the folder on the Desktop irrespective of the the specifics of the path on someone else machine?

In my case the user is owl. That appears in the pathname to the folder. But someone else would have a different name.


I you set the folder to ~/Desktop/XojoArchiveData/ it should work on all machines.
The ~ is the users home folder.

1 Like