Jump to content
Sign in to follow this  

Scroll lock as Hotkey? Is it posible?

Recommended Posts


Hi. I searched trough help files, and I found that only way for Scroll Lock key to become hotkey is trough _IsPressed command. But is there another way, couse I have issues with this command (doesn't work allways, sometimes it does, and sometimes it doesn't).

And my other question is: is it posible to lock keyboard trought script for some time, for example, I made

func test()
Send("This is test text, if something wen't wrong this text will not display")

so, when i start "test" func. it will start writing this txt, but while' it's writing it if I press any key from keyboard, the key will be included inside of that test text, so my solution is to lock keyboard untill the auto-text is finished, but I don't know how to lock it. So, is it posible?

Share this post

Link to post
Share on other sites

ScrollLock doesn't work as hotkey ? Hmm, I think you misunderstood what's said then.

HotKeySet("{scrolllock}", "hvafaen")

While 1

Func hvafaen()
    MsgBox(64, "", "?")

Share this post

Link to post
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
Sign in to follow this