Hi. I am trying to make a script that will work on anyone’s computer.
set x to "~/Desktop/files/file.txt"
set y to POSIX file x as Unicode text
set z to y as alias
However, unless I specify “/Users/Patrick/Desktop/file.txt” it will not work. How can I make traditional Mac path’s know the home directory?
Do I need to do some kind of Set x to file “file.txt” in folder “files” in desktop “ or something??
Thanks