下载地址:https://www.pan38.com/share.php?code=pvvmX 提取码:8888
做自媒体以及做网络营销的,只要涉及到网络行业的基本都会涉及到养号,因为你如果不养账号的话账号的权重非常低,低权重的账号没多大价值,动不动就掉线或者是封号,而且发布作品也没有任何的流量,那么一个没流量的账号对我们来说就是一个废品,因为他给我们带来不了啥实质性的价值,所以养号就成了一个非常重要的环节了,当前肯定是通过脚本自动养,因为效果更好。
源码部分:
'创建布局名称
Dim 布局名称,点击坐标,话术,分割话术,随机值,文本,id,时间,私信次数
布局名称 = "星辰抖音关注随机看视频v1.1"
'创建一个名称为布局名称的布局控件
TracePrint UI.Newlayout (布局名称)
'添加一个名称为"输入框1",初始内容为"请在此输入内容"的文本框控件
TracePrint UI.AddEditText(布局名称, "输入框1", "进入抖音界面后,点右上角搜索在启动")
TracePrint UI.NewRow(布局名称, "newrow" )
TracePrint UI.AddTextView(布局名称, "文字框1", "延迟时间:")
TracePrint UI.AddEditText(布局名称, "输入框2", "3000")
TracePrint UI.NewRow(布局名称, "newrow" )
'显示名称为:布局名称 的布局控件
TracePrint UI.NewRow(布局名称, "newrow" )
'创建一个名称为"按钮1",标题为:"点我初始化"的按钮控件
TracePrint UI.AddButton(布局名称, "按钮1", "先点我初始化")
'创建一个名称为"按钮1",标题为:"全自动打招呼"的按钮控件
TracePrint UI.AddButton(布局名称, "按钮2", "在点我关注")
'设置名称为"按钮1"的控件的控件点击事件
TracePrint UI.SetOnClick("按钮1", 点我初始化)
TracePrint UI.SetOnClick("按钮2", 全自动点红包)
TracePrint UI.Show (布局名称)
Function 全自动点红包()
ShowMessage "准备自动化操作..."
UI.Close (布局名称)
End Function
'创建一个初始化处理函数
Function 点我初始化()
时间=UI.GetText("输入框2")
私信次数 = UI.GetText("输入框3")
TracePrint 时间
TracePrint 111111111111
话术 = Split(Sys.GetClipText() , "#")
ShowMessage "数据正在初始化..."
TracePrint 话术(1)
TracePrint 分割话术(1)
End Function
For i = 1 To 300
Dim intX4,intY4
FindPic 0,0,0,0,"Attachment:点击输入框.png","000000",0,0.9,intX4,intY4
If intX4 > -1 And intY4 > -1 Then
TracePrint intX4
TracePrint intY4
Tap intX4-300,intY4
End If
Delay 100
InputText 话术(i)
Delay 1000
//点击搜索按钮
Dim intX,intY
FindPic 0,0,0,0,"Attachment:点击搜索.png","000000",0,0.9,intX,intY
If intX > -1 And intY > -1 Then
TracePrint intX
TracePrint intY
Tap intX,intY
Delay 3000
Tap 284, 172
Delay 2000
End If
//点击搜索按钮
//点击关注按钮
Dim intX1,intY1
FindPic 0,0,0,0,"Attachment:点击关注.png","000000",0,0.9,intX1,intY1
If intX1 > -1 And intY1 > -1 Then
TracePrint intX1
TracePrint intY1
Tap intX1, intY1
Delay 1000
Tap intX1 - 500, intY1
Delay 2000
End If
//点击关注按钮
//判断对方作品是否为0
Dim intX3,intY3
FindPic 0,0,0,0,"Attachment:对方作品为0.png","000000",0,0.9,intX3,intY3
If intX3 > -1 And intY3 > -1 Then
TracePrint intX3
TracePrint intY3
ShowMessage "对方作品为0 无法随机观看"
Delay 1000
KeyPress "Back"
Delay 1000
KeyPress "Back"
Delay 1000
End If
//判断对方作品是否为0
If intY3 = -1 Then
//满足条件,执行下面的脚本
Dim intX2,intY2
FindPic 0,0,0,0,"Attachment:作品.png","000000",0,0.9,intX2,intY2
If intX2 > -1 And intY2 > -1 Then
TracePrint intX2
TracePrint intY2
Tap intX2, intY2 + 76
//要产生指定范围的随机整数,请使用以下公式:
//Int((最大值 - 最小值 + 1) Rnd() + 最小值)
//例如产生2到6之间的随机数:
Dim MyValue
Randomize
MyValue = Int(((9000-1000+1) Rnd()) + 1)
Traceprint MyValue
ShowMessage "随机观看:"&MyValue&"毫秒"
Delay MyValue
KeyPress "Back"
Delay 1000
KeyPress "Back"
Delay 1000
KeyPress "Back"
Delay 1000
End If
End If
//通过判断表达式的取值,来执行后面的动作或控制
Next