Download Not Detected

Discussions and Tech Support related to automating the iMacros Browser or Internet Explorer from any scripting and programming language, such as VBS (WSH), VBA, VB, Perl, Delphi, C# or C++.
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
Post Reply
shaves
Posts: 64
Joined: Tue Apr 29, 2008 6:50 pm

Download Not Detected

Post by shaves » Fri Mar 30, 2018 4:19 pm

I have a macro that used to download a report off of an internal application. It used to work just fine. Several months ago, we were converted to Office 365 and now I cannot get any reports to download. Here is the code I got when I recorded the download process; which worked just like it was supposed to when I was recording it. The report was downloaded and could be found in "R:\My Documents\iMacros\Downloads\".

VERSION BUILD=10.3.27.5830
TAB T=1
TAB CLOSEALLOTHERS
ONDOWNLOAD FOLDER=* FILE=* WAIT=YES

I then put the code above into my VBA script and tried to run it:

IM = ""
IM = "CODE:"
IM = IM + "TAB T=1" + vbNewLine
IM = IM + "TAB CLOSEALLOTHERS" + vbNewLine
IM = IM + "SET !TIMEOUT_STEP 60" + vbNewLine
IM = IM + "ONDOWNLOAD FOLDER=* FILE=* WAIT=YES" + vbNewLine
IM = IM + "WAIT SECONDS=10" + vbNewLine

iret = iim1.iimPlay(IM)

When the VBA script runs, iMacros displays a "download not detected" message. I've tried this in both the iMacros browser and the IE browser and got the same result. I've also tried specifying the file name and the file location and get the same results. I've also tried using a different file extension like "xlsx" and get the same results. I've also tried using "SET !USE_DOWNLOADMANAGER NO" and "SET !USE_DOWNLOADMANAGER YES". No difference.

Any suggestions on resolving this issue would be greatly appreciated. I'm not sure if this is an Office 365 or iMacros or some internal security issue or even something else that is causing this situation.

Here is my system info:

Windows 7 Enterprise
32 bit operating system
Office 365 (Excel 2016)
iMacros 10.3.27.5830

Thanks for your help. I appreciate you taking the time to look at this........
chivracq
Posts: 8323
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: Download Not Detected

Post by chivracq » Fri Mar 30, 2018 4:38 pm

shaves wrote:I have a macro that used to download a report off of an internal application. It used to work just fine. Several months ago, we were converted to Office 365 and now I cannot get any reports to download. Here is the code I got when I recorded the download process; which worked just like it was supposed to when I was recording it. The report was downloaded and could be found in "R:\My Documents\iMacros\Downloads\".

Code: Select all

VERSION BUILD=10.3.27.5830
TAB T=1
TAB CLOSEALLOTHERS
ONDOWNLOAD FOLDER=* FILE=* WAIT=YES
I then put the code above into my VBA script and tried to run it:

Code: Select all

IM = ""
IM = "CODE:"
IM = IM + "TAB T=1" + vbNewLine
IM = IM + "TAB CLOSEALLOTHERS" + vbNewLine
IM = IM + "SET !TIMEOUT_STEP 60" + vbNewLine
IM = IM + "ONDOWNLOAD FOLDER=* FILE=* WAIT=YES" + vbNewLine
IM = IM + "WAIT SECONDS=10" + vbNewLine

iret = iim1.iimPlay(IM)
When the VBA script runs, iMacros displays a "download not detected" message. I've tried this in both the iMacros browser and the IE browser and got the same result. I've also tried specifying the file name and the file location and get the same results. I've also tried using a different file extension like "xlsx" and get the same results. I've also tried using "SET !USE_DOWNLOADMANAGER NO" and "SET !USE_DOWNLOADMANAGER YES". No difference.

Any suggestions on resolving this issue would be greatly appreciated. I'm not sure if this is an Office 365 or iMacros or some internal security issue or even something else that is causing this situation.

Here is my system info:

Code: Select all

Windows 7 Enterprise
32 bit operating system
Office 365 (Excel 2016)
iMacros 10.3.27.5830
Thanks for your help. I appreciate you taking the time to look at this........
Yep, normal..., you have an 'ONDOWNLOAD' Statement but no 'TAG' or 'URL GOTO' or whatever Statement after it that will start/trigger the Download... :!:
- (F)CIM = (Full) Config Info Missing: iMacros + Browser + OS with all 3 Versions...
- I usually don't even read the Question if that (required) Info is not mentioned...
- Script & URL usually help a lot for a more "educated" Help...
Post Reply