Having trouble using Dynamo to use keystrokes

So, I created a script so I can spell check certain sheets. It works great at filter text based on the sheets put into the UI. But at the end I still have to click spell check. I am trying to write a python script that will just click and release F7, but I am having trouble because the modules I am familiar with in python are not found in dynamo, any help would be great.

Can you show what you have done so we can help. Not 100% sure what you mean