On May 11, 1:37 pm, MikeS <[email protected]> wrote:
> I'd like to change the value of the Autosave depending on whether I'm
> accessing my TW from local (file://) vs online (http://)?
>
> Is there a conditional statement I could use?

Create a tiddler (e.g., [[ConfigTweaks]]), tagged with 'systemConfig',
containing:

//{{{
config.options.chkAutosave=(document.location.protocol=='file:');
//}}}

Then, save-and-reload for the above code to be applied.

enjoy,
-e
Eric Shulman
TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to