Iiminit timing problem

Discussions and Tech Support related to the iMacros Firefox Add-on, including the built-in Javascript scripting interface for playing .js files.
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
sanfric
Posts: 35
Joined: Mon Dec 07, 2009 4:33 pm

Iiminit timing problem

Post by sanfric » Sun Jan 22, 2012 8:42 am

Hi,
I use IMacros for firefox 7.4.0.8 under Firefox 10. My old macros built with version 6 work well but Firefox is slower to play (sometimes only) a Imacro (TP, in this example ) launched from Word 2010 with VB Code. Why?

Code: Select all

Dim1, i, s
   Set iim1 = CreateObject ("iMacros")
     i = iim1.iimInit ("-fx")
     i = iim1.iimPlay ("TP", 1)
Result: I have some inconvenience to paste the clipboard automatically created by a macro in Word. Because the contents of the clipboard is replaced after a few seconds by another to be pasted another part of the web page opened by Imacro.I try timers like this

Code: Select all

Dim debut As Long
    Dim fin As Long
    debut = Timer
    fin = 3 'secondes
    Do While Timer < debut + fin
    DoEvents 
    Loop
to manage the transition between the Word macro and Imacro Sometimes it works, sometimes not
It is not a Imacro problem but between the VBS command and Imacro.

I hope you understand( Google traduction from french). Thanks for your help
Post Reply