Macro for double space


I’m new to coding macros. Would it be possible to make the spacebar behave like the one on your mobile phone, so doubletapping space would result in a dot, followed by a space, followed by the shift key being held until you have typed the first character of the next sentence?

Thanks in advance!

This should do the trick:

ifNotGesture #key final holdKey space
tapKey .
tapKey space
oneShot holdKey iLS

Tnx a lot, I will give it a try!