Here are the AutoHotKey scripts for the above.
This one activates a 2d Sketch, Projects to Sketch a face as a reference figure with Association Maintained and then closes the dialog, select a face before using it. Can be changed to project a sketch figure instead.
The Sleep lines are just to slow it down to see what's happening, remove all the Sleep lines and it will run instantly.
+a:: ;set hotkey to Shift A. This can be set to a key combination of your choice, Shift is +, Ctrl is ^, Alt is !
Send, {1} ;Project to Sketch, my keyboard shortcut for PTS in Alibre is 1
Sleep, 1000 ;this pauses for 1 second to see what is happening, remove all Sleep commands to run at full speed
Send, {Tab} ;tab to output options
Sleep, 1000
Send, {Down} ;change setting from sketch figure to reference figure, remove this line to project a sketch figure
Sleep, 1000
Send, {Tab} ;tab to Maintain Association
Sleep, 1000
Send, {Space} ;change setting to Maintain Association
Sleep, 1000
Send, {Enter} ;apply changes and close dialog
return
This one will do a Through All Extrude Cut, select a closed sketch figure before using it.
+z:: ;set hotkey to Shift Z. This can be set to a key combination of your choice, Shift is +, Ctrl is ^, Alt is !
Send, {h} ;Extrude Cut, my keyboard shortcut in Alibre is H
Sleep, 1000 ;this pauses for 1 second to see what is happening, remove all Sleep commands to run at full speed
Send, +{Tab} ;shift>tab to move from Depth to Type
Sleep, 1000
Send, {Down} ;change from To Depth to Through All
Sleep, 1000
Send, {Enter} ;apply changes and close dialog
Sleep, 1000
Send, {Down} ;deselect last feature EDIT: this line may not work, I have the Down Arrow key set to Generate To Last Feature
return