Jed, 
 

> I have to find a good way for tiddlywiki to determine if Bob is currently 
> running or not and have it use this saver if Bob is running and to fallback 
> to the manual download saver if not.
>

This is not a real solution, but maybe give you some more ideas:

You could create a startup action to see if the server exists (you will get 
a 200 status code) and if so, set up a state tiddler. The saver would 
initially see if this state tiddler exists and if not, it would return 
false, otherwise it would perform the backup.

Of course, this is bleeding from many wounds:

- If the server was not started when opening the wiki, it will not use this 
saver even if the server has started in the meantime.
- If the server was running when opening the wiki but has stopped in the 
meantime, the saver will still be active but unable to save. Since there is 
no fallback to the download saver, the user cannot save his changes.

Alternatively, you might want to check the server periodically and update 
its status in the state tiddler. 

-- 
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/696d6ad1-9bd7-436c-b34b-f8e962660897%40googlegroups.com.

Reply via email to