I am confused how to use iimGetStopwatch with Perl (or other similar language). Some non-VBS example would probably help.
I can get the return value but not the stopwatch ID or measured time.
This kind of VBS example works fine:
Code: Select all
iret = iim1.iimGetStopwatch(3,id,download)
But e.g. these do not bring the measured time into a Perl script:
Code: Select all
$time = $b->iimGetStopwatch(3,$id,$download);
$time = $b->iimGetStopwatch(3,\$id,\$download);
$time,$id,$download=$b->iimGetStopwatch(3);
I would never expect the first trial to return anything to "$download" -but that's the way explained in the reference manual. Second way could work -but it doesn't change the content of "$Download". I guess reference manual is VBS specific. How to use this function with other languages? Also other example (e.g. C#) would probably help me out.
For this trial i have used iMacros v10 on Windows 7. with IE and standalone.
Best regards,
Jussi