Search found 9 matches

by winxp4all
Wed Mar 23, 2011 4:29 am
Forum: Command Line and Scripting Interface
Topic: How to automate Firefox with iimInit ("-fx")
Replies: 46
Views: 58025

Re: How to automate Firefox with iimInit ("-fx")

I've upgraded to Firefox 4.0 and Imacros for Firefox 7.2.0.6 I've run both iMacros scripting version 7.22.1254 and the version 7.3beta. Neither of these scripting version works with Firefox 4.0 Here is the sample VBS script that you can use to test. Option Explicit Dim iim1, iret, s set iim1 = Creat...
by winxp4all
Mon Mar 14, 2011 4:14 am
Forum: Command Line and Scripting Interface
Topic: How to automate Firefox with iimInit ("-fx")
Replies: 46
Views: 58025

Re: How to automate Firefox with iimInit ("-fx")

I tried this and it seems to work:

Code: Select all

int rc = Integer.parseInt(iim.invoke("iimPlay","CODE: ...").toString())
Is there a better way than this convoluted expression?

I still cannot figure out how to invoke iimInit("-ie",false) using JACOB!
by winxp4all
Mon Mar 14, 2011 3:58 am
Forum: Command Line and Scripting Interface
Topic: How to automate Firefox with iimInit ("-fx")
Replies: 46
Views: 58025

Re: How to automate Firefox with iimInit ("-fx")

Your example of how to use iMacros scripting version with Java does not show how to check for return codes from the scripting commands. for example: iim.invoke("iimPlay","CODE: ...) how does one check the return code of iimPlay? Another question: how does one invoke iimInit("-ie",false) in a Java pr...
by winxp4all
Fri Mar 11, 2011 4:01 am
Forum: Command Line and Scripting Interface
Topic: How to automate Firefox with iimInit ("-fx")
Replies: 46
Views: 58025

Re: How to automate Firefox with iimInit ("-fx")

I've just finished two scripts that performed a few hundred extractions of both text and images as a test. The javascript version inside Firefox clearly showed memory leaks and the eventual crash of firefox. I am not sure who the culprit is. The scripting version using IE on the contrary showed quit...
by winxp4all
Thu Mar 10, 2011 9:41 pm
Forum: Command Line and Scripting Interface
Topic: How to automate Firefox with iimInit ("-fx")
Replies: 46
Views: 58025

Re: How to automate Firefox with iimInit ("-fx")

I have noticed that iMacros for iMacros browser runs quite a bit slower than iMacros for Firefox. It appears that the delay between the TAG EXTRACT commands is much longer on iMacros browser than on Firefox. I've checked the Play speed option and it is set to Fast. Is this by design or is there some...
by winxp4all
Tue Mar 08, 2011 10:40 pm
Forum: Command Line and Scripting Interface
Topic: How to automate Firefox with iimInit ("-fx")
Replies: 46
Views: 58025

Re: How to automate Firefox with iimInit ("-fx")

Your suggested method of running iMacros 24x7 works fine for repeating many small to medium size scripts. For a larger script that needs to extract many thousands pieces of data in one run, the job may have to be partitioned into segments that run sequentially with some way to resume from where the ...
by winxp4all
Tue Mar 08, 2011 9:45 pm
Forum: Command Line and Scripting Interface
Topic: How to automate Firefox with iimInit ("-fx")
Replies: 46
Views: 58025

Re: How to automate Firefox with iimInit ("-fx")

Another issue that I found out with the Firefox Javascript interface. While I find this interface to be very solid and without any problem so far, a long-running javascript that performs many extractions from many different pages will eventually cause Firefox to crash. The reason seems to be "out of...
by winxp4all
Tue Mar 08, 2011 9:31 pm
Forum: Command Line and Scripting Interface
Topic: How to automate Firefox with iimInit ("-fx")
Replies: 46
Views: 58025

Re: How to automate Firefox with iimInit ("-fx")

Thank you for your quick reply! Here is a very simple VBS script you can try: Option Explicit Dim iim1, iret, s set iim1 = CreateObject ("imacros") iret = iim1.iimInit("-fx") s = "CODE: URL GOTO=http://getfirebug.com/firstrun#Firebug%201.6.2" + vbNewLine s = s + "TAG POS=1 TYPE=A ATTR=REL:bookmark E...
by winxp4all
Tue Mar 08, 2011 9:26 am
Forum: Command Line and Scripting Interface
Topic: How to automate Firefox with iimInit ("-fx")
Replies: 46
Views: 58025

Re: How to automate Firefox with iimInit ("-fx")

Windows version = Windows 7 Ultimate, 32-bit, Service Pack 1 iMacros scripting version = 7.22.1254 Firefox version = 3.6.15 Firefox iMacros plug-in version = 7.1.1.5 Python version 3.2 with win32com.client build 216 There are many serious problems: 1. iimInit("-fx",False) does not work, always start...