Flint - 複数グループからランダムで1つ選択しスタート





スクリプト例
Random, _1_, 1, 2
if (_1_ = 1)
{
	Send [+^!#a]	;Shift + Ctrl + Alt + Win + A
}
else
{
	Send [+^!#b]	;Shift + Ctrl + Alt + Win + B
}
return

Random, _1_, 1, 3
if (_1_ = 1)
{
	Send [+^!#a]	;Shift + Ctrl + Alt + Win + A
}
else if (_1_ = 2)
{
	Send [+^!#b]	;Shift + Ctrl + Alt + Win + B
}
else
{
	Send [+^!#c]	;Shift + Ctrl + Alt + Win + C
}
return

Random, _1_, 1, 4
if (_1_ = 1)
{
	Send [+^!#a]	;Shift + Ctrl + Alt + Win + A
}
else if (_1_ = 2)
{
	Send [+^!#b]	;Shift + Ctrl + Alt + Win + B
}
else if (_1_ = 3)
{
	Send [+^!#c]	;Shift + Ctrl + Alt + Win + C
}
else
{
	Send [+^!#d]	;Shift + Ctrl + Alt + Win + D
}
return

Random, _1_, 1, 100
if (_1_ <= 10)	;10%
{
	Send [+^!#a]	;Shift + Ctrl + Alt + Win + A
}
else
{
	Send [+^!#b]	;Shift + Ctrl + Alt + Win + B
}
return

Random, _1_, 1, 100
if (_1_ <= 10)	;10%
{
	Send [+^!#a]	;Shift + Ctrl + Alt + Win + A
}
else if (_1_ <= 30)	;20%
{
	Send [+^!#b]	;Shift + Ctrl + Alt + Win + B
}
else
{
	Send [+^!#c]	;Shift + Ctrl + Alt + Win + C
}
return

DetectHiddenWindows,On

ControlSend, , {F1} , ahk_exe Flint.exe






Freeware > Flint > 複数グループからランダムで1つ選択しスタート
Privacy policy Profile
© The Heat-Ray