QuickSwitch script

Posts 1–6 of 6 · Page 1 of 1
QuickSwitch script
Hey guys, I wrote some short and simple AutoHotkey script for switching to sniper rifles faster. Here it is:
Code:
#NoEnv
#SingleInstance force

#IfWinActive ahk_class CoDBlackOps

FeatureOn(PopupText)
{ 
	Gui, Destroy 
	Gui, +AlwaysOnTop +ToolWindow +LastFound -SysMenu -Caption 
	Gui, Color, 000000
	WinSet, Transparent, 200
	Gui, Font, s8, norm, Verdana
	Gui, Add, Text, x5 y5 c00ff00, %PopupText%  
	Gui, Show, NoActivate X0 Y18
	sleep 300
	Gui, Destroy
}

FeatureOff(PopupText)
{ 
	Gui, Destroy 
	Gui, +AlwaysOnTop +ToolWindow +LastFound -SysMenu -Caption 
	Gui, Color, 000000
	WinSet, Transparent, 200
	Gui, Font, s8, norm, Verdana
	Gui, Add, Text, x5 y5 cff0000, %PopupText%  
	Gui, Show, NoActivate X0 Y18
	sleep 300
	Gui, Destroy
}

F6::
	if Sw < 1
	{
		Sw += 1
		if Sw = 1
		{
			SoundBeep, 1000, 300
			FeatureOn("QUICKSWITCH ACTIVATED")
		}
	}
	else
	{
		Sw := 0
		SoundBeep, 200, 100
		SoundBeep, 200, 100
		FeatureOff("QUICKSWITCH DEACTIVATED")
	}
	return
	
*$1::
	if Sw = 1
	{
		send {1}
		sleep 350
		send {1}
		send {1}
	}
	else
	{
		send {1}
	}
	return

*$2::
	if Sw = 1
	{
		send {2}
		sleep 350
		send {2}
		send {2}
	}
	else
	{
		send {2}
	}
	return
Toggle key is temporary F6, but I believe you know how to change it.
Here is the demonstration:

I'm planning to add this script to my next QuickScope plugin for ExternalHack release, but it needs testing first. Anyway, you can use it right now if you like it, it already works.

Virus Scans:
VirusTotal - Free Online Virus, Malware and URL Scanner
QuickSwitch.rar - Jotti&#039;s malware scan
QuickSwitch.rarattachment deleted · 108 downloads before removal
looks cool!, you should make 1 scrip/program with all these kind of things in it

(i see, your already planned it? )
You should attach it as executeable.
Quote Originally Posted by Blubb1337 View Post
You should attach it as executeable.
Should I? It's not a release, it's source code and it's located in the source code section of the forum. I'll test it first, optimize, and then release built in my QuickScope plugin for ExternalHack. ATM there is no need to attach readme, executable and so on IMO.
Quote Originally Posted by Blubb1337 View Post
You should attach it as executeable.
Done.
Quote Originally Posted by master131 View Post
Done.
Hey, WTF?! LOL I still sure it's not worth to be released before optimizing the timings.
Posts 1–6 of 6 · Page 1 of 1
This thread is closed for replies.

Tags for this Thread

None

Talk with us