Page 1 of 1 1
Topic Options
#156958 - 2006-02-08 11:00 PM Logon greeting
ledzepe Offline
Fresh Scripter

Registered: 2005-12-06
Posts: 26
I am new with Kix and am falling love with it. Can one make a logon greeting with Kix? Say for example, as soon as the user logs in, a "message window" opens up with the date and time, a good morning message and some other tidbits of interest within the company.
Top
#156959 - 2006-02-08 11:22 PM Re: Logon greeting
thepip3r Offline
Hey THIS is FUN
*****

Registered: 2005-03-02
Posts: 350
yes it's very easy led. All you have to do is point a user's logon script to be something generic like: company_name.bat

In the .bat file, run this:

Code:
kix32.exe filename.kix


...where kix32.exe is the name of the kix32 in the same directory as your batch file and the kix file (probably the NETLOGON direc. on one of your DCs).

In the kix file, it would be something as simple as:

Code:
? 'Welcome to Whatever domain'
? 'This company is 30 years old'
sleep 5



Comments to display to the screen are as easy as using a ? and then wrap your text string in quotes. you want the sleep command because if you don't, KiX will just flash up and then disappar because it will execute the script so fast. The sleep allows you wait 5 seconds for the user to read the message..

Edit: FYI if you're new to KiX, here is my first post:
http://www.kixtart.org/ubbthreads/showfl...true#Post134101
I'm linking it because NTDOC has a link to a great book I ordered which helped me get over a lot of the basics involving KiX. Just a thought.


Edited by thepip3r (2006-02-08 11:28 PM)

Top
#156960 - 2006-02-08 11:38 PM Re: Logon greeting
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
Quote:

as easy as using a ?




Just an FYI - The ? is for NEWLINE and is not required to have output to the screen.

Top
#156961 - 2006-02-18 05:25 PM Re: Logon greeting
pietman Offline
Lurker

Registered: 2006-02-18
Posts: 1
I was also searching for this and found my answer in here but I have a follow-up question, can you force the cmd window/script that loads when the user logs on to actually open ? Because right now the script does load but it stays in the taskbar. Is there any way to "force" it to open/be displayed when the user logs on ?
Top
#156962 - 2006-02-18 06:14 PM Re: Logon greeting
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
Yes, that topic is covered in the FAQ forum.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#156963 - 2006-02-21 06:53 PM Re: Logon greeting
ledzepe Offline
Fresh Scripter

Registered: 2005-12-06
Posts: 26
I was thinking of something like a window messenger type of screen and not a DOS screen. I want to update the messages weekly to remind my users of activities for the week,like cut-off, updates, etc. After reading the message, I want them to click on an OK button. I tried the messagebox command but the font is too small. Another way I tried is b adding entries on the registry of the client machine but it's not an efficient way of doing it.
Top
#156964 - 2006-02-21 08:38 PM Re: Logon greeting
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
You could write what you want to NOTEPAD or WORDPAD and have KiX launch one of those apps with the details. I would RUN it though and not SHELL it.
Let the user decide when to close it or not.

Top
#156965 - 2006-02-21 09:15 PM Re: Logon greeting
Les Offline
KiX Master
*****

Registered: 2001-06-11
Posts: 12734
Loc: fortfrances.on.ca
The only challenge would be that OK button.

Does the OK button have to be functional? How do you know if the user clicked it?

You could do it in HTML or KiXforms.
_________________________
Give a man a fish and he will be back for more. Slap him with a fish and he will go away forever.

Top
#156966 - 2006-02-22 02:18 PM Re: Logon greeting
ledzepe Offline
Fresh Scripter

Registered: 2005-12-06
Posts: 26
I tried the notepad for a week but some of my user are so clueless that it actually increased the helpdesk calls. I was going to try html but again what about my clueless users. I am looking at the kixforms right now. All I want to display is a simple message like "Today is Wednesday, Feb 22, 2006. 4 more days to cut-off.."
Top
#156967 - 2006-02-22 04:53 PM Re: Logon greeting
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11629
Loc: CA
About the only other options are KiXforms, HTML, or MessageBox which can hold quite a bit of text. It's not a DOS box either.
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
0 registered and 1376 anonymous users online.
Newest Members
batdk82, StuTheCoder, M_Moore, BeeEm, min_seow
17885 Registered Users

Generated in 0.034 seconds in which 0.015 seconds were spent on a total of 12 queries. Zlib compression enabled.

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