PostMessage plz help
Posted: 23 Apr 2017, 09:45
How to post message CTRL+R or CTRL+left or CTRL+TAB
why my code dont work?
why my code dont work?
Code: Select all
SystemKeyPress("F5", "firefox.exe")
SystemKeyPress(key, proces){
key = ctrl
key1 = tab
VK:=GetKeyVK(key)
SC:=GetKeySC(key)
VK1:=GetKeyVK(key1)
SC1:=GetKeySC(key1)
PostMessage, 0x104, %vk%, %sc%, , ahk_exe %proces%
PostMessage, 0x100, %vk1%, %sc1%, , ahk_exe %proces%
PostMessage, 0x105, %vk%, %sc%, , ahk_exe %proces%
}