MSFN Forum: Modify an Auto-Hide Taskbar script to also Enable the Quick Launch - MSFN Forum

Jump to content


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

Modify an Auto-Hide Taskbar script to also Enable the Quick Launch Rate Topic: -----

#1 User is offline   Outbreaker 

  • Member
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 08-August 07
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 16 June 2012 - 04:11 PM

HI

I found a VBScript to enable the Auto-Hide Taskbar for Windows XP but i can't find out how to modify this script so it will also enable the Quick Launch. :(

Option Explicit
Const HKCU = &H80000001
 
Dim objReg
Set objReg = GetObject("winmgmts:{impersonationLevel=impersonate}root\default:StdRegProv")
Dim objWMI
Set objWMI = GetObject("winmgmts:{impersonationLevel=impersonate}root\cimv2") 
 
' Adjust the first bit of the taskbar settings
Dim arrVal()
objReg.GetBinaryValue HKCU, "Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2", "Settings", arrVal
arrVal(8) = (arrVal(8) AND &h07) OR &h01
objReg.SetBinaryValue HKCU, "Software\Microsoft\Windows\CurrentVersion\Explorer\StuckRects2", "Settings", arrVal

' Restart Explorer for the settings to take effect.
Dim objProcess, colProcesses
Set colProcesses = objWMI.ExecQuery("Select * from Win32_Process Where Name='explorer.exe'")
For Each objProcess In colProcesses
	objProcess.Terminate()
Next

This post has been edited by Outbreaker: 16 June 2012 - 04:23 PM



#2 User is offline   gunsmokingman 

  • MSFN Master
  • Group: Super Moderator
  • Posts: 2,352
  • Joined: 02-August 03
  • OS:none specified
  • Country: Country Flag

Posted 17 June 2012 - 01:00 PM

This Thread might help.

#3 User is offline   Geej 

  • Senior Member
  • PipPipPipPip
  • Group: Members
  • Posts: 634
  • Joined: 01-January 08
  • OS:XP Pro x86
  • Country: Country Flag

Posted 17 June 2012 - 10:50 PM

I remember there is this tool toogleQL.exe which can run from the command line.
But it is hard to find this file,even googling it. I found it here (see the link toggleQL.exe in a zip file )

#4 User is offline   Outbreaker 

  • Member
  • PipPip
  • Group: Members
  • Posts: 281
  • Joined: 08-August 07
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 June 2012 - 12:11 AM

Thanks, this tool was helpful. :)

This post has been edited by Outbreaker: 18 June 2012 - 12:12 AM


#5 User is offline   xpclient 

  • XP was my idea. I had to fight Windows 7 to make it my idea
  • PipPip
  • Group: Members
  • Posts: 233
  • Joined: 30-July 05
  • OS:XP Pro x64
  • Country: Country Flag

Posted 18 June 2012 - 12:54 AM

ToggleQL works only for XP. I know Vista added an official way to toggle taskbar bands according to http://blogs.msdn.co...02/9388941.aspx but Raymond Chen himself doesn't know if it works for Quick Launch or not. Anyone have a script or EXE (that doesn't use SendKeys) to toggle QL on Vista/7/8?

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy