To comment on the following update, log in, then open the issue: http://www.openoffice.org/issues/show_bug.cgi?id=57252
------- Additional comments from [EMAIL PROTECTED] Sun Jan 8 11:21:14 -0800 2006 ------- Just a few comments after having looked at the recent changes from eric and mox: ->eric: - in the script you are asking why the footprint is generated *before* the conversion takes place. the idea was to find out if the user has permission to write into the application's font folder. because the footprint is generated in the same folder I first try to create the footprint. if this fails the font conversion will fail as well so I can omit it. - the most simlpe way to intoduce a global variable or better a constant like the user prefs directory is to provide a function that returns the folder name, so it is written only once in the code like: on getUserPrefsPath() set myHome to do shell script "echo $HOME" set oooPrefsPath to POSIX path of myHome & "/Library/Application Support/OpenOffice.org2" return oooPrefsPath end getUserPrefsPath - note: the user/fonts directory has to be generated if it does not exist (which is the normal situation)! and you also only have to bring up the question about user font conversion if the user has any private fonts installed. ->mox: - when I wrote parts of the script I was also playing with properties in order to have global variables. the problem is that applescript tries to save the values of those properties back to the script upon exiting. however, this is not possible if you do not have write access to the script and you will get an error. just try it with an ordinary user account or make the script read-only. - how is your localization working ? our idea was to use OOo's localization process which generates .ulf files that contain a section for each string and then for each language an entry like localeidentifier="string" the idea is to generate an applescript file from those files where the string table is put into a list of records. this list can then be accessed by a function. the resulting applescript file would then be installed together with main.scpt. to find out the current locale you can use the following query: set theSysInfo to system info set theLocale to user locale of theSysInfo you can then use 'theLocale' to index into the array --------------------------------------------------------------------- Please do not reply to this automatically generated notification from Issue Tracker. Please log onto the website and enter your comments. http://qa.openoffice.org/issue_handling/project_issues.html#notification --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]