Skip to content

Instantly share code, notes, and snippets.

@fzls
Created August 13, 2021 05:36
Show Gist options
  • Save fzls/a5badc0c915ac5f923e6ee05e0fefa9e to your computer and use it in GitHub Desktop.
Save fzls/a5badc0c915ac5f923e6ee05e0fefa9e to your computer and use it in GitHub Desktop.
小游戏金币溢出后按键精灵自动升级和抽卡脚本
[General]
SyntaxVersion=2
BeginHotkey=121
BeginHotkeyMod=0
PauseHotkey=0
PauseHotkeyMod=0
StopHotkey=123
StopHotkeyMod=0
RunOnce=1
EnableWindow=
MacroID=fa3c6755-aca7-4e59-beea-98541bb393ba
Description=自动升级
Enable=1
AutoRun=0
[Repeat]
Type=1
Number=1
[SetupUI]
Type=2
QUI=
[Relative]
SetupOCXFile=
[Comment]
[Script]
// 点击右下角最后一张卡
MoveTo 808,939
LeftClick 1
Delay 25
// 点击升级tab按钮
MoveTo 1244,285
LeftClick 1
Delay 25
//点击升级数目
MoveTo 1273,939
LeftClick 1
Delay 100
//点击确定按钮
MoveTo 924,637
LeftClick 1
Delay 25
//点击详细信息tab按钮,跳过动画
MoveTo 1032,288
LeftClick 1
Delay 25
[General]
SyntaxVersion=2
BeginHotkey=121
BeginHotkeyMod=0
PauseHotkey=0
PauseHotkeyMod=0
StopHotkey=123
StopHotkeyMod=0
RunOnce=1
EnableWindow=
MacroID=852e7335-19b8-425e-92ce-eba5dbc58e76
Description=自动抽卡
Enable=0
AutoRun=0
[Repeat]
Type=1
Number=1
[SetupUI]
Type=2
QUI=
[Relative]
SetupOCXFile=
[Comment]
[Script]
// 点击创造按钮
MoveTo 1337, 51
LeftClick 1
Delay 25
//点击创造数目
MoveTo 1160, 513
LeftClick 1
Delay 25
MoveTo 1164, 513
LeftClick 1
Delay 25
//点击创造
MoveTo 976, 699
LeftClick 1
Delay 25
//点击建筑管理按钮,跳过动画
MoveTo 1251, 54
LeftClick 1
Delay 25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment