function myHotkey()
local value = readInteger("address")
if value == 1 then
doKeyPress(VK_C)
doKeyPress(VK_O)
doKeyPress(VK_M)
doKeyPress(VK_M)
-- etc.
elseif value == 0 then
doKeyPress(VK_D)
doKeyPress(VK_R)
doKeyPress(VK_O)
doKeyPress(VK_P)
end
end
createHotkey(myHotkey, VK_F1)
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum