Jump to content
mike2003

How to send global hotkey?

Recommended Posts

mike2003
Posted (edited)

I registered a global hotkey in the OBS. It works everywhere and in all programs.

kZQxR4I.jpg
Now I want to press it through the script, but I can not do anything.

PJqzZbv.jpg

I tried WinActivate but nothing sent a global hotkey.

Edited by mike2003

Share this post


Link to post
Share on other sites
xcaliber13

To Send the # and F11

Send("{#}{F11}")
;But it looks like you are trying to send the Windows key and F11
Send("{LWIN}{F11}")

Share this post


Link to post
Share on other sites
mike2003

The problem was speed. I decided to change it.
Opt("SendKeyDownDelay", 100)

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

×