Jump to content

cmc

Member
  • Posts

    1
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    United States

Everything posted by cmc

  1. 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
×
×
  • Create New...