I am new to scripting using Autohotkey. Basically what i want to do is to automate a task in Excel using one hotkey. I am using a laptop with no key to simulate the right mouse click so created a autohotkey script to remap CTRL+Delete to simulate the right mouse click.
Im stumped on what to do next, after the right click simulation i need to send some keys so that Excel will do some functions for me
Press the hotkey i assigned so simulate right click
press s for paste special
press v for values
and then press enter
this is what the ahk looks like
IfWinNotActive, , , WinActivate, ,
WinWait, Paste Special,
IfWinNotActive, Paste Special, , WinActivate, Paste Special,
WinWaitActive, Paste Special,
id appreciate it if someone helps me. thanks..