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 Google search box (at the top of each forum page) to see if a similar problem or question has already been addressed. This will search the entire contents of the forums as well as the iMacros Wiki.
3. We can respond much faster to your posts if you include the following information:

CLICK HERE FOR IMPORTANT INFORMATION TO INCLUDE IN YOUR POST

Answering your own posts (e.g. attempting to "bump" your topic) drops your topic from the list of unanswered threads, so it may actually receive less views.

Download Not Detected

by shaves on Fri Mar 30, 2018 9:19 am

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........
shaves
 
Posts: 61
Joined: Tue Apr 29, 2008 11:50 am

Re: Download Not Detected

by chivracq on Fri Mar 30, 2018 9:38 am

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...
chivracq
 
Posts: 7714
Joined: Sat Apr 13, 2013 6:07 am
Location: Amsterdam (NL)


Return to Command Line and Scripting Interface

Who is online

Users browsing this forum: No registered users and 3 guests

-->