Scripting interface returns error code -1

Discussions and Tech Support specific to the iMacros Firefox add-on.
Forum rules
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
Posts: 9
Joined: Mon Feb 05, 2007 5:49 pm

Scripting interface returns error code -1

Post by lardawg » Sun Jun 03, 2007 8:15 pm

I uninstalled all previous versions of iBrowser and firefox
I follwoed the instructions at: ... +scripting

I downloaded the imacros_for_firefox- file
but I didn't know how to "install" it.
Is there somewhere specific I need to put this file?

When I ran the beta-test.vbs file, Firefox appeared with the iBrowser icon.
However, when I exited firefox I received an error message
"The Scripting interface returned error code: -1"

The same error occured when running beta-test-unicode.vbs

I tried running the followinf VB code:

iret = iim1.iimInit("-fx -silent", "False")

'Set Phonenumber
iiret = iim1.iimset("-var_PhoneNum", "805-981-9115")
!!!!!!! iiret returned value was 1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
'Nav to ReversePhone page and put in Phone Number
iplay = iim1.iimPlay("Testit")
!!!!!!! iplay returned value was -1 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Testit is:
TAG POS=1 TYPE=INPUT:TEXT FORM=NAME:wp_rp_form ATTR=ID:first_field CONTENT={{PhoneNum}}

Any suggestions?

User avatar
Tech Support
Posts: 4947
Joined: Tue Sep 20, 2005 7:25 pm

Post by Tech Support » Sun Jun 03, 2007 9:34 pm

Thanks for this report. It seems that iMacros for Firefox completes the macro ok but returns -1 (1 would be correct). This will be fixed ASAP.

As a workaround, you can look at the text returned by iimGetLastError instead of checking the error code of iimPlay.
Post Reply