Search found 31 matches

by mguttman
Thu Jul 22, 2010 12:24 pm
Forum: General Support & Discussions
Topic: Once again: ONDOWNLOAD is ignored
Replies: 23
Views: 14685

Re: Once again: ONDOWNLOAD is ignored

Thanks Daniel!

I'll write up a test script shortly!
by mguttman
Mon Jun 21, 2010 12:47 pm
Forum: Command Line and Scripting Interface
Topic: PERL $b->iimGetLastErrorMessage() method returns "undef"
Replies: 14
Views: 26466

Re: PERL $b->iimGetLastErrorMessage() method returns "undef"

Dear Matt, Well, not exactly answered yet. What I use now is $play_iret = $b->iimPlay($macro_name, 60) to get the result code in $play_iret. But it often gives very little information. Basically, if it finished OK ($play_iret == 1) or not. If it didn't, I have very little to go on. For example, I of...
by mguttman
Thu Apr 15, 2010 10:10 am
Forum: Command Line and Scripting Interface
Topic: PERL $b->iimGetLastErrorMessage() method returns "undef"
Replies: 14
Views: 26466

Re: PERL $b->iimGetLastErrorMessage() method returns "undef"

Hi Daniel!

That's odd! I simplified it long ago. In fact, I looked at the original code deposited in my very first post and the sub() part was already commented out. So, as I said, for the life of me I cannot explain it...

Well, at least it works!

Thanks Daniel!
by mguttman
Tue Apr 13, 2010 10:15 am
Forum: Command Line and Scripting Interface
Topic: PERL $b->iimGetLastErrorMessage() method returns "undef"
Replies: 14
Views: 26466

Re: PERL $b->iimGetLastErrorMessage() method returns "undef"

Hello, hello Daniel! Hurray! Congratulations, it is working! But now, please tell me what was changed??? For the life of me, I couldn't see any material difference to the original post. Or did iMacro change? I am not aware of any upgrade to iMacro lately. Or is it silently upgraded? Please enlighten,
by mguttman
Fri Apr 02, 2010 6:33 am
Forum: General Support & Discussions
Topic: Once again: ONDOWNLOAD is ignored
Replies: 23
Views: 14685

Re: Once again: ONDOWNLOAD is ignored

Hag Pesach Sameach to you too! Don't worry! As I posted here before, as far as my application is concerned, it is solved: I use Perl to analyze, move and rename the downloaded files from their default download folder to their intended place. No problem. I hope this presents you with an opportunity t...
by mguttman
Thu Apr 01, 2010 3:33 pm
Forum: Command Line and Scripting Interface
Topic: PERL $b->iimGetLastErrorMessage() method returns "undef"
Replies: 14
Views: 26466

Re: PERL $b->iimGetLastErrorMessage() method returns "undef"

Dear Daniel, Well, it seems that my computer is jinxed or something! What works at your end doesn't at mine... :evil: Did you actually ran it from Perl? I did try to find "Microsoft" on the Google page. Running iMacro directly from FF indeed ended with Error: "RuntimeError: element A ...
by mguttman
Tue Mar 30, 2010 1:29 pm
Forum: General Support & Discussions
Topic: Once again: ONDOWNLOAD is ignored
Replies: 23
Views: 14685

Re: Once again: ONDOWNLOAD is ignored

Yes Daniel, I am running it directly from Firefox. I always do that first, before ever trying to do it from PERL.

And Daniel, please ask as many questions as you might think off. As a great mentor of mine said: "There are no stupid questions, just stupid answers...!" :wink:
by mguttman
Tue Mar 30, 2010 12:54 pm
Forum: General Support & Discussions
Topic: Once again: ONDOWNLOAD is ignored
Replies: 23
Views: 14685

Re: Once again: ONDOWNLOAD is ignored

Oh yes! It is my Windows "My Documents" and all the spaces were duly replaced with '<SP>'!

I even tried to use '/' (a forward slash) as a folder separator in lieu of '\', and even '\\', and it is always the same, default dir and file names.
by mguttman
Tue Mar 30, 2010 12:18 pm
Forum: General Support & Discussions
Topic: Once again: ONDOWNLOAD is ignored
Replies: 23
Views: 14685

Re: Once again: ONDOWNLOAD is ignored

Dear Daniel,

I am sorry, but no, it works as before, default name and download dir.

(IMHO the culprit is the fact that between the HTML page and the exported TSV file, there is an exporting script, translating the (source of the) HTML page into Tab-Separated-Value (TSV) text.)
by mguttman
Tue Mar 30, 2010 12:06 pm
Forum: General Support & Discussions
Topic: Once again: ONDOWNLOAD is ignored
Replies: 23
Views: 14685

Re: Once again: ONDOWNLOAD is ignored

Dear Daniel, To start from the end: no, it didn't work! (At least not in my ecosystem which I guess is not that different from yours, may be even with fewer barriers between my machine and the Internet.) It still used the site's default name and was downloaded into the default download directory of ...
by mguttman
Sun Mar 28, 2010 5:10 pm
Forum: Command Line and Scripting Interface
Topic: PERL $b->iimGetLastErrorMessage() method returns "undef"
Replies: 14
Views: 26466

Re: PERL $b->iimGetLastErrorMessage() method returns "undef"

Hi everybody, (It seems I am corresponding with myself only... :wink: !) Well, I made some progress! I now use the "Return Code" of the scripting interface to find the result of the operation. My PERL script shows some unexpected behavior: * iimInit seems to consistently return the OK code...
by mguttman
Sat Mar 27, 2010 8:00 am
Forum: Command Line and Scripting Interface
Topic: PERL $b->iimGetLastErrorMessage() method returns "undef"
Replies: 14
Views: 26466

Re: PERL $b->iimGetLastErrorMessage() method returns "undef"

Hi, me again!

I tried the iimGetLastError() method too. Although this one returns a defined value, the value is always zero!

What do I do wrong???

Regards,
Meir
by mguttman
Wed Mar 24, 2010 5:47 pm
Forum: Command Line and Scripting Interface
Topic: PERL $b->iimGetLastErrorMessage() method returns "undef"
Replies: 14
Views: 26466

PERL $b->iimGetLastErrorMessage() method returns "undef"

Dear iOpus folks I am using iMacro mainly embedded in PERL scripts, where most of these are invoked by a scheduler, unattended. Nicely enough, iOpus provided a scripting interface class to iMacro to a number of languages, including PERL. Since Internet sites responses are not 100% reliable, too ofte...
by mguttman
Wed Mar 24, 2010 4:40 pm
Forum: General Support & Discussions
Topic: Once again: ONDOWNLOAD is ignored
Replies: 23
Views: 14685

Re: Once again: ONDOWNLOAD is ignored

Dear Daniel, I hope I understood you. I couldn't run the Macro itself in Admin mode. What I did was to open the FireFox browser in Admin mode. And it did the same: indeed downloading, but ignoring the ONDOWNLOAD clause. In other words, The folder was the default FireFox download folder and the file ...
by mguttman
Tue Mar 23, 2010 3:31 pm
Forum: General Support & Discussions
Topic: Once again: ONDOWNLOAD is ignored
Replies: 23
Views: 14685

Re: Once again: ONDOWNLOAD is ignored

Dear Daniel, I copied and pasted the very same script from the forum page and "played" it. It worked in the sense that as before, it downloaded the required file, but contrary to the edited ONDOWNLOAD clause it did so to the default directory as opposed to the ONDOWNLOAD specified director...