Advertisement
Madrasso

Untitled

Aug 13th, 2018
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. F4::
  2. if (status == 1)
  3. status1 := "Включено"
  4. else
  5. status1 := "Выключено"
  6. showdialog("2", "Название", "time for arp: " status1, "Ок")
  7. while (isDialogOpen()) {
  8. } if (getDialogIndex() = 1) {
  9.     if (status == 1) {
  10.         status = 0
  11.         ; действие если включен
  12.     } else {
  13.         status = 1
  14.         ; действие если выключен
  15.     }
  16. }
  17. return
  18. :?:/time::
  19. if (status == 1)
  20.     SendInput, /c 060{enter}
  21. else
  22.     return
  23. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement