Sorry, irrelevant to the point but this is the real code (accidentally omitted the elseif).
Option Explicit
Dim iim1,iret
Set iim1 = CreateObject("imacros")
iret = iim1.iimInit("",FALSE) 'connect to open iMacros browser window
Dim counter,counter2
counter = 1
counter2 = 1
Dim macro
Do While...
Sorry, I have no clue when it comes to objects. I'm trying to pass a macro onto this browser plugin called iMacros, and the example script they provided created the object this way. However, it does not work for me.
Option Explicit
Dim iim1,iret
Set iim1 = CreateObject("imacros")
iret =...
I'm unsure as to how to create an object properly. I keep on getting the error code 800A01AD - ActiveX component can't create object. I don't know if this is because of my script or my computer setup. I'm on Windows 7 x64.
I would like to close an open file from VBScript. So far with what I have, it keeps on telling me I need an object. I'm not sure how/what object to create for this instance. I'm very new to VBScript and still trying to get the hang of it with the object concept. Here's the little I have...
Thanks PHV! It worked!
I swear I tried that though... I must've only tried the sParams with or without quotes. My fault.
And thank you for the suggestions Geates.
Hi, i'm brand new to VBScript but I need to use it to choose a file from the windows file browser and pass the entire path of the file as a parameter to a bat file that i call. So far I have the option to pick a file, and the option to pass parameters to the bat file. I, however, can't get the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.