#59934 - 2001-10-18 09:27 PM
Quick Launch Bar
|
rbursey
Fresh Scripter
Registered: 2001-06-28
Posts: 30
Loc: Grand Falls-Windsor, NF CANADA
|
Hi All,I'm trying to write a script that addes items to the user's Quick Launch bar in Win2K Pro. I can't seem to find the registry key for this. I can find the key for the user's desktop but not where the Quick Launch path is stored. Anyone know what key I should use? Thanks, -Rick.
_________________________
Regards,
-Rick.
|
|
Top
|
|
|
|
#59937 - 2001-10-19 03:34 PM
Re: Quick Launch Bar
|
rbursey
Fresh Scripter
Registered: 2001-06-28
Posts: 30
Loc: Grand Falls-Windsor, NF CANADA
|
Thanks Les,Thanks for the reply. I knew I could find it that way actually but I fugured that this information must be in the registry somewhere. I was able to get the location simular to your suggestion. I did the following:
code:
$AppData = Readvalue('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders','AppData') $ShellQuick = "$AppData\Microsoft\Internet Explorer\Quick Launch\"
I'm not sure if this will find the Quick launch bar under Win9x or not because I have yet to test it. -Rick.
_________________________
Regards,
-Rick.
|
|
Top
|
|
|
|
#59940 - 2001-10-19 08:49 PM
Re: Quick Launch Bar
|
rbursey
Fresh Scripter
Registered: 2001-06-28
Posts: 30
Loc: Grand Falls-Windsor, NF CANADA
|
Thanks Guys for the info.I'm using the following code snibit:
code:
$ShellDesk = Readvalue('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders','Desktop') $AppData = Readvalue('HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\Shell Folders','AppData') $ShellQuick = "$AppData\Microsoft\Internet Explorer\Quick Launch\"; Lotus Notes IF EXIST("C:\Notes\notes.exe") = 1 $TargetFilespec="C:\notes\notes.exe" ; Add the Icon to the Desktop $cmdline = '"$MakeScutPath" /n "$ShellDesk\Lotus Notes" /t "$TargetFilespec" /s "I:\notes\data" /o /r max /k CTRL+ALT+L ' Shell $cmdline ; Add the Icon to the Quick Launch Bar $cmdline = '"$MakeScutPath" /n "$ShellQuick\Lotus Notes" /t "$TargetFilespec" /s "I:\notes\data" /o /r max ' Shell $cmdline ELSE ENDIF
It works under Win9x and Win2K no problem. I have a few users who think that an application is NOT installed if the shortcut is not on their desktop!! BTW: I'm using the MakeScut Utility from ScriptLogic to create/edit the ShortCuts. Great little util. I was creating each shortcut manually and then coping from a network share to each user's PC when they logged on. This way is much cleaner and I don't have to worry about what version of Windows the user is running.
_________________________
Regards,
-Rick.
|
|
Top
|
|
|
|
#59941 - 2001-10-23 12:49 AM
Re: Quick Launch Bar
|
Anonymous
Anonymous
Unregistered
|
I found the Quick Launch bar in the following registry key:HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\GrpConv\MapGroups under the key "Quick Launch". Note: I am using Windows XP, so mileage may vary.
|
|
Top
|
|
|
|
Moderator: Glenn Barnas, NTDOC, Arend_, Jochen, Radimus, Allen, ShaneEP, Ruud van Velsen, Mart
|
0 registered
and 633 anonymous users online.
|
|
|