Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases.
- ; #Warn ; Enable warnings to assist with detecting common errors.
- SendMode Input ; Recommended for new scripts due to its superior speed and reliability.
- SetWorkingDir %A_ScriptDir% ; Ensures a consistent starting directory.
- #SingleInstance force
- spacevar = u
- #If GetKeyState("space","P")
- Space::
- #if
- spacevar = p
- oldtime := A_Now
- while (GetKeyState("space","P"))
- {
- newtime := A_Now-oldtime
- if (newtime2!=newtime)
- SplashTextOn, 50,30,,%newtime%
- newtime2 := newtime
- }
- splashtextoff
- spacevar = u
- return
- f11::exitapp
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement