Thanks Trevor,
it is fine - I can use shell command.
But given the fact that both MAC OS X and WINDOWS XP are multi-user systems, I think Revolution should take into consideration this point and set an option on the "Build standalone" panel for multi-user application.
I think it would be a very useful feature for the next release of Revolution.


Your suggestions would be a good start, and I think they are consistent with standard procedures both for MAC OS X and for WINDOWS XP. I do not know for the other systems.

Windows XP/2000
* User specific preference files (4 in my list above)- C:/Documents and Settings/USERNAME/Application Data/MYAPP
specialFolderPath(26)
* Shared files writable by everyone (2 and 3)- C:/Documents and Settings/All Users/Application Data/MYAPP
specialFolderPath(35)


Mac OS X
* User specific preference files (4)- /Users/USERNAME/Library/Preferences/MYAPP
specialFolderPath("pref")
* Shared files writable by everyone (2 and 3)- /Users/Shared/MYAPP
specialFolderPath("sdat")


SET PERMISSIONS

get shell("chmod 666 " &quote& MY_FILE_PATH &quote)


Ciao Paolo Mazza




Venerd�, 4 Giu 2004, alle 19:47 Europe/Rome, Trevor DeVore ha scritto:

On Jun 4, 2004, at 11:31 AM, paolo wrote:

Referring to MAC OS X I think this is fine:

Mac OS X
* User specific preference files (4)- /Users/USERNAME/Library/Preferences/MYAPP
specialFolderPath("pref")
* Shared files writable by everyone (2 and 3)- /Users/Shared/MYAPP
specialFolderPath("sdat")




However, you have to set permission accordingly. As far as I know there is not a way to set permissions from Revolution when you create a file.... (right?) .. so you can have problems to read/write files created by an other user.

You can use the shell command to change the permissions. I think you would want to chmod 666 the file to make it read/writable by everyone.


--
Trevor DeVore
Blue Mango Multimedia
[EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution


_______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to