Jump to content

Sky Slate Blueberry Blackcurrant Watermelon Strawberry Orange Banana Apple Emerald Chocolate
Photo

Turning Off and On Switch...


  • Please log in to reply
16 replies to this topic
Xtra
  • Members
  • 954 posts
  • Last active: Jul 23 2016 09:04 PM
  • Joined: 29 Sep 2013

can anyone help me with thisone?

 

You should create your own post topic in the future.

#InstallKeybdHook
 
#Persistent
 
#HotkeyInterval,100
 
#NoEnv
 
SetKeyDelay, 1
 
SetTitleMatchMode, 2 ; Makes matching the titles easier
 
SendMode Input
 
SetWorkingDir %A_ScriptDir%
 



MButton::
    if (Toggle:=!Toggle)
        WinHide, Opera
    else 
    {
        DetectHiddenWindows, On
        WinShow, Opera
    }
Return 


Alkis
  • Members
  • 1 posts
  • Last active: Jan 01 2016 07:55 PM
  • Joined: 01 Jan 2016

Hey!

 

this is a script i need some help with, what it does is that it spams space. But i just can't figure how to get it to stop without turning off my computer,

Please compy this into you post and then add where i should butt the text. I could not either get Esc::ExitApp to work with my script.
 
*space::
Loop
{
GetKeyState,state,space,P
if state = U
break
 
 
 
Send,{space}
Sleep,20
}
return