Page 1 of 1 1
Topic Options
#42041 - 2003-06-25 08:56 AM quik lounch
Anonymous
Unregistered


Hello,

Can anybody help me create shortcuts in the quik launch bar and remove some.
I have the makescut programe.

Regards,
Polymed.

Oscar

Top
#42042 - 2003-06-25 10:33 AM Re: quik lounch
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Oscar,

Please take a look at this post

http://kixtart.org/board/Forum3/HTML/000119.html

and THIS ONE where I helped you before.

http://kixtart.org/cgi-bin/ultimatebb.cgi?ubb=get_topic&f=1&t=002872

Top
#42043 - 2003-06-25 02:44 PM Re: quik lounch
Sealeopard Offline
KiX Master
*****

Registered: 2001-04-25
Posts: 11164
Loc: Boston, MA, USA
You also might want to take a look at the FAQ Forum, e.g. Cannot find what you are looking for?
_________________________
There are two types of vessels, submarines and targets.

Top
#42044 - 2003-07-03 10:21 AM Re: quik lounch
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Oscar,

It is very possible that your Windows 95 and NT 4 Desktops might not have a Quick Launch toolbar
The Quick Launch Toolbar is an active desktop feature, which you get from Internet Explorer (starting at IE 4.x).

I have not tried to create any code to check for the existance of Quick Launch or code for Windows 9x/NT
This code should work fine for 2000/XP though. I don't have a Windows 98 or ME at home here to test with.

How to Add or Remove Windows Desktop Update
Microsoft Knowledge Base Article - 165695
http://support.microsoft.com/default.aspx?scid=kb;en-us;165695

Your original code:
code:
$ShellDesk=Readvalue('C:\DOCUMENTS AND SETTINGS\%USERNAME%\application data\microsoft\internet explorer','quick launch')
$OSclass='@inwin'
if $OSclass='1' ; NT
$TargetPath='c:\program files\Microsoft office\office10'
else ; 9X
$TargetPath='%windir%'
endif
$TargetFilespec=$TargetPath+'\winword.exe'
$cmdline='$MakeScut /n "$ShellDesk\Word" /t "$TargetFilespec"'
Shell $cmdline

You can not use READVALUE to read the directory structure. It is used for reading the REGISTRY
$ShellDesk=Readvalue('C:\DOCUMENTS AND SETTINGS\%USERNAME%\application data\microsoft\internet explorer','quick launch')
Try something more like this

The variable $MakeScut assumes you have copied the file locally to the workstations %windir% folder.
You could probably run it from a SHARED folder on a server though.


break on
$MakeScut='%windir%\MakeScut.exe'
$ShellDesk="%APPDATA%\Microsoft\Internet Explorer\Quick Launch"
$TargetPath=Readvalue('HKLM\SOFTWARE\Microsoft\Office\10.0\Word\InstallRoot', 'Path')
$TargetFilespec=$TargetPath+'winword.exe'
$cmdline='$MakeScut /n "$ShellDesk\Word" /t "$TargetFilespec"'
Shell $cmdline
? 'Shortcut installation results: '+@error +' '+@serror

Top
#42045 - 2003-07-03 10:22 AM Re: quik lounch
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
To delete a shortcut, you need to know its name and then simply use the DEL command on that file using the FULL path and name using the correct quotes
Top
#42046 - 2003-07-07 09:06 AM Re: quik lounch
NTDOC Administrator Offline
Administrator
*****

Registered: 2000-07-28
Posts: 11623
Loc: CA
Oscar, did this work for you? Do you still need further assistance?

Please post an update when you get a chance.

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.05 seconds in which 0.024 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