Re: SpecialFolderPath in standalone

2004-12-24 Thread Mark Smith
Frank, that's useful advice. Will save me some head scratching until 
they fix it.

Mark Smith
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SpecialFolderPath in standalone

2004-12-23 Thread Richard Gaskin
Mark Smith wrote:
 I can't find anything related to this in the archives, so maybe some
 kind soul can help me out here.

 I want to write some prefs to a prefs file in the users library folder
 (this is OS X)
Try this and see what you get:
on savePrefs
 put file:  specialFolderPath(Preferences)  /MyPrefs into fName
 ANSWER THE RESULT -- see what the engine tells you
 put thePrefs into URL fName
end savePrefs
--
 Richard Gaskin
 Fourth World Media Corporation
 __
 Rev tools and more: http://www.fourthworld.com/rev
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SpecialFolderPath in standalone

2004-12-23 Thread Mark Brownell
On Thursday, December 23, 2004, at 12:00 PM, Mark Smith wrote:
on savePrefs
put file:  specialFolderPath(Preferences)  /MyPrefs into fName
put thePrefs into URL fName
end savePrefs   
This works fine in theIDE, but not at all in the standalone. The file 
is simply not updated.

Any ideas?
Thanks
Mark Smith
  if the platform is MacOS then
put specialFolderPath(preferences) into regStatGoPath
put regStatGoPath  /text.txt into stashAdX
  end if
  if there is a file stashAdX then
answer Yes, there is a file
put URL (binfile:  stashAdX) into temp
put compress(temp) into hipR
put base64Encode(hipR) into URL (binfile:  stashAdX)
end if
or:
 put URL (file:  stashAdX) into temp
 put temp into URL (file:  stashAdX)
HTH,
Mark
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SpecialFolderPath in standalone

2004-12-23 Thread Mark Smith
Thanks Richard and Mark.
Further investigation following your suggestions shows that the problem 
is not what I thought. In fact the special folder path stuff works 
fine, it's the XML stuff that builds the prefs that's screwing up. 
Since it works fine in the IDE , and I'm including the XML library in 
the standalone build, I'm still mystified...

Further investigations
Thanks,
Mark Smith
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SpecialFolderPath in standalone

2004-12-23 Thread Mark Smith
Following on, I remembered seeing something on the list about Rev 2.5 
not building correctly, so I built the standalone with Rev 2.2.

Hey presto! All works.
This seems to suggest that 2.5 is not attaching libraries properly, (or 
at all). Has this been bugzilla'd?

Thanks for the suggestions,
Mark Smith
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution


Re: SpecialFolderPath in standalone

2004-12-23 Thread Frank D. Engel, Jr.
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
You can manually copy the external into the 'externals' dir in the same 
loc as the standalone (windows/UNIX) or in the Contents/MacOS folder 
inside the bundle for OS X.

On Dec 23, 2004, at 4:51 PM, Mark Smith wrote:
Following on, I remembered seeing something on the list about Rev 2.5 
not building correctly, so I built the standalone with Rev 2.2.

Hey presto! All works.
This seems to suggest that 2.5 is not attaching libraries properly, 
(or at all). Has this been bugzilla'd?

Thanks for the suggestions,
Mark Smith
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution

- ---
Frank D. Engel, Jr.  [EMAIL PROTECTED]
$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep John 3:16
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFBy1Dz7aqtWrR9cZoRAnXYAKCNezaVL5lMaYYCHPe+KpOpZD6xBgCghhjs
J0lCkWkp+ZzyO8jgxWOqQ74=
=ZMdZ
-END PGP SIGNATURE-

___
$0 Web Hosting with up to 120MB web space, 1000 MB Transfer
10 Personalized POP and Web E-mail Accounts, and much more.
Signup at www.doteasy.com
___
use-revolution mailing list
use-revolution@lists.runrev.com
http://lists.runrev.com/mailman/listinfo/use-revolution