Hi Dominic,
     I have a similar situation and not sure if it will help, but at my job we 
have Windows 7 and we're using Internet Explorer 9. I have not upgraded my 
Tiddlywiki 2.8something to TW5 yet but I plan to. Here's how I'm setting 
username automatically in TWC but I need to figure out how to do the same in 
TW5:

Create a tiddler (e.g.) "z_configOptions"
var ax = new ActiveXObject("WScript.Network");
merge(config.options,{
     txtUserName: ax.UserName});
var sys = new ActiveXObject("ADSysteminfo");
var username = sys.UserName;
var CN = username.split(" ");
config.options.txtSurName = CN[1];
config.options.txtSurID = CN[3].substring(0,7);
Tagged with systemConfig.
Again, this is what I'm using in TWC. In TW5 maybe the same might be able to be 
done by defining a macro. I still have to learn about global variables in TW5. 
Any help anyone?

Sent from my Sprint tablet






















-------- Original message --------
From: Dominic Duval <[email protected]> 
Date: 07/31/2014  9:02 AM  (GMT-07:00) 
To: [email protected] 
Subject: [tw] [TW5] Autmatic username prompt ? 

Hi ! Total Newbie here. Is there a way to have a username prompt popup upon the 
opening of a Tiddly Wiki file in TiddlyWiki5. I am using TiddlyDesktop on a 
networked shared file with 5 or 6 users. What I would like is to force users 
that acces the file to change the user name to make sure the edits are 
correctly attributed to contributors.

Thanks !
-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

-- 
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 post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/tiddlywiki.
For more options, visit https://groups.google.com/d/optout.

Reply via email to