Page 1 of 1 1
Topic Options
#16141 - 2002-01-14 03:42 PM Menu
Ross Martin Offline
Fresh Scripter

Registered: 2002-01-11
Posts: 9
I want to know the best way to make a menu, so that when a user logs in they are presented with some choices. Once a choice has been selected, i would like a folder to be created on their desktop, this folder will contain shortcuts to applications. I haven't got a clue where to start!!!!!
Top
#16142 - 2002-01-14 04:39 PM Re: Menu
Ghost Offline
Starting to like KiXtart

Registered: 2000-09-14
Posts: 171
Starting with the case statement in the manual would be a good idea.

Snipet from manual

code:

SELECT
CASE InGroup("Domain Admins") AND @DAY = 1
? "Whatever…"
CASE InGroup("Office Users")
? "Etc…"
? "Etc…"
CASE 1
; this is a nice way to provide a default CASE
; if all other CASEs fail, this one will always be run


? "Hmm, you're not in one of our groups?"
ENDSELECT


If you ask the user to select an option using something like KixForms, or just a text based menu system.

Once the option has been selected the desired code could be run and the folder/contents could be copied across.

Hope this helps.

[ 14 January 2002: Message edited by: Ghost ]

_________________________
Who are you? Who slips into my robot body and whispers to my ghost?

Top
#16143 - 2002-01-14 04:42 PM Re: Menu
Shawn Administrator Offline
Administrator
*****

Registered: 1999-08-13
Posts: 8611
IF your running KiXtart 4.0, might want to check-out the PopupMenu() UDF in the UDF Forum ... here it is ...

PopupMenu() - Windows-like PopUp Menu for DOS Console

-Shawn

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 1336 anonymous users online.
Newest Members
Viginette, ManuvdWielNL, Sir_Barrington, batdk82, StuTheCoder
17888 Registered Users

Generated in 0.027 seconds in which 0.012 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