Page 1 of 1 1
Topic Options
#121418 - 2004-06-17 12:09 PM Placing an Icon on the desktop
SteveM Offline
Lurker

Registered: 2004-06-17
Posts: 2
Hi All,

Fairly new to this Kixtart business. We have a script running which does exactly what we want, but I would like to add an url onto each person's desktop which takes the person to the Helpdesk self help system.

Does anyone know how I can achieve this ?

TIA

Steve

Top
#121419 - 2004-06-17 12:29 PM Re: Placing an Icon on the desktop
Lonkero Administrator Offline
KiX Master Guru
*****

Registered: 2001-06-05
Posts: 22346
Loc: OK
well, there are ready scripts in UDF library.
the best suiter might be:
http://www.kixtart.org/ubbthreads/showflat.php?Cat=&Number=83722&page=32&view=collapsed&sb=3&o=all&fpart=1
_________________________
!

download KiXnet

Top
#121420 - 2004-06-22 09:16 PM Re: Placing an Icon on the desktop
Trox Offline
Fresh Scripter

Registered: 2002-09-17
Posts: 34
Loc: St. Petersburg, FL
Everyones gotta start somewhere dude

This will place a file on the Desktop of the current users (@USERID) desktop. Hope this helps....
Code:
 If InGroup("YourGroupName")
? "Placing Icon on your Desktop ....."
Copy "\\servername\foldername\icon.txt" "C:\Documents and Settings\@USERID\Desktop"

_________________________
Thanks ~ Trox John Wayne's not dead - he's frozen. And as soon as we find the cure for cancer we're gonna thaw out the duke and he's gonna be pretty pissed off! ~Dennis Leary~

Top
#121421 - 2004-06-22 09:32 PM Re: Placing an Icon on the desktop
Chris S. Offline
MM club member
*****

Registered: 2002-03-18
Posts: 2368
Loc: Earth
This...
Code:

Copy "\\servername\foldername\icon.txt" "C:\Documents and Settings\@USERID\Desktop"


Assumes that the profile name is @USERID, which it is possible that it is not. Could be "username.domain" instead, for example.

Better would be...

Code:

If Exist("%USERPROFILE%")
Copy "\\servername\foldername\some.url" "%USERPROFILE%\Desktop"
EndIf


Top
#121422 - 2004-06-23 12:54 AM Re: Placing an Icon on the desktop
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11634
Loc: Space
Better would be Registry read
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
1 registered (Henriques) and 2516 anonymous users online.
Newest Members
fgarcia, Viginette, ManuvdWielNL, Sir_Barrington, batdk82
17889 Registered Users

Generated in 0.055 seconds in which 0.028 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