|
|
|||||||
Hi every body, I would like to create a script witches purpose those options: When the user logon, I would like that a windows appears and purpose to the user: Are you inside the network ? yes/no Are you a JPY user ? yes/no In fonction of the choice some actions like Keyboard configuration and network settings will be changed. My question is first is it possible to do this with kixtart? I have no idea from where to begin If somebody can give me help thank you serr57 |
||||||||
|
|
|||||||
I think you can obtain that information without querying the user. You can get the ip address with some macros and compare that with known values for your network. You can get the user id with another macro and query your AD for membership. I think you should rely on input from your users as little as possible. |
||||||||
|
|
|||||||
Thanks for your answer. I uderstand your point of view, but it is a mandatory request from my management. So I have to create a script witch looks like my first post. Could you help me ? |
||||||||
|
|
|||||||
The simplest way is to use MessageBox(): Code: If 6=MessageBox("Are you inside the network?","Inside Network Check",4096+32+4) "User is inside"+@CRLF Else "User is outside"+@CRLF EndIf If 6=MessageBox("Are you a JPY user?","JPY Check",4096+32+4) "User is JPY"+@CRLF Else "User is not JPY"+@CRLF EndIf |