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
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
-
Marcy12181
- Posts: 9
- Joined: Fri Jul 09, 2021 6:14 am
Post
by Marcy12181 » Fri Jul 09, 2021 9:00 am
Hi everyone I'm trying to run a macro via VBS and I got this:
Code: Select all
10:36:55: Error: "-1100: LoadFailed"
Could not load macro: Macro file U:\Main\ -macro Test_Login1133iF .iim does not exist
This is the VBS code:
Code: Select all
Option Explicit
Dim iim1, iret
Set iim1 = CreateObject("iMacros")
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.shell")
WshShell.Run ("""C:\Program Files\Progress\iMacros\iMacros.exe""")
WScript.Sleep(2000)
iret = iim1.iimOpen("", False)
WScript.Sleep(2000)
iret = iim1.iimPlay("Test_Login1133iF")
WScript.Sleep(2000)
WScript.Quit(iret)
I'm using iMacros Enterprise 2021.0 and windows 10 (I get the same issue with FF 89.0.2
Any suggestion? I'm a complete newbie
-
Marcy12181
- Posts: 9
- Joined: Fri Jul 09, 2021 6:14 am
Post
by Marcy12181 » Fri Jul 09, 2021 12:13 pm
Small update... If I run the batch file below, everything works nicely
Code: Select all
@echo off
cd C:\Program Files\Progress\iMacros
imacros -macro Test_Login1133iF.iim -noexit
-
chivracq
- Posts: 10301
- Joined: Sat Apr 13, 2013 1:07 pm
- Location: Amsterdam (NL)
Post
by chivracq » Fri Jul 09, 2021 1:20 pm
Marcy12181 wrote: ↑Fri Jul 09, 2021 9:00 am
Hi everyone I'm trying to run a macro via VBS and I got this:
Code: Select all
10:36:55: Error: "-1100: LoadFailed"
Could not load macro: Macro file U:\Main\ -macro Test_Login1133iF .iim does not exist
This is the VBS code:
Code: Select all
Option Explicit
Dim iim1, iret
Set iim1 = CreateObject("iMacros")
Dim WshShell
Set WshShell = WScript.CreateObject("WScript.shell")
WshShell.Run ("""C:\Program Files\Progress\iMacros\iMacros.exe""")
WScript.Sleep(2000)
iret = iim1.iimOpen("", False)
WScript.Sleep(2000)
iret = iim1.iimPlay("Test_Login1133iF")
WScript.Sleep(2000)
WScript.Quit(iret)
I'm using iMacros Enterprise 2021.0 and windows 10 (I get the same issue with FF 89.0.2
Any suggestion? I'm a complete newbie
>>>
Marcy12181 wrote: ↑Fri Jul 09, 2021 12:13 pm
Small update... If I run the batch file below, everything works nicely
Code: Select all
@echo off
cd C:\Program Files\Progress\iMacros
imacros -macro Test_Login1133iF.iim -noexit
@TechSup will get some Notification about your Thread, but I "think" they are on Holiday..., hopefully back on Monday, I would think...
>>>
My 2 Cts, as I'm not very knowledgeable with iMB and 'SI' (Scripting Interface), but I think I understood you need to use the '-ng' Switch with '
iimOpen()' for iMB v2021.0/v14.2...
Hum, and the Error Msg looks a bit "strange" to me:
Code: Select all
Could not load macro: Macro file U:\Main\ -macro Test_Login1133iF .iim does not exist
It looks like the Path has been truncated into several parts..., maybe related to the 'U:\' Mapped Drive..., => maybe worth to try if you also have the Pb if you use some "Local" Folder (on your 'C:\' Drive...)
- (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...
-
Marcy12181
- Posts: 9
- Joined: Fri Jul 09, 2021 6:14 am
Post
by Marcy12181 » Fri Jul 09, 2021 4:03 pm
chivracq wrote: ↑Fri Jul 09, 2021 1:20 pm
@TechSup will get some Notification about your Thread, but I "think" they are on Holiday..., hopefully back on Monday, I would think...
>>>
My 2 Cts, as I'm not very knowledgeable with iMB and 'SI' (Scripting Interface), but I think I understood you need to use the '-ng' Switch with '
iimOpen()' for iMB v2021.0/v14.2...
Hum, and the Error Msg looks a bit "strange" to me:
Code: Select all
Could not load macro: Macro file U:\Main\ -macro Test_Login1133iF .iim does not exist
It looks like the Path has been truncated into several parts..., maybe related to the 'U:\' Mapped Drive..., => maybe worth to try if you also have the Pb if you use some "Local" Folder (on your 'C:\' Drive...)
Thanks for the quick reply
I've tried to use my local drive... same error, same truncated path
Unluckily (or luckily
) I'm not at work... can't test it anymore till Monday
-
chivracq
- Posts: 10301
- Joined: Sat Apr 13, 2013 1:07 pm
- Location: Amsterdam (NL)
Post
by chivracq » Fri Jul 09, 2021 4:14 pm
Marcy12181 wrote: ↑Fri Jul 09, 2021 4:03 pm
Thanks for the quick reply
I've tried to use my local drive... same error, same truncated path
Unluckily (or luckily
) I'm not at work... can't test it anymore till Monday
OK, and did you try also with the '-ng' Switch...?, =>:
... And @TechSup will "take over" on Monday after the WE, I reckon...
I have to "go" soon anyway..., it is a bit "Summertime" (in NL), and I'm DJ'ing this Evening for some nice Event in A'dam, ah-ah...!
- (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...
-
Marcy12181
- Posts: 9
- Joined: Fri Jul 09, 2021 6:14 am
Post
by Marcy12181 » Fri Jul 09, 2021 4:33 pm
OK, and did you try also with the '-ng' Switch...?, =>:
I'll try it Monday
I have to "go" soon anyway..., it is a bit "Summertime" (in NL), and I'm DJ'ing this Evening for some nice Event in A'dam, ah-ah...!
Great
I also live in NL
R'dam (but I don't speak Dutch
)
Thank you again and have a great weekend
-
chivracq
- Posts: 10301
- Joined: Sat Apr 13, 2013 1:07 pm
- Location: Amsterdam (NL)
Post
by chivracq » Fri Jul 09, 2021 9:58 pm
Marcy12181 wrote: ↑Fri Jul 09, 2021 4:33 pm
OK, and did you try also with the '-ng' Switch...?, =>:
I'll try it Monday
I have to "go" soon anyway..., it is a bit "Summertime" (in NL), and I'm DJ'ing this Evening for some nice Event in A'dam, ah-ah...!
Great
I also live in NL
R'dam (but I don't speak Dutch
)
Thank you again and have a great weekend
Ah..., OK about the '-ng' Switch...
And yep-yep, I "knew" about R'dam for you, Mod on the Forum, so I can see your IP-Address,,, which I always "use" to check the IP-Reputation for 1st time Posters before approving their 1st Post anyway..., also why I mentioned "A'dam" and not only "NL"... (Still DJ'ing now..., and in Zaandam actually, ah-ah...)
- (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...
-
chivracq
- Posts: 10301
- Joined: Sat Apr 13, 2013 1:07 pm
- Location: Amsterdam (NL)
Post
by chivracq » Mon Jul 12, 2021 12:28 pm
OK, well, good News then, and glad it works...!, (... because @TechSup doesn't seem to be back..., or they haven't checked the Forum yet...)
And Thanks for the Follow-up...
- (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...