I use iMacros with a homegrown Web application. The user pushes a button in Excel to open a browser and start moving between pages and extracting data from this application. The browser is opened with the following commands:
Set iim1 = CreateObject("iMacros")
iret = iim1.iimInit(, False)
Sometimes the homegrown application will throw an error and the macro stops because the application hasn't moved to the correct screen.
I would like the user to push a button and have the macro use the existing browser because the homegrown application is already opened in it.
However, I'm having trouble getting this to work. I'm getting a "object variable or With block variable not set" message because iret is "empty" at this point.
How can i set "iret" to the existing browser. Is this possible?
Thanks for the help......
Browser already open
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
Re: Browser already open
Not sure if it can help, but starting a Macro from a .BAT File using
will use the already open FF Instance and will run your Macro in a new Tab.
(Launching Firefox with "Start" would start a new Instance of FF...)
Code: Select all
"C:\Program Files\Mozilla Firefox\firefox.exe" imacros://run/?m="_My Script.iim"
(Launching Firefox with "Start" would start a new Instance of FF...)
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Re: Browser already open
Thanks...........but we don't use firefox. We use the iMacros browser.....
Re: Browser already open
Maybe worth trying with imacros.exe then... (instead of firefox.exe...)shaves wrote:Thanks...........but we don't use firefox. We use the iMacros browser.....
- (F)CI(M) = (Full) Config Info (Missing): iMacros + Browser + OS (+ all 3 Versions + 'Free'/'PE'/'Trial').
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
- FCI not mentioned: I don't even read the Qt...! (or only to catch Spam!)
- Script & URL help a lot for more "educated" Help...
Re: Browser already open
you can solve this issue by the firefox plugin,it will works.
shaves wrote:Thanks...........but we don't use firefox. We use the iMacros browser.....