关键词不能为空

当前您在: 主页 > 英语 >

imacros教程iMacros for Chrome

作者:高考题库网
来源:https://www.bjmy2z.cn/gaokao
2021-02-13 11:09
tags:

-

2021年2月13日发(作者:活动管理)


iMacros for Chrome


Thank your for using iMacros for Chrome, the open-source web automation solution.


Note that this version is a


Beta


version, so please do not expect it to be as polished as its bigger


siblings for IE and Firefox.


Having said that, iMacros for Chrome is ready to be used for web automation.


Its a macro


recorder for your Google Chrome browser.


With iMacros for Chrome we are also testing an


interesting new GUI layout and the concept of storing


iMacros as bookmarklets


. We look forward to


your feedback!


Contents


[


hide


]


?



1 Installation



o



1.1 Add File Access



o



1.2 How to install an extension from outside the Chrome gallery



?



?



?



?



?



?



2 First Steps



3 iMacros as Bookmarklets



4 Social Scripting



5 Demo and Test Macros



6 Command Line Support



7 Scripting Chrome



o



7.1 Using Chrome with the iMacros RunAs Agent (iimRunner)



?



?



?



?



7.1.1 Where is the iimDisplay message?



8 Getting Help



9 Limitations



10 Version History



o



10.1 Version Archive



o



10.2 How to install an older version



?



?



?



11 Security



12 Known Issues



13 See Also



Installation


?



Download the latest version


iMacros_for_Chrome


- this version fixes the Chrome V35


issues!


No administrative rights are required for the installation. All versions of Chrome (Win, Mac and


Linux) are supported.


This installer supports storing macros


inside bookmarks


. If this is all you want, then there is nothing


else to do. But if you prefer to store macros in regular text files (like iMacros for Firefox/IE do), then


please install our new file access modules below.


Add File Access


iMacros for Chrome used a NPAPI plugin internally to access the file system. And because Chrome


extensions can no longer use the NPAPI (since May 2014) we have to provide the alternative


solution - using the new NativeMessaging API of Chrome.


This means the


default


install of iMacros for Chrome V8 and higher allows you to


only store


macros in bookmarks


. If you want to store the macros in text files on your hard drive or you are


using macros that access data files (via


!DATASOURCE


), please install one of these free file


access enhancements:


Please install iMacros for Chrome before installing the file access module. The installers


below contain ONLY the file access code, not the complete iMacros for Chrome extension.



?




Windows:


=>


Download File Access Installer



?




Mac:


=>


Download File Access Installer


(updated Oct 1, 2014)


?



Linux:



Download tar ball



?




?



?



?



?



It can be used for both, Mac and Linux.


The install script is inside the


tar -xvf imacros_


After that command is executed the imacros_fio directory is created. Please move that


directory to some place where it will be persistent, e.g. ~/iMacros


?



?




then cd to that directory and execute ./


(Checksum: MD5 (imacros_) = dc668d1b8265443e0ef7314a6bc92b3f)




This is how iMacros for Chrome looks without the new and free file access module installed. Once it is


installed, you will see the familiar treeview there.


How to install an extension from outside the Chrome gallery


Extensions that you download from the Chrome Web Store are installed automatically, which is


great for distribution, but not so great for development. Recognizing this, Chrome gives you a quick


way of loading up your working directory for testing. Let's do that now.


?



Visit chrome://extensions in your browser (or open up the Chrome menu by clicking the icon to


the far right of the Omnibox: The menu's icon is three horizontal bars.. and select Extensions


under the Tools menu to get to the same place).


?



Ensure that the Developer mode checkbox in the top right-hand corner is checked.


?



Drag & drop the beta version on the extension page. This works


only


on the


extension page. Chrome checks if the extension is valid, it'll be loaded up and active right


away!


This does not work Chrome V36 Beta on Windows: That is caused by a new, upcoming security


improvement: Starting with V36, Chrome will block all installs from outside the Google Chrome


Gallery! So far this block seems to be only in the Windows version, not Chrome 36 for Linux or Mac.


To work around this, install our beta version from the gallery.


First Steps


After you installed iMacros for Chrome you will see the iMacros icon in the toolbar. First we


recommend that you look at a few demo macros. After this start recording your first own macro. To


get start, a simple website like this wiki or our company website are a good start. To record, open


the iMacros panel and click record. When you are done recording, click the stop icon either in the


panel or in the Chrome toolbar. The iMacros icon changes to a stop button with line counter during


recording and replay.





The iMacros for Chrome Panel: You can start playing macros either from the iMacros panel or from your


bookmarks or macros that are embedded into websites.




The iMacros icon changes to a stop button with line counter during recording and replay.


The


WAIT


command displays the wait time as countdown.


The iMacros panel has a


loop


button to run macros repeatedly. This can be useful for checking a


certain web page status or for web testing. While the loop is running, the current loop number is


stored in the


!LOOP


internal variable.


Example usage: Create a macro that refreshes the current page every 5 seconds:


VERSION BUILD=1031208 RECORDER=CR


REFRESH


WAIT SECONDS=5




Start the PAGE REFRESH macro with the LOOP button.


iMacros as Bookmarklets


If you are used to other iMacros versions, you might be surprised that iMacros for Chrome does not


store its macros as text files. The reason for this is that Chrome extensions can not write or read


files unless they use a special NPAPI dll (Update: iMacros for Chrome V2.0 Beta has such a DLL


and can now read and write normal macros!). Instead we are testing a new concept and store


macros as


bookmarklets


inside the regular Chrome bookmarking system.


This means you can


take full advantage of the Google Bookmark Sync


features or bookmark


sync extensions such as Xmarks.


As the macros are packed as bookmarklets, you can


just drag & drop them to your bookmarks


folder


or bookmarks bar.


Example:


Search the German railway website for train connection from Frankfurt International


Airport to Mannheim


- Select




You can rename, edit or delete your iMacros via the the Chrome bookmark manager




You can sync your iMacros macros just like normal bookmarks. And with the iMacros secure password


encryption that means that you can even store login macros securely in the cloud.




iMacros for Chrome V2 Beta can view, run and edit the standard *.iim text file based macros, just like


iMacros for Firefox/IE.


Social Scripting


iMacros for Chrome pioneers the social scripting concept. Users can embed the complete macro in


a simple link that can be shared with friends and coworkers. Users can also embed the link on their


homepage, blog and company Intranet. In this way, users can help website visitors perform certain


tasks. Instead of telling visitors how to fill out a form, users can let iMacros fill out the form for them.


All information is stored inside the link as a text string, and nothing is stored on our servers.


Tip:


To send macros (bookmarklets) by email, use the link shortener service. Example


usage:



available flights


do you prefer? Just click the link to run the search and


get up-to-date pricing.



Demo and Test Macros


For a list of demo and test macros please see


/imacros/chrome/


. If these


macros replay fine in your Google Chrome browser, then the basic installation of iMacros for


Chrome is ok.


Command Line Support


The Google Chrome API does not provide command line information for extensions yet, but user



Embed the


iMacros bookmarklet in a local web page.



1.


Create a bookmark for the macro you want to launch


2.


Right-click on the bookmark in Chrome and select Edit


3.


Copy everything in the URL field starting with var e_m64 up to and including


chEvent(evt);


4.


Paste this code in place of the line starting with var e_m64 in the HTML file shown below


Example:








Example command line / batch file:



(x86)



file:///D:/web/

-


-


-


-


-


-


-


-



本文更新与2021-02-13 11:09,由作者提供,不代表本网站立场,转载请注明出处:https://www.bjmy2z.cn/gaokao/649656.html

imacros教程iMacros for Chrome的相关文章

  • 余华爱情经典语录,余华爱情句子

    余华的经典语录——余华《第七天》40、我不怕死,一点都不怕,只怕再也不能看见你——余华《第七天》4可是我再也没遇到一个像福贵这样令我难忘的人了,对自己的经历如此清楚,

    语文
  • 心情低落的图片压抑,心情低落的图片发朋友圈

    心情压抑的图片(心太累没人理解的说说带图片)1、有时候很想找个人倾诉一下,却又不知从何说起,最终是什么也不说,只想快点睡过去,告诉自己,明天就好了。有时候,突然会觉得

    语文
  • 经典古训100句图片大全,古训名言警句

    古代经典励志名言100句译:好的药物味苦但对治病有利;忠言劝诫的话听起来不顺耳却对人的行为有利。3良言一句三冬暖,恶语伤人六月寒。喷泉的高度不会超过它的源头;一个人的事

    语文
  • 关于青春奋斗的名人名言鲁迅,关于青年奋斗的名言鲁迅

    鲁迅名言名句大全励志1、世上本没有路,走的人多了自然便成了路。下面是我整理的鲁迅先生的名言名句大全,希望对你有所帮助!当生存时,还是将遭践踏,将遭删刈,直至于死亡而

    语文
  • 三国群英单机版手游礼包码,三国群英手机单机版攻略

    三国群英传7五神兽洞有什么用那是多一个武将技能。青龙飞升召唤出东方的守护兽,神兽之一的青龙。玄武怒流召唤出北方的守护兽,神兽之一的玄武。白虎傲啸召唤出西方的守护兽,

    语文
  • 不收费的情感挽回专家电话,情感挽回免费咨询

    免费的情感挽回机构(揭秘情感挽回机构骗局)1、牛牛(化名)向上海市公安局金山分局报案,称自己为了挽回与女友的感情,被一家名为“实花教育咨询”的情感咨询机构诈骗4万余元。

    语文