iimget ERROR!

Support for iMacros. The iMacros software is the unique solution for automating every activity inside a web browser, for data extraction and web testing.
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
Post Reply
User avatar
vardipoor.m
Posts: 34
Joined: Sun Jan 17, 2021 8:58 am

iimget ERROR!

Post by vardipoor.m » Tue Feb 16, 2021 8:35 am

hi
I USE IMACROS V12.5.503 WIN 10 PRO X64

Code: Select all

   SET iim = CreateObject ("imacros")
   iret = iim.iimOpen("")

   macro = "SET VAR ""mehrdad""" + vbNewLine
   ' MsgBox iret
   iret = iim.iimPlayCode(macro)

   mac = iim.iimGet("var")
   iim.iimSet "macrovar", mac
why this vbs get error: "object dosent support this prperty or method: 'iim.iimget'"?
i even edit this line

Code: Select all

 mac = iim.iimGet("var")
to

Code: Select all

 mac = iimGet("var")
but i get new error: "type mismatch iimget"
Thanks to the clever and clean administrator of this forum
chivracq
Posts: 10301
Joined: Sat Apr 13, 2013 1:07 pm
Location: Amsterdam (NL)

Re: iimget ERROR!

Post by chivracq » Tue Feb 16, 2021 5:19 pm

vardipoor.m wrote:
Tue Feb 16, 2021 8:35 am
hi
I USE

Code: Select all

IMACROS V12.5.503 WIN 10 PRO X64

Code: Select all

   SET iim = CreateObject ("imacros")
   iret = iim.iimOpen("")

   macro = "SET VAR ""mehrdad""" + vbNewLine
   ' MsgBox iret
   iret = iim.iimPlayCode(macro)

   mac = iim.iimGet("var")
   iim.iimSet "macrovar", mac
why this vbs get error: "object dosent support this prperty or method: 'iim.iimget'"?
i even edit this line

Code: Select all

 mac = iim.iimGet("var")
to

Code: Select all

 mac = iimGet("var")
but i get new error: "type mismatch iimget"

Please open Threads using the 'Scripting Interface' => in the 'Scripting Interface' Sub-Forum...! :idea: (... if you want to reach the "correct" (Advanced) Users with the corresponding Expertise..., and I don't answer anyway otherwise...)

But yep, 'normal", 'iimGet()' doesn't exist... :?
You only have 'iimSet()' and 'iimGetExtract()' (or old 'iimGetLastExtract()') as supported Commands to communicate between a main Script in '.js'/'.vbs'/etc and some Sub-Script in '.iim' Language... :idea:
- (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...
Post Reply