Jump to content

Writing Registry question.


 Share

Recommended Posts

HotKeySet('#w', '_Registry') 

While 1 
Sleep(1000) 
WEnd 

Func _Registry()
    Run(@WindowsDir & '\regedit.exe') 
EndFunc

Is that what you wanted? -If it is look at "Send" in the helpfile so you can configure the hotkey however you want, now it runs regedit on the Windows key + w

Same thing except now it runs it on Ctrl + Alt + Insert

HotKeySet('^!{INSERT}', '_Registry') 

While 1 
    Sleep(1000) 
WEnd 

Func _Registry()
    Run(@WindowsDir & '\regedit.exe') 
EndFunc
Edited by Piano_Man
My Programs[list][*]Knight Media Player[*]Multiple Desktops[*]Daily Comics[*]Journal[/list]
Link to comment
Share on other sites

Thanks for replying, but that's not what I want. My question is more about Windows itself...

I wanna know if I can run my compiled script by pressing a key combination in Windows (like, when you press ctrl+alt+del it runs taskmgr.exe)

Link to comment
Share on other sites

Hahaha, never mind, I figured it out :)

All I had to do was create a shortcut to the program, clik properties and press the key combination that I want :P

Thanks for reading and replying :)

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...