Re: Problem with reading Preferences file

2011-11-13 Thread Charles Szasz
Mark and Klaus, Yes, you are right. put url ("binfile:" & specialFolderPath("preferences") & "/" & "mileage_prefs") does work! I will try the following Windows code again and see if it will work. The last time it did not work. IF the platform is "win32" then if there is a file (spec

Re: Problem with reading Preferences file

2011-11-13 Thread Klaus on-rev
Hi Charles, Am 13.11.2011 um 19:57 schrieb Charles Szasz: > Klaus, > > I left out this bit code: (put arrayDecode(tPrefs)into tPrefs) AHA! :-D > So, my code looks like this: > IF the platform is "MacOS" then > if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then OK, t

Re: Problem with reading Preferences file

2011-11-13 Thread Mark Schonewille
Hi Charles, This doesn't solve the problem on Windows, but try specialfolderpath("preferences") instead of specialfolderpath(26) In Mac OS X. -- Best regards, Mark Schonewille Economy-x-Talk Consulting and Software Engineering Homepage: http://economy-x-talk.com Twitter: http://twitter.com/xta

Re: Problem with reading Preferences file

2011-11-13 Thread Charles Szasz
Klaus, I left out this bit code: (put arrayDecode(tPrefs)into tPrefs) So, my code looks like this: IF the platform is "MacOS" then if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then put url ("binfile:" & specialFolderPath("preferences") & "/" & "mileage_pref

Re: Problem with reading Preferences file

2011-11-13 Thread Klaus on-rev
Hi Charles, Am 13.11.2011 um 19:14 schrieb Charles Szasz: > I am able to set up Preferences for my app. But the following script in the > preOpenStack will NOT retrieve the data Preferences. Here is my script: > > IF the platform is "MacOS" then > if there is a file (specialFolderPath(26

Problem with reading Preferences file

2011-11-13 Thread Charles Szasz
I am able to set up Preferences for my app. But the following script in the preOpenStack will NOT retrieve the data Preferences. Here is my script: IF the platform is "MacOS" then if there is a file (specialFolderPath(26) & "/" & "mileage_prefs") then put url ("binfile:" & specia