Keeping Keystrokes Sychronized With F# Program Code

Using VBS or a keyboard actions which are made to run ad hoc outside of F# 's executable framework when not sequenced as one script makes testing scripts questionable. Does the F# system still need to be dependent on DLL calling methods? What is an effective windows proprietary keystroke nuget example these days for F# code?