Please check out the following example:
Code: Select all
@APPTITLE "MakeDirectory-Test"
SetFontColor(#LIME)
SetFontStyle(#ANTIALIAS)
SetFont(#SANS, 20)
m_currentDir$ = GetCurrentDirectory()
m_newDir$ = FullPath(m_currentDir$, "test")
SetMargins(20, 600)
NPrint("\nCurrent directory: " .. m_currentDir$)
NPrint("\nCreating new directory: " .. m_newDir$)
MakeDirectory(m_newDir$)
NPrint("\ndone")
Repeat
WaitEvent
Forever
But it fails on macOS Big Sur 11.6.2 with the following error:
Any clue why this might be?
I'm actually pretty sure that this was working a few macOS updates earlier, say last year or so...
Cheers,
Michael