on 04-25-2007 11:32 AM
Hello,
is there a possibility to read locale system properties like set-variables of a windows Client?
We want to read path-Info and user-info. Can I perhaps user javascript?
Best regards
Oliver Prodinger
Hi Oliver,
This code will work (assuming the client approves running of ActiveX)
<html>
<script>
var shell = new ActiveXObject("WScript.Shell");
var env = shell.Environment("process");
alert(env("COMPUTERNAME"));
alert(env("USERNAME"));
</script>
</html>
You can't really run it from WD, but what you can do is run this code from a portal component (DynPage/JspDynPage) that is running in the same page as your WD application and pass data by using portal eventing.
The portal component iview can have size of 1 pixel so it won't be seen...
Regards,
Omri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
11 | |
8 | |
8 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.