Just a quick video showing a macro example for FL Studio using AutoHotKey Dash.
What it does:
When I hold Windows+c, FL will change to the cut tool, wait 0.1sec then press Shift. It will hold this until I let go, once I've released the combo, it will select 'p' to go back to the Pen tool.
Script to make this work, download the AutoHotKey app and paste script in Notepad (that's what I did) - The macro I use is 'Windows+c' This is also the shortcut for coPilot. I have that removed so this key combo works when in FL Studio
*#c::
{
Send "{c down}" ; Press and hold 'c'
Sleep 100 ; Wait 100ms
Send "{Shift down}" ; Press and hold Shift
KeyWait "c" ; Wait for 'c' to be released (Windows key is included in the hotkey)
Send "{Shift up}" ; Release Shift
Send "{c up}" ; Release 'c'
Send "p" ; Press 'p'
return
}