Simple but powerful set of commands
Detailed error handling
Windows OS includes Windows Scripting Host (WSH)
Easy database access
The six most important commands:
set iim1= CreateObject ("iMacros")
i = iim1.iimInit ("")
i = iim1.iimDisplay("This is a test")
i = iim1.iimSet("-var_name1", "Tom Tester")
i = iim1.iimPlay("Test1")
If i > 0 Then s = "Everything OK"
Else s = iim1.iimGetLastError()
MsgBox s
i = iim1.iimExit
Error Return Codes
All functions return a value > 0 if they succeed, and an error code < 0 in case of problems.
Error codes below -100 are error codes generated during the macro replay. Same code as when macro is run manually.
-1 Macro timeout (Macro takes too long to run)
-2 IIM Interface timeout (IM browser does not respond)
-3 User pressed STOP button
-4 Communication error (should not happen)
-5 Browser closed (User pressed EXIT button)
VB6 with Intellisense Support
In order to enable Intellisense support, you need to add the IInternetMacros" component to your project ( Early binding").
The alternative is to use CreateObject ( Late Binding", no Intellisense support)
Intellisense in action…
Add iMacros COM object
Demo Projects
Performance Monitoring
Create response time measurement macro, and return the data to your script for further processing. Use {{!STOPWATCHTIME}} to return the measured time.
Use a script to alert you when response time is above threshold
Create Google News Extractor:
Submit keyword search to Google News
Extract headlines from returned search results
Store headlines in text file
Click NEXT link until all results are extracted
Example: imacros -macro CmdLineTest -var1 Hello[SP]World!
After completing the macro, the program automatically stops and closes. Note that in command lines you need to use the square brackets instead of the usual '' ones to denote a space [SP] or break [BR] otherwise Windows does not execute the command line correctly.
- androidfilebrowser > C:\IIM\imacrosexe
-
C:\IIM\imacrosexe
下载该文档 文档格式:PPT 更新时间:2010-06-02 下载次数:0 点击次数:1文档基本属性 文档语言: 文档格式: ppt 文档作者: 关键词: 主题: 备注: 点击这里显示更多文档属性 经理: 单位: 分类: 创建时间: 上次保存者: admin3 修订次数: 49 编辑时间: 文档创建者: 修订: 加密标识: 幻灯片: 10 段落数: 116 字节数: 395963 备注: 10 演示格式: On-screen Show 上次保存时间:
- 下载地址 (推荐使用迅雷下载地址,速度快,支持断点续传)
- PPT格式下载
- 更多文档...
-
上一篇:Web-browser-based
下一篇:bederson@csumdedu
点击查看更多关于androidfilebrowser的相关文档
- 您可能感兴趣的
- browser qqbrowser touchnetbrowser greenbrowser dolphinbrowsercn torbrowser browser.apk avantbrowser mybrowsercash puffinwebbrowser
- 大家在找
-
- · 刮削辊光机床
- · 温州龙湾区府
- · 调频收发器
- · stm32频率计
- · 2011唱响中国36首歌曲
- · 大庆采油四厂新成立矿
- · 夏利n5刹车
- · 小型玉米单粒播种机
- · 水力学教材免费下载
- · 三星手机gts5360
- · 2012全国高校招生计划
- · 注册表编辑器怎么打开
- · autocad2010怎么样
- · cad2004三维视频教程
- · 水库调度值班职业资格鉴定
- · 双卡双待智能手机大全
- · mplsvpn实例
- · 卡特385挖掘机视频
- · 收音机的原理
- · 环境污染与保护论文
- · 汽车配件大全
- · 雕塑与建筑ppt
- · 滨州北海新区
- · 88点阵led模块
- · 微生物生理学试题
- · 工厂设备回收
- · 美女图片百度空间
- · 建筑法规试卷与答案
- · 建筑物防雷设施的规定
- · 曾仕强六十四卦详解
- 赞助商链接