Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Users creating their own hotkey shortcuts

Status
Not open for further replies.

PvtPoop

Programmer
Nov 14, 2007
1
US
i am using the following code:

Dim wShell
Set WshShell = CreateObject("WScript.Shell")
dim userInput
userInput = InputBox("Enter a website for the hotkey CTRL+SHIFT+1.", "Hotkeys")

what code would i use after this so that it would set a system hotkey so that whenever the user presses CTRL+SHIFT+1 it would open:
" userInput
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top