Hello and sorry for a basic question.
I have an AppleScript which crashes because I did not define the folder path
Source
The problematic line of AppleScript is
set _folderPath to my makeTempFolder()
Let’s say that I want to set folder path to my downloads folder:
/Users/cyrus/Downloads
If it is not asking too much, I would be grateful if you could clarify the syntax of set _folderPath to my makeTempFolder()
1- what is the purpose of “my” ?
2- why use parenthesis at the end of makeTempFolder() ?
thanks in advance for your time and help