Page 1 of 1 1
Topic Options
#196705 - 2009-11-16 11:30 AM windows popup with options to check
serr57 Offline
Fresh Scripter

Registered: 2008-11-10
Posts: 18
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

Top
#196707 - 2009-11-16 12:47 PM Re: windows popup with options to check [Re: serr57]
BradV Offline
Seasoned Scripter
****

Registered: 2006-08-16
Posts: 686
Loc: Maryland, USA
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. \:\)
Top
#196709 - 2009-11-16 01:30 PM Re: windows popup with options to check [Re: BradV]
serr57 Offline
Fresh Scripter

Registered: 2008-11-10
Posts: 18
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 ?

Top
#196711 - 2009-11-16 02:46 PM Re: windows popup with options to check [Re: serr57]
Richard H. Administrator Offline
Administrator
*****

Registered: 2000-01-24
Posts: 4946
Loc: Leatherhead, Surrey, UK
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

Top
Page 1 of 1 1


Moderator:  Jochen, Allen, Radimus, Glenn Barnas, ShaneEP, Ruud van Velsen, Arend_, Mart 
Hop to:
Shout Box

Who's Online
2 registered (morganw, mole) and 414 anonymous users online.
Newest Members
gespanntleuchten, DaveatAdvanced, Paulo_Alves, UsTaaa, xxJJxx
17864 Registered Users

Generated in 0.052 seconds in which 0.022 seconds were spent on a total of 13 queries. Zlib compression enabled.

Search the board with:
superb Board Search
or try with google:
Google
Web kixtart.org