Search found 4 matches

by rr701
Mon Dec 19, 2022 4:19 pm
Forum: Mac OSX
Topic: Capture double-tap of CTRL key?
Replies: 5
Views: 1876

Re: Capture double-tap of CTRL key?

I implemented it in python -- this binds the double tap of the right command key in MacOS .

Any suggestions on how this can either be called from PureBasic, or, better yet, achieved in PureBasic ?

Thank you all so much!




import keyboard
import time
import subprocess

lastime=0.0
pressed_once ...
by rr701
Tue Dec 06, 2022 8:59 pm
Forum: Mac OSX
Topic: Capture double-tap of CTRL key?
Replies: 5
Views: 1876

Re: Capture double-tap of CTRL key?

Thank you all!

Ivan, what do you think? Would it be possible to capture the CMD double tap with the proposed COCOA function?

Thank you all!!
by rr701
Fri Nov 04, 2022 11:25 pm
Forum: Mac OSX
Topic: Capture double-tap of CTRL key?
Replies: 5
Views: 1876

Re: Capture double-tap of CTRL key?

Thank you!!! I'll check it out next week. Also, definitely not a bot :+)

Thanks again!!
by rr701
Fri Nov 04, 2022 3:37 pm
Forum: Mac OSX
Topic: Capture double-tap of CTRL key?
Replies: 5
Views: 1876

Capture double-tap of CTRL key?

This is an amazing forum!

I'm new to PB and I'm trying to do something that used to require 1 line of code in python - how would I capture the double-tap of a special key, such as CTRL or CMD or SHIFT?

I saw this feature https://superuser.com/questions/698261/open-iterm2-with-ctrlctrl/1749562 ...