Page 1 of 1 1
Topic Options
#199859 - 2010-09-14 03:24 PM Add weblink shortcut to desktop
steelman2010 Offline
Just in Town

Registered: 2010-09-14
Posts: 2
Loc: canada
I want to add a basic shortcut (web address) to all my users desktops.


Let's say I want to add the following link/shortcut to my users desktop: http://www.microsoft.com

how would i go about this?

thank you in advance!!

Top
#199860 - 2010-09-14 03:29 PM Re: Add weblink shortcut to desktop [Re: steelman2010]
Allen Administrator Online   shocked
KiX Supporter
*****

Registered: 2003-04-19
Posts: 4567
Loc: USA
See the first example in the header of wshshortcut()

wshShortcut() - Create File and Web Shortcuts
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=84115#Post84115

The rest of the UDFs are here -
http://www.kixtart.org/forums/ubbthreads.php?ubb=postlist&Board=7&page=1

How to use UDFs -
http://www.kixtart.org/forums/ubbthreads.php?ubb=showflat&Number=81943#Post81943

Top
#199861 - 2010-09-14 03:43 PM Re: Add weblink shortcut to desktop [Re: Allen]
steelman2010 Offline
Just in Town

Registered: 2010-09-14
Posts: 2
Loc: canada
yikes! this is well over my head. i am very VERY new to kix scripting...
Top
#199866 - 2010-09-14 06:40 PM Re: Add weblink shortcut to desktop [Re: steelman2010]
Glenn Barnas Administrator Offline
KiX Supporter
*****

Registered: 2003-01-28
Posts: 4402
Loc: New Jersey
Not so hard..

Search for the UDF that Allen referenced. Copy and paste the text into the END of your script file (technically, can go anywhere, but putting it at the end makes editing your script easier. DO NOT modify the UDF.

The UDF header describes how to use it, just like the Kix manual.

In your script, just reference the UDF command like it was any other kix command. For example
 Code:
$=wshShortcut("KiXtart Web Page","http://www.kixtart.org") 
puts a web shortcut on the desktop, while
 Code:
$=wshShortcut("%ALLUSERSPROFILE%\Start Menu\KiXtart Web Page","http://www.kixtart.org") 
puts it on the start menu.

Glenn
_________________________
Actually I am a Rocket Scientist! \:D

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 (Allen) and 781 anonymous users online.
Newest Members
Sir_Barrington, batdk82, StuTheCoder, M_Moore, BeeEm
17886 Registered Users

Generated in 0.031 seconds in which 0.011 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