Jump to content
Corsair Community

Open Default Mail Program - K95


Recommended Posts

I am trying to get my shiny new K95 to launch outlook at G2. I can do it via starting a program fine, it's just that using that method, every time I hit the button it starts a new instance of outlook instead opening the already started instance. I have had multiple other brands that can handle this, can the K95 be made to somehow? I tried searching the forum and Google for ideas but I'm stumped. TIA for any ideas.
Link to comment
Share on other sites

I found on a forum that the K95 can run VBS scripts so I just tweaked an existing script I had to launch a BAT file to start outlook with the /recycle switch which works great. Little hokey, but it works. Sad Corsair hasn't spend some time with the software. Hopefully the RGB series will get some upgrades to the programming side of things. Can't wait for the new shiny RGB!

 

VBS script (set Gkey to Launch this VBS script, edit path to BAT file as needed)

Set WshShell = WScript.CreateObject("WScript.Shell") 
obj = WshShell.Run("D:\Josh\Downloads\Drivers\Keyboards\Corsair\OpenOutlookRecyle.BAT", 0) 
set WshShell = Nothing 

 

OpenOutlookRecyle.BAT file contents

"C:\Program Files\Microsoft Office\Office14\OUTLOOK.EXE" /recycle

Edited by >>Nighthawk<<
Link to comment
Share on other sites

  • 2 years later...
 Share

×
×
  • Create New...