Hey, I've got a couple scripts I developed on pc and these export a file to the C:\matemp folder that I create using a Mel command. I've recently learned that these scripts don't work on Mac because Mac doesn't have a C: drive, so my question is what is a reliable place I can write the file to that would be the same on every Mac users hard drive.
Replies
/Users/Shared/matemp/
on pc it would look like this C:/matemp/
You can get temp folder location with Mel using this command
http://help.autodesk.com/cloudhelp/2017/ENU/Maya-Tech-Docs/Commands/internalVar.html
Or use python because its better in every way..
http://docs.python.org/library/os.path.html?highlight=os.path#os.path.expanduser