Write in the Pictures folder on Mac

BlitzMax Forums/BlitzMax Programming/Write in the Pictures folder on Mac

Casualbox(Posted 2010) [#1]
I'm trying to save a picture under Mac OS. It works fine with Win32 but I cannot manage to get the picture folder on Mac OS.

I use: SavePixmapPNG
For the path, my better idea was "~/Pictures" but it doesn't work.
Any idea?


ima747(Posted 2010) [#2]
If you get the BaH.Volumes modules there's
GetCustomDir(DT_USERPICTURES)

Which works great for me cross platform...


Casualbox(Posted 2010) [#3]
Yes! It works!
That was the last line of code for me to publish the mac version thank you so much!
The game is already published for PC:
http://www.bigfishgames.com/download-games/7340/geisha-the-secret-garden/index.html
And is selling very well!!