Skip to content

How do You right click? #160

Closed Answered by spyoungtech
Wolvesman asked this question in Q&A
Discussion options

You must be logged in to vote

I see. Yeah, I don't think key_up and key_down work with {F10} like that because of how these work... The resulting script would be

SendInput {{F10} up}

Which would not be correct.

I think you want to do is ahk.key_down('F10')

The resulting script looks like this:

SendInput {F10 up}

Which is what you want, and should work as expected

How do You right click?

ahk.right_click()

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by spyoungtech

This comment has been hidden.

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
question Further information is requested
2 participants
Converted from issue

This discussion was converted from issue #112 on June 23, 2022 00:42.