Advertisement
Ex0rpl4net

Untitled

Jan 16th, 2015
198
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
  2. ; #Warn ; Enable warnings to assist with detecting common errors.
  3. SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
  4. SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
  5. #SingleInstance force
  6.  
  7.  
  8. inputbox,sec,amount of seconds
  9. return
  10.  
  11. space::
  12. nowsec:= sec*1000
  13.  
  14. loop {
  15.  
  16. sleep,100
  17. nowsec:=nowsec-100
  18. showsec:= nowsec/1000
  19. SplashTextOn,200,30,,%showsec% seconds
  20. if (nowsec == 0)
  21. break
  22. }
  23. SplashTextOff
  24. return
  25. f11::ExitApp
  26. return
  27. f12::
  28.  
  29. inputbox,sec,amount of seconds
  30. return
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement