imacros自动跑代码

Computers are supposed to automate repetitive tasks – if you find yourself submitting forms over and over or repeatedly navigating a website by hand, try iMacros. It’s easy-to-use – all you have to do is perform an action once.

计算机应该可以自动执行重复的任务-如果您发现自己一遍又一遍地提交表单或手动反复浏览网站,请尝试iMacros。 它易于使用-您只需要做一次操作即可。

iMacros is ideal for anyone that does repetitive tasks in their web browser, whether you’re an average user repeatedly submitting tedious forms or a web developer performing regression testing across a complex website.

无论您是重复提交乏味表格的普通用户,还是在复杂网站上执行回归测试的网络开发人员,iMacros都是在其Web浏览器中执行重复任务的任何人的理想选择。

入门 (Getting Started)

The iMacros extension is available for Mozilla Firefox, Google Chrome, and Internet Explorer.

iMacros扩展可用于Mozilla Firefox , Google Chrome和Internet Explorer 。

After installing it, you’ll find an iMacros icon on your browser toolbar. This icon opens the iMacros sidebar.

安装后,您会在浏览器工具栏上找到一个iMacros图标。 此图标将打开iMacros侧栏。

录制宏 (Recording a Macro)

The Record button allows you to record browser actions. iMacros keeps track of them and can play them back later. You can record practically anything you can do in your browser, from opening tabs to performing actions on websits. iMacros can also be a powerful form filler capable of filling out and submitting forms across multiple web pages.

使用“记录”按钮可以记录浏览器操作。 iMacros会跟踪它们,并在以后播放它们。 从打开选项卡到在网站上执行操作,您几乎可以在浏览器中记录所有操作。 iMacros还可以是功能强大的表单填充器,能够跨多个网页填写和提交表单。

We’ll create a really basic macro to show you how it works. First, we click the Record button.

我们将创建一个非常基本的宏来向您展示其工作原理。 首先,我们单击“记录”按钮。

iMacros starts recording. As we can see, the macro will activate the first tab and load the How-To Geek website, since that’s the website we had open when we started recording.

iMacros开始记录。 如我们所见,该宏将激活第一个选项卡并加载How-To Geek网站,因为这是我们开始记录时打开的网站。

Next, we’ll use the search box on the How-To Geek website to perform a search.

接下来,我们将使用How-To Geek网站上的搜索框进行搜索。

iMacros saves our macro after we click Stop. We can click the Play button to play back the macro and iMacros will visit How-To Geek, select the form field, enter our search query, and submit the form. While you can achieve this result simply by bookmarking the search page here on How-To Geek, some websites aren’t as convenient. On websites that force you to submit a form field – or multiple form fields – to reach a destination page, you can use a macro to save time.

单击“停止”后,iMacros将保存宏。 我们可以单击“播放”按钮以播放宏,iMacros将访问How-To Geek,选择表单字段,输入搜索查询,然后提交表单。 尽管您可以通过在How-To Geek上在此处添加搜索页面的书签来简单地获得此结果,但是某些网站并不方便。 在强迫您提交一个或多个表单字段以到达目标页面的网站上,可以使用宏来节省时间。

This was an extremely short, basic macro. You can add as many actions as you want to the macro – after submitting the form, it could open several new tabs, navigate to websites, and perform other actions.

这是一个非常简短的基本宏。 您可以在宏中添加任意数量的操作-提交表单后,它可以打开多个新标签页,导航到网站并执行其他操作。

宏书签 (Macro Bookmarks)

You can even save a macro as a bookmark. After renaming the saved macro with the Rename option, right-click it and select Add to bookmark. You’ll be able to launch your macro from your bookmarks with a single click.

您甚至可以将宏另存为书签。 用“重命名”选项重命名保存的宏后,右键单击它,然后选择“添加到书签”。 只需单击一下就可以从书签启动宏。

Better yet, the macro will synchronize between your computers using your browser’s bookmark sync feature if you select the Make Bookmarklet option.

更好的是,如果选择“制作书签”选项,则宏将使用浏览器的书签同步功能在计算机之间同步。

一些技巧 (A Few Tricks)

iMacros offers a few other features you can use while recording a macro. For example, you can save a page to disk or take a screenshot of it using either of the buttons on the Record pane.

iMacros提供了一些其他功能,可在录制宏时使用。 例如,您可以使用“记录”窗格上的任一按钮将页面保存到磁盘或对其进行屏幕截图。

To schedule a macro and have it run automatically, save the macro as a bookmark and install an extension like My Weekly Browsing Schedule for Firefox. , which allows you to automatically launch bookmarks. You can have the macro run automatically – for example, taking a screenshot of a web page every hour.

要安排宏并使其自动运行,请将宏另存为书签并安装扩展程序,例如“ Firefox的我的每周浏览日程表”。 ,它使您可以自动启动书签。 您可以让宏自动运行-例如,每小时获取一个网页截图。

You can schedule other actions, too – for example, press Record and send an email in Gmail to create an email-sending macro. Combine the macro with a scheduling add-on and you’ll be able to schedule and automatically send emails.

您也可以安排其他操作-例如,按记录并在Gmail中发送电子邮件以创建电子邮件发送宏。 将宏与计划加载项结合使用,您将能够计划并自动发送电子邮件。

演示版 (Demos)

You can run one of the included demo macros to get a feel for iMacros. Just select a macro and click the Play button. For example, the Demo-Open6Tabs macro opens six different browser tabs and loads a web page in each of them.

您可以运行其中包含的演示宏之一来体验iMacros。 只需选择一个宏,然后单击“播放”按钮即可。 例如,Demo-Open6Tabs宏将打开六个不同的浏览器选项卡,并在每个选项卡中加载一个网页。

If you want to see how a macro works, you can right-click it and select Edit Macro to view its source. While you can write and edit macros by hand, you don’t have to – the Record button will do the tedious macro-writing for you.

如果要查看宏的工作方式,可以右键单击它,然后选择“编辑宏”以查看其源。 虽然您可以手动编写和编辑宏,但不必这样做-“记录”按钮将为您完成繁琐的宏编写。



iMacros offers a lot of flexibility – anything you can do in your browser, you can automate. Do you use iMacros for anything clever? Leave a comment and let us know.

iMacros提供了很大的灵活性-您可以在浏览器中执行的任何操作都可以自动化。 您将iMacros用于任何聪明的东西吗? 发表评论,让我们知道。

翻译自: https://www.howtogeek.com/113789/how-to-automate-repetitive-web-browser-tasks-with-imacros/

imacros自动跑代码

imacros自动跑代码_如何使用iMacros自动执行重复的Web浏览器任务相关推荐

  1. start uml怎么自动生成代码_通过UML类图,自动生成相关代码

    因为去年帮我的师父开发这个小软件,所以去年整了将近一个多月的时候,把这个基本的工程弄好了.姑且就叫做 版本1.0吧. 其实,功能很好理解,就是当你把UML(这里需要注意的是,只能用在VS,所以 ros ...

  2. office2018自动图文集_学会使用Word自动图文集,让你事半功倍

    Word中有一个叫做自动图文集的神器,有多少人知道并用过呢?对于某些需要重复输入的词条.图形.表格.图表而言,自动图文集能帮助你解放双手,下面我们来看看具体使用介绍. Word自动图文集是什么?怎么用 ...

  3. python自动登录网银_财务机器人——网银自动下载

    内容会同步分享到公众号:CPA君 中国银行网银自动下载,直接上代码 # 代码开始 from selenium import webdriver import time import datetime ...

  4. win7设置自动开机时间_电脑可以设置自动开机时间,您知道吗?

    基本上每台电脑都可以在主板BIOS里设定固定的开机时间.比如你早上8点上班,可以设定7点50分自动开机.如果是服务器开机时间比较久,你也可以设定在7点开机或更早时间.上班来到座位上电脑已经开好,不用手 ...

  5. 苹果手机如何关闭自动续费_手机APP会员自动续费怎么办?教你一招快速关闭!...

    做最有趣有料的科技自媒体 你们知道学霸君每个月最讨厌收到什么短信吗? 就是APP自动续费的短信.... 特别是有一些软件,明明百八年前就已经没用了 当时只是因为年少无知觉得会员包月续费开通会比较便宜, ...

  6. java对接自动充电桩_一种便于自动对接的充电接头的制作方法

    本实用新型涉及一种充电接头,具体是一种便于移动机器人自动对接的充电接头. 背景技术: 现有的充电接口大部分都需要手动对接进行充电,如图1.图2分别为汽车和叉车的充电接头.当仓库内有大量设备需要充电时, ...

  7. 如何关闭苹果手机自动扣费_苹果怎样关闭自动续费

    我们在使用苹果手机的时候,会发现很多的软件是有自动续费服务的,比如我们的音乐,比如我们的视频网站等等都是有自动续费的,那么怎么取消呢?下面就来简单介绍一下苹果怎样关闭自动续费. 苹果怎样关闭自动续费? ...

  8. linux docker 跑代码_使用Docker 搭建自动化测试环境

    01 我经常是在 windows 上进行代码编写,但是无奈代码写完了总是要放到服务器上跑,自动化测试的代码也不例外. 但是当我把 windows 上写好的代码放到 linux 上的时候,总是会出现各种 ...

  9. jeecg-boot自动生成代码_无代码实现销售系统自动判定并生成订单功能

    ERP项目中,业务员创建销售单后,还需要确认产品库存是否充足,如不充足,还需要手动创建生成订单通知车间进行生产,比较麻烦,客户希望系统可以自动进行判断,自动根据现有库存生成生产订单. 目标: 新建销售 ...

最新文章

  1. Android Studio第三十四期 - git企业级应用命令
  2. 数据结构---线段树
  3. 《程序员代码面试指南》第二章 链表问题 在单链表和双链表中删除倒数第K个节点...
  4. SFTP Net Drive
  5. 300 s7 置零指令_西门子1200与200、200 SMART置位复位指令的区别
  6. C#多线程之旅(2)——详解线程的开始和创建
  7. c语言辗转相除法求最大公约数_趣味探究:妙法求“最大公因数”,比书上难一点,你敢挑战吗?(适合56年级)...
  8. 深度神经网络可解释性:卷积核、权重和激活可视化(pytorch+tensorboard)
  9. java定义int函数_Java自定义函数的四种类型
  10. python3程序运行中会跳过注释行,Python: 读取文件时如何忽略#条注释行
  11. python开发效率怎样_Python 的开发效率真的比 Java高吗?
  12. 屌丝也能开发安卓版2048(App Inventor)
  13. IOS多类型Cell的tableView实现
  14. 解决Linux系统下磁盘IO紧张的一种方法
  15. 实现无缝滑屏怎么实现_无缝扩展人工智能以实现分布式大数据
  16. MATLAB 软件安装与无法打开问题
  17. Spring实战第五版(中文版)学习笔记-第一章 Spring起步
  18. AutoCAD2010激活闪退
  19. 【信息系统项目管理师】第八章 质量管理思维导图
  20. android img 解包打包工具,Android系统system.img解包和重新打包

热门文章

  1. Java 常用限流算法解析
  2. 原生小程序地址管理--抖音小程序(详细)
  3. 【Cadence 17.4电路设计与仿真笔记】02-元件库维护及原理图设计
  4. git merge本地合并分支出现文件冲突处理方法
  5. 低压配电的全球与中国市场2022-2028年:技术、参与者、趋势、市场规模及占有率研究报告
  6. SRT服务器的部署推流拉流
  7. 打包发布firefox的主题
  8. Y07-28D1-5010D 日本信浓步进马达 两相混合式步进电机驱动器组合
  9. 银行如何利用分账系统成功转型?
  10. Windows美化软件WindowFX简介