Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 



cmc

Member
  • Content count

    1
  • Donations

    $0.00 
  • Joined

  • Last visited

Community Reputation

0 Neutral

About cmc

  1. Quick Launch vbs Toggler

    Follow-up to the post from Hoppel, just noticed an item that might warrant a second look. In the example script a plus sign was used to enable the "Show Quick Launch". After some quick testing and research from Microsoft's MSDN site, I noticed that the keys to send to enable the option would actually be "+=", not "+". The resultant code from xOrcist's example would look something like this: set WshShell = WScript.CreateObject("WScript.Shell") WshShell.SendKeys("^{ESC}") WScript.Sleep 100 WshShell.SendKeys("{TAB}") WScript.Sleep 100 WshShell.SendKeys("%~") WScript.Sleep 100 WshShell.SendKeys("{TAB}{TAB}{TAB}{TAB}") WshShell.SendKeys("+=") ' or WshShell.SendKeys("-") WshShell.SendKeys("{TAB}{TAB}{TAB}") WshShell.SendKeys("~") It does work with the right keys, including the minus sign to disable, even if the sleep time is lowered to 5 milliseconds. A possibly neater solution might be that posted by certit in another thread "Show Quick Launch": -cmc
×