Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 07/31/2020 in all areas

  1. Dear Mr. Melba23 I apologize for my childhood actions 😆😆 When I reviewed the posts, I thought it was weird! Thank you guinness! It may have been a long time since I returned to this forum. That day I was just a student, and now I am a programmer with a stable income. Starting with AutoIT, when I look back there are many shortcomings in thinking, but that is the foundation. Once again thank everyone!
    4 points
  2. $WshShell = ObjCreate("WScript.Shell") $WshShell.SendKeys("{CAPSLOCK}") "Let AutoIt shine !"
    1 point
  3. Dinovic, Welcome to the AutoIt forum. You could try using _IsPressed within the HotKey function like this: #include <Misc.au3> Opt("SendCapslockMode", 0) HotKeySet("1", "VolUp") HotKeySet("2", "VolDown") While 1 Sleep(100) WEnd Func VolUp() If _IsPressed("14") Then ConsoleWrite("{VOLUME_UP}" & @CRLF) Else HotKeySet("1") Send("1") HotKeySet("1", "VolUp") EndIf EndFunc Func VolDown() If _IsPressed("14") Then ConsoleWrite("{VOLUME_DOWN}" & @CRLF) Else HotKeySet("2") Send("2") HotKeySet("2", "VolDown") EndIf EndFuncAny use? M23 Edit: Fixed the silly typo mentioned below - cut-and-paste is very handy but can catch you out!
    1 point
×
×
  • Create New...