WAIT SECONDS=#DOWNLOADCOMPLETE#
Forum rules
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
iMacros EOL - Attention!
The renewal maintenance has officially ended for Progress iMacros effective November 20, 2023 and all versions of iMacros are now considered EOL (End-of-Life). The iMacros products will no longer be supported by Progress (aside from customer license issues), and these forums will also no longer be moderated from the Progress side.
Thank you again for your business and support.
Sincerely,
The Progress Team
Before asking a question or reporting an issue:
1. Please review the list of FAQ's.
2. Use the search box (at the top of each forum page) to see if a similar problem or question has already been addressed.
3. Try searching the iMacros Wiki - it contains the complete iMacros reference as well as plenty of samples and tutorials.
4. We can respond much faster to your posts if you include the following information: CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST
WAIT SECONDS=#DOWNLOADCOMPLETE#
Hi,
i wrote a litte macro and included
WAIT SECONDS=#DOWNLOADCOMPLETE#
'cos i want the next macro-steps to be run AFTER the DL is completed.
It ran the marco 4 times successfully and the 5th time (and from that time on) an errormessage pops up:
Error# 809: WAIT Parameter must be the time in seconds
You find me confused... Why was it workin 4 times and then stopped?
thx for help
SVD
i wrote a litte macro and included
WAIT SECONDS=#DOWNLOADCOMPLETE#
'cos i want the next macro-steps to be run AFTER the DL is completed.
It ran the marco 4 times successfully and the 5th time (and from that time on) an errormessage pops up:
Error# 809: WAIT Parameter must be the time in seconds
You find me confused... Why was it workin 4 times and then stopped?
thx for help
SVD
- Tech Support
- Posts: 4948
- Joined: Tue Sep 20, 2005 7:25 pm
- Contact:
Re: WAIT SECONDS=#DOWNLOADCOMPLETE#
Hello Tech Support,
Thank you for your answer here; I know it was confusing to me. It seems like the WIKI is inconsistent with this answer so it might be good to update that document.
http://wiki.imacros.net/WAIT#Examples
Thank you for your answer here; I know it was confusing to me. It seems like the WIKI is inconsistent with this answer so it might be good to update that document.
http://wiki.imacros.net/WAIT#Examples
Re: WAIT SECONDS=#DOWNLOADCOMPLETE#
Hmm. I just installed the plugin for the first time. Without a WAIT command I get the following error:Tech Support wrote:This is the default behavior now. No wait command is required in this case.i want the next macro-steps to be run AFTER the DL is completed.
RuntimeError: element A specified by TXT:Toolbox was not found
With WAIT, it works fine. It doesn't appear to me that it's by default waiting for the page to be completely loaded.
I also tried WAIT SECONDS=#DOWNLOADCOMPLETE# and got the following error:
BadParameter: expected SECONDS=<number>as parameter 1, macro line 6
This really has me scratching my head, as the documentation states this is correct. Anyone know what's going on?
I'm using iMacros 6.0.6.5 on Firefox 3.0.1
Thanks!
- Tech Support
- Posts: 4948
- Joined: Tue Sep 20, 2005 7:25 pm
- Contact:
Re: WAIT SECONDS=#DOWNLOADCOMPLETE#
#DOWNLOADCOMPLETE# is not support (and not required) in Firefox. I updated the Wiki accordingly.
Re:
this is not work.Tech Support wrote:This is the default behavior now. No wait command is required in this case.i want the next macro-steps to be run AFTER the DL is completed.
my code:
TAG POS=1 TYPE=SPAN ATTR=TXT:buy -------after this no any wait(load a iframe)
TAG POS=1 TYPE=INPUT:BUTTON ATTR=VALUE:ok ------error (button ok is not found. load is not complete)
wiki is not update. wait is not work, bug? demerit?Tech Support wrote:#DOWNLOADCOMPLETE# is not support (and not required) in Firefox. I updated the Wiki accordingly.
i think maybe #DOWNLOADCOMPLETE# is required.
I'm using iMacros 6.0.7.5 on Firefox 3.0.3
Re: WAIT SECONDS=#DOWNLOADCOMPLETE#
This feature needs to be re-added for Firefox, My scripts fail due to it not waiting for the download to finish if I add a wait time in manually in seconds the scripts work again. Something is flawed in the firefox implementation.
Re: WAIT SECONDS=#DOWNLOADCOMPLETE#
This feature SHOULD be enabled in Firefox. Definetely. I dont see the reason why this one was removed.
Re: WAIT SECONDS=#DOWNLOADCOMPLETE#
The feature is working for me, I am using Mozilla Firefox Portable 3.0.10 and the add-on of iMacros 6.2.1.5 (of-course there is a newer version available).
So, the command
isn't working, and gives an error message (like described above by others),
but the folowing code works perfect for me, waiting for download to complete:
the whole code looks something like this:
and all this code is repeated using this javascript:
Best regards,
Ionut
PS:
Thank you very much for this software !
And for providing detailed Tech Support
So, the command
Code: Select all
WAIT SECONDS=#DOWNLOADCOMPLETE#
but the folowing code works perfect for me, waiting for download to complete:
Code: Select all
ONDOWNLOAD FOLDER="{{!VAR1}}" FILE=* WAIT=YES
TAG POS=1 TYPE=INPUT:IMAGE FORM=NAME:dlf ATTR=SRC:http://rs*.rapidshare.com/img*/download_file.jpg
' I saw that next command will wait for download to complete
WAIT SECONDS=1
Code: Select all
'VERSION BUILD=6210326 RECORDER=FX
TAB T=1
WAIT SECONDS=1
URL GOTO=http://www.filecrop.com/search.php?w=2009+dialogys&pos=1&opt_t=1&opt_d=0&order=score&mod=dec&size_i=&size_f=&c=100
TAG POS=1 TYPE=A ATTR=TXT:{{myfile}}
TAG POS=1 TYPE=A ATTR=TXT:http://rapidshare.com/files/*/Dialogys_3.72r.part*.rar
TAG POS=1 TYPE=INPUT:SUBMIT FORM=ID:ff ATTR=VALUE:Free<SP>user
' We should wait another 100seconds
WAIT SECONDS=101
set !VAR1 C:\Dokumente<SP>und<SP>Einstellungen\p3ds\Eigene<SP>Dateien\IOJ\
add !VAR1 Manuale<SP>auto\Manuale<SP>Renault\Dialogys<SP>3.72r\
ONDOWNLOAD FOLDER="{{!VAR1}}" FILE=* WAIT=YES
TAG POS=1 TYPE=INPUT:IMAGE FORM=NAME:dlf ATTR=SRC:http://rs*.rapidshare.com/img*/download_file.jpg
' I saw that next command will wait for download to complete
WAIT SECONDS=1
' folowing command isn't required
'ONDOWNLOAD FOLDER="{{!VAR1}}" FILE=* WAIT=YES
' folowing command isn't required
'WAIT SECONDS=1
' we will close the tab now
TAB CLOSE
' wait until download is completed
' next command doesn't work in Firefox
'WAIT SECONDS=#DOWNLOADCOMPLETE#
' so we will use this one... 40min = 2400sec
' later edit: folowing command not anymore necessary
'WAIT SECONDS=2400
' and then wait the Rapid Share waiting time of 15min = 900sec
WAIT SECONDS=900
Code: Select all
//imacros-js:showsteps no
var i, j, s;
for (j = 17; j < 60; j++) {
s = "Dialogys_3.72r.part" + j + ".rar"
// iimDisplay ("Current to download : " + s);
iimSet ("myfile", s)
// We will create a new TAB and that will be the active tab.
// javascript:void(window.open("url"))
gBrowser.selectedTab = gBrowser.addTab("");
i = iimPlay("#Current.iim");
}
Ionut
PS:
Thank you very much for this software !
And for providing detailed Tech Support