The macro
URL GOTO=https://www.gurufocus.com/stock/ufpi/dividend
ONDOWNLOAD FOLDER=E:\temp FILE=test.xlsx WAIT=YES
WAIT SECONDS=3
TAG POS=1 TYPE=BUTTON ATTR=SLOT:*Excel<SP>Download*
WAIT SECONDS=3
fails to handle the download dialog, which remains in focus after the macro completes, with "E:\temp\test.xlsx" not filled in. I'm using a portable 64-bit Firefox 67.0.4 with Free Imacros for Firefox 10.0.2.1450 on Windows 10 1803. Firefox is set to always ask what to do with downloads, including xlsx files.
I've noticed that iMacros doesn't always explain why a premium feature is failing in the free version. I don't see anything in the features comparison chart that indicates that ONDOWNLOAD is a paid-for-only feature though.
ONDOWNLOAD trouble
Forum rules
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
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
-
- Posts: 17
- Joined: Fri Sep 20, 2013 3:46 pm
Re: ONDOWNLOAD trouble
kangarootaco wrote: ↑Sun Jul 07, 2019 9:24 pmThe macro
fails to handle the download dialog, which remains in focus after the macro completes, with "E:\temp\test.xlsx" not filled in. I'm using a portable 64-bit Firefox 67.0.4 with Free Imacros for Firefox 10.0.2.1450 on Windows 10 1803. Firefox is set to always ask what to do with downloads, including xlsx files.Code: Select all
URL GOTO=https://www.gurufocus.com/stock/ufpi/dividend ONDOWNLOAD FOLDER=E:\temp FILE=test.xlsx WAIT=YES WAIT SECONDS=3 TAG POS=1 TYPE=BUTTON ATTR=SLOT:*Excel<SP>Download* WAIT SECONDS=3
I've noticed that iMacros doesn't always explain why a premium feature is failing in the free version. I don't see anything in the features comparison chart that indicates that ONDOWNLOAD is a paid-for-only feature though.
Well, it is documented on the 'ONDOWNLOAD' Wiki-Page:Code: Select all
portable 64-bit Firefox 67.0.4 with Free Imacros for Firefox 10.0.2.1450 on Windows 10 1803.
Parameters
FOLDER
[...]
iMacros for Chrome and Firefox freeware versions: FOLDER is not supported and downloads will always save to the browser's default download folder. File Access for iMacros Extensions is required to be able to specify a different location.
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE').
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
- I don't even read the Qt if that (required) Info is not mentioned...!
- Script & URL help a lot for more "educated" Help...
-
- Posts: 17
- Joined: Fri Sep 20, 2013 3:46 pm
Re: ONDOWNLOAD trouble
Thanks, though after changing the code to
Code: Select all
URL GOTO=https://www.gurufocus.com/stock/ufpi/dividend
ONDOWNLOAD FOLDER=* FILE=test.xlsx WAIT=YES
WAIT SECONDS=3
TAG POS=1 TYPE=BUTTON ATTR=SLOT:*Excel<SP>Download*
WAIT SECONDS=3