B2B网站发布脚本机电之家循环发布信息
以下代码为深山的鹿博客原创首发的用于B2B机电之家循环发布信息按键精灵源码,转载请注明出处!
/* 请将分辨率设置为1920*1080,并使用Google Chrome,只有一行地址栏; */ //点击产品名称 MoveTo 459, 289 LeftClick 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 //键入Tab2次,键入下1次,选择企业分类 KeyPress "Tab", 1 Delay 500 KeyPress "Tab", 1 Delay 500 KeyPress "Down", 1 //键入Tab3次,输入参考价格:“130” KeyPress "Tab", 1 Delay 500 KeyPress "Tab", 1 Delay 500 KeyPress "Tab", 1 Delay 500 SayString "130" //键入Tab2次,输入计量单位:“元/平方” KeyPress "Tab", 1 Delay 500 KeyPress "Tab", 1 Delay 500 SayString "元/平方" //键入Tab1次,输入产地:“上海” KeyPress "Tab", 1 Delay 500 SayString "上海" //键入Tab1次,输入品牌:“宝钢彩涂卷” KeyPress "Tab", 1 Delay 500 SayString "宝钢彩涂卷" //键入Tab1次,输入规格型号:“金属波纹钢屋盖压瓦机” KeyPress "Tab", 1 Delay 500 SayString "金属波纹钢屋盖压瓦机" //键入Tab1次,输入编号:“914-610” KeyPress "Tab", 1 Delay 500 SayString "914-610" //键入Tab1次,输入发货地:“江苏盐城” KeyPress "Tab", 1 Delay 500 SayString "江苏盐城" //键入Tab2次,键入下33次,选择行业 KeyPress "Tab", 1 Delay 500 KeyPress "Tab", 1 Delay 500 KeyPress "Down", 33 //点击选择图片 MoveTo 465, 499 Delay 500 LeftClick 1 Delay 500 MoveTo 496, 558 Delay 500 LeftClick 1 Delay 500 //点选资料 MoveTo 974, 499 Delay 500 LeftClick 1 Delay 500 MoveTo 999, 554 Delay 500 LeftClick 1 Delay 500 //键入Tab3次,输入自定义下载名称:“[标题]+专业制作安装” KeyPress "Tab", 1 Delay 500 KeyPress "Tab", 1 Delay 500 KeyPress "Tab", 1 Delay 500 KeyDown 17, 1 KeyPress 86, 1 KeyUp 17, 1 SayString "专业制作安装" //点击选择文件 MoveTo 915, 531 Delay 500 LeftClick 1 Delay 500 MoveTo 933, 588 Delay 500 LeftClick 1 Delay 500 //输入内容 //----点击进入HTML源码 MoveTo 468, 574 Delay 500 LeftClick 1 Delay 500 MoveTo 466, 625 Delay 500 LeftClick 1 Delay 500 //输入第一张图片 SayString "<img src=""/UserDocument/2015b/zanker/Picture/201592418335.jpg"" alt=""营业执照"" title=""营业执照"" /><br />" Delay 500 //粘贴第一句话 KeyDown 17, 1 KeyPress 86, 1 KeyUp 17, 1 Delay 500 SayString "<br />" Delay 500 //输入第二张图片 SayString "<img src=""/UserDocument/2015b/zanker/Picture/20150925213459.jpg"" title=""连跨屋顶"" alt=""连跨屋顶"" /><br />" 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 Delay 500 SayString "<br />" Delay 500 //第三次切换复制粘贴 SayString "<img src=""/UserDocument/2015b/zanker/Picture/20151024151702.jpg"" title=""三宁化工屋顶"&" alt=""三宁化工屋顶"" /><br />" 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 Delay 500 SayString "<br />" Delay 500 //第四次切换复制粘贴(左移3格并下移一格,最后切换为原页面粘贴) SayString "<img src="/UserDocument/2015b/zanker/Picture/20151024151627.jpg"" title=""粮库屋顶"" alt=""粮库屋顶"" /><br />" 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 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 964, 854 Delay 500 LeftClick 1 Delay 500 KeyPress "Enter", 1 //循环发布 Delay 10000 KeyPress "Enter", 1 Delay 500 KeyPress "PageUp", 1 Delay 1000 MoveTo 77, 232 LeftClick 1 Delay 1000 MoveTo 731, 249 LeftClick 1 Delay 1000
有脚本吗能不能发我一份学习学习