How can i do this in Go language please? I have used Python 2.7, pywin32 for the win32com and the following code which works to trigger virtual keyboard press.
Python code works:
import time
import win32com
import win32com.client
shell = win32com.client.Dispatch('WScript.Shell')
shell.Run('chrome')
time.sleep(0.1)
shell.AppActivate('chrome')
shell.SendKeys("www.stackoverflow.com", 0)
shell.SendKeys("{Enter}", 0)
time.sleep(4)
shell.SendKeys("{F11}", 0)
i am actually trying the same Python code in Go (for Windows and Mac), can anyone give me any example how exactly this can be done with Go?