The renewal maintenance has officially ended for Progress iMacros effective November 30, 2023.
This Wiki site will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely, The Progress Team
Difference between revisions of "Sample Code"
Line 63: | Line 63: | ||
== VB.NET Examples == | == VB.NET Examples == | ||
− | VB.NET sample projects for Visual Studio 2003 and 2005 are included in the download. The samples especially show the threading features of iMacros. You can run and control many browsers simultaneously. | + | VB.NET sample projects for Visual Studio 2003 and 2005 are included in the [http://www.iopus.com/download/imacros iMacros download].. The samples especially show the threading features of iMacros. You can run and control many browsers simultaneously. |
== ASP.NET Examples == | == ASP.NET Examples == |
Revision as of 12:25, 9 July 2007
Examples for using iMacros efficiently.
All macros and scripts listed here are included in the default installation of iMacros. The example batch files and scripts can be found at "C:\Documents and Settings\All Users\Documents\iMacros\Examples" if you selected the default installation directory during installation.
Macros
- Demo-ArchivePage
- Demo-Download
- Demo-Extract
- Demo-Extract-Table
- Demo-FileUpload
- Demo-FillForm
- Demo-FillVariousWebsites
- Demo-Filter
- Demo-Flash
- Demo-Frames
- Demo-ImageDownload
- Demo-ImageRecognition
- Demo-JavascriptDialog
- Demo-JavaScriptMenu
- Demo-Loop-Csv-2-Web
- Demo-Print
- Demo-SaveAs
- Demo-Slideshow
- Demo-Stopwatch
- Demo-Tabs
- Demo-Web-Test
- Demo-Winclick
Batch Files
Visual Basic Scripts
- combine-macros.vbs Shows how to create a custom log file
- connect-to-ie.vbs Remote control Internet Explorer
- connect-to-fx.vbs Remote control Mozilla FireFox
- connect-to-iimrunner.vbs Shows how to work with iimRunner.exe
- database-2-web.vbs Submit database information to a website
- datasource-2-web.vbs Submit information from a text file to a website
- extract-2-file.vbs Web scrape data into a plain text file.
- extract-2-database.vbs Web scrape data into a database.
- extract-and-fill.vbs Web scrape data from one website and submit it to a second website.
- file-2-web.vbs Submit information from a text file to a website (Method 1)
- file-2-web-method2.vbs Submit information from a text file to a website (Method 2)
- get-exchange-rate.vbs Extract exchange rate from a website. Runs in tray.
- random-numbers.vbs Fill an online form with random numbers.
Important: You can use the same syntax shown here in any Windows programming and scripting language, for example ASP, ASP.NET, C#, Foxpro, Java, Javascript, Perl, PHP, Phyton, Ruby, VBA, VB6, VB.NET and VBS (shown here).
VBA Scripting Examples
C# Examples
C# sample projects for Visual Studio 2003 and 2005 are included in the iMacros download. The samples especially show the threading features of iMacros. You can run and control many browsers simultaneously.
VB.NET Examples
VB.NET sample projects for Visual Studio 2003 and 2005 are included in the iMacros download.. The samples especially show the threading features of iMacros. You can run and control many browsers simultaneously.
ASP.NET Examples
A ASP.NET sample project is included in the download. It uses the iimRunner feature.
VB6 Examples
A complete VB6 projects is included in the download. In addition, all VBS and VBA samples work with VB6 with no or almost no modifications.
Recent Project Samples
Click here for some recent project samples