on setPref prefName,prefData
put prefData into preferencesData[prefName]
put the keys of preferencesData into theKeys
repeat with x=1 to the number of lines in theKeys
put line x of theKeys & "=" & preferencesData[(line x of theKeys)] &cr after newData
end repeat
put newData into url ("file:Preferences.dat")
end setPref


Hi Derek,

There doesn't look to be anything wrong with this script, but there are 2 things you could check:
1. check what newData contains before writing it - maybe it really is empty for some reason and it isn't the put URL at fault.
2. check the defaultFolder - maybe your Preferences.dat file is being written in different places at different times.


HTH,
Sarah

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

Reply via email to