我自行编辑的B2B马可波罗循环发布信息脚本,下文为按键精灵代码

运行之前除了必要的循环Excel范本,还要手动发布一个产品。


/*
请将分辨率设置为1920*1080,并使用Google Chrome,只有一行地址栏;
进入法克菠萝发布相思内容页面
*/

//刷新
KeyPress "PageUp", 1
Delay 500
KeyPress "PageUp", 1
Delay 500

//键入并更换标题
MoveTo 756, 430
Delay 500
LeftClick 1
Delay 500
KeyDown 17, 1
KeyPress 65, 1
KeyUp 17, 1
Delay 500
KeyPress "BackSpace", 1
Delay 500
KeyDown 18, 1
KeyPress "Tab", 1
KeyUp 18, 1
Delay 500
KeyDown 17, 1
KeyPress 67, 1
KeyUp 17, 1
Delay 500
KeyPress "Right", 1
Delay 500
KeyDown 18, 1
KeyPress "Tab", 1
KeyUp 18, 1
Delay 500
KeyDown 17, 1
KeyPress 86, 1
KeyUp 17, 1
Delay 500

//输入内容
KeyPress "Tab", 1
Delay 500
KeyPress "PageDown", 1
Delay 500
KeyPress "PageDown", 1
Delay 500
MoveTo 1139, 467
Delay 500
LeftClick 1
Delay 500
KeyDown 17, 1
KeyPress 65, 1
KeyUp 17, 1
Delay 500
KeyPress "BackSpace", 1
Delay 500

//第二次切换复制粘贴
KeyDown 18, 1
KeyPress "Tab", 1
KeyUp 18, 1
Delay 500
KeyDown 17, 1
KeyPress 67, 1
KeyUp 17, 1
Delay 500
KeyPress 39, 1
Delay 500
KeyDown 18, 1
KeyPress "Tab", 1
KeyUp 18, 1
Delay 500
KeyDown 17, 1
KeyPress 86, 1
KeyUp 17, 1

//第三次切换复制粘贴
KeyDown 18, 1
KeyPress "Tab", 1
KeyUp 18, 1
Delay 500
KeyDown 17, 1
KeyPress 67, 1
KeyUp 17, 1
Delay 500
KeyPress 39, 1
Delay 500
KeyDown 18, 1
KeyPress "Tab", 1
KeyUp 18, 1
Delay 500
KeyDown 17, 1
KeyPress 86, 1
KeyUp 17, 1

//第四次切换复制粘贴(左移3格并下移一格,最后切换为原页面粘贴)
KeyDown 18, 1
KeyPress "Tab", 1
KeyUp 18, 1
Delay 500
KeyDown 17, 1
KeyPress 67, 1
KeyUp 17, 1
Delay 500
KeyPress 37, 1
Delay 500
KeyPress 37, 1
Delay 500
KeyPress 37, 1
Delay 500
KeyPress 40, 1
KeyDown 18, 1
KeyPress "Tab", 1
KeyUp 18, 1
KeyDown 17, 1
KeyPress 86, 1
KeyUp 17, 1
Delay 500

//发布
MoveTo 902, 833
Delay 500
LeftClick 1
Delay 2500

//循环
MoveTo 807, 377
Delay 500
LeftClick 1
Delay 500