Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Expect to add support for the imacros API code
#35
in the sample, I see the following code, how to write code? let the imacros browser program and and QM generated EXE file to run together, Thank you!

@echo Example iMacros Batch File
@echo Tip: You may have to adjust iMacros default macros folder to iMacros\Macros\Demo

@REM %pf% expands to the right program location depending if it is x86 or x64 system
@setlocal
@set pf=%ProgramFiles%
@if not "[%ProgramFiles(x86)%]"=="[]" set pf=%ProgramFiles(x86)%

@REM %macropath% expands to the demo macros path
@set macropath=%~dp0..\..\Macros\Demo

"%pf%\Ipswitch\iMacros\iMacros.exe" -macro "%macropath%\FillForm.iim"
"%pf%\Ipswitch\iMacros\iMacros.exe" -macro "%macropath%\Loop-Csv-2-Web.iim" -loop 4

@echo Batch file completed
pause


Messages In This Thread

Forum Jump:


Users browsing this thread: 7 Guest(s)