UiPath Automation to go to end of notepad

I am using UiPath StudioX. How can I go to end of a notepad file. I tried using Type Into activity and then used hotkeys Ctrl and End in the Type This field. But somehow the cursor just moves to end of current line and not to the end of file. Please suggest how this can be achieved.

Try to first select whole data of notepad through Ctrl+a, and then send hotkey as end.

Hope it helps.