Tiemo Hollmann TB wrote:
Hi Marc, you are scaring me - often unreliable results! I am using some different specialfolderpath(). Isn't this really a good practice or just a single experience?
I use specialFolderpath() without any problems. There was one Rev release where specialFolderPath("temporary") returned incorrect results on Mac OS X, but that was quickly fixed and it is safe to use now. Other folders returned by specialFolderPath() have always been reliable as far as I know, and I use the function all the time.
Mac OS X hides certain folders because changing them can harm the operating system. You can see and open these folders manually if you want. Changing files in the tmp folder won't hurt anything, just don't change anything else you find in there.
To access one of the system's hidden folders on OS X, go to the Finder. In the "Go" menu, choose "Go to folder..". Type in the full path to the hidden folder you want to see. It will become visible and you can open the files inside it. The folder icon will be half-transparent, indicating that it is really a hidden folder. If you close the finder window, the folder will hide itself again; you don't need to do anything special to re-hide it. Permissions are not changed.
Note that the temporary folder on a Mac will vary depending on the curent user. Sometimes it will be 501, sometimes 502, and so forth, depending on the current user account. Using specialFolderPath() is the best way to know which hidden folder is the correct one for the current user files. The tempname function also returns a correct location for the current user.
-- Jacqueline Landman Gay | [EMAIL PROTECTED] HyperActive Software | http://www.hyperactivesw.com _______________________________________________ use-revolution mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-revolution
