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 33: | Line 33: | ||
#[[Example-ErrorLevel]] | #[[Example-ErrorLevel]] | ||
#[[Tray-Example-Batchfile.bat]] | #[[Tray-Example-Batchfile.bat]] | ||
+ | |||
+ | |||
+ | == ASP Examples == | ||
+ | |||
+ | An ASP sample project is included in the [http://www.iopus.com/download/imacros iMacros download]. It uses the [[iimRunner]] feature. | ||
+ | |||
+ | == ASP.NET Examples == | ||
+ | |||
+ | An ASP.NET sample project is included in the [http://www.iopus.com/download/imacros iMacros download]. It uses the [[iimRunner]] feature. | ||
+ | |||
+ | == C# Examples == | ||
+ | |||
+ | C# 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. | ||
+ | |||
+ | |||
+ | == PHP Examples == | ||
+ | |||
+ | A PHP sample project is included in the [http://www.iopus.com/download/imacros iMacros download]. It uses the [[iimRunner]] feature. | ||
== Visual Basic Scripts == | == Visual Basic Scripts == | ||
Line 51: | Line 69: | ||
Important: You can use the same syntax shown here in any Windows programming and scripting language, for example ASP, ASP.NET, C#, [http://www.iopus.com/imacros/tutorials/foxpro.htm Foxpro], [http://www.iopus.com/imacros/tutorials/java.htm Java], Javascript, [http://www.iopus.com/imacros/tutorials/perl.htm Perl], PHP, [http://www.iopus.com/imacros/tutorials/python.htm Phyton], Ruby, VBA, VB6, VB.NET and VBS (shown here). | Important: You can use the same syntax shown here in any Windows programming and scripting language, for example ASP, ASP.NET, C#, [http://www.iopus.com/imacros/tutorials/foxpro.htm Foxpro], [http://www.iopus.com/imacros/tutorials/java.htm Java], Javascript, [http://www.iopus.com/imacros/tutorials/perl.htm Perl], PHP, [http://www.iopus.com/imacros/tutorials/python.htm Phyton], Ruby, VBA, VB6, VB.NET and VBS (shown here). | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== VB.NET Examples == | == VB.NET Examples == | ||
Line 65: | Line 74: | ||
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. | 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. | ||
− | == | + | == VB6 Examples == |
− | + | A complete VB6 projects is included in the [http://www.iopus.com/download/imacros iMacros download]. In addition, all VBS and VBA samples work with VB6 with no or almost no modifications. | |
− | == | + | == VBA Scripting Examples == |
− | + | #[[Excel_VBAExampleCode|Excel-VBA-Submit-and-Extract]] | |
− | + | #[[Excel-VBA-StockSearch]] | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Recent Project Samples == | == Recent Project Samples == | ||
Click here for some [[Recent_Project_Samples|recent project samples]] | Click here for some [[Recent_Project_Samples|recent project samples]] |
Revision as of 12:28, 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
ASP Examples
An ASP sample project is included in the iMacros download. It uses the iimRunner feature.
ASP.NET Examples
An ASP.NET sample project is included in the iMacros download. It uses the iimRunner feature.
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.
PHP Examples
A PHP sample project is included in the iMacros download. It uses the iimRunner feature.
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).
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.
VB6 Examples
A complete VB6 projects is included in the iMacros download. In addition, all VBS and VBA samples work with VB6 with no or almost no modifications.
VBA Scripting Examples
Recent Project Samples
Click here for some recent project samples