Search found 34 matches

by davidpoor
Sat Mar 22, 2014 1:06 pm
Forum: iMacros for Firefox
Topic: NS_ERROR_UNEXPECTED: Component returned failure code: 0x8000
Replies: 27
Views: 18741

Re: NS_ERROR_UNEXPECTED: Component returned failure code: 0x

Thanks for the PALEMOON reference - I installed it and my macros work again!

Perhaps not an ideal solution as I would prefer to be running the latest versions of Firefox and iMacos, but it is a viable work-around until the issues are resolved.

PS: I was getting -1001 errors on TAB commands...
by davidpoor
Sun Aug 25, 2013 11:48 am
Forum: iMacros for Firefox
Topic: Batch File: Load Firefox, Run Macro(s), Close
Replies: 31
Views: 60023

Re: Batch File: Load Firefox, Run Macro(s), Close

For the correction above: If ALL Firefox windows are closed before you start, and if you add the window close to each of your js files, you should be able to launch a single batch file that executes Firefox multiple times. (I had forgotten this behavior.) This batch file runs the same js twice. The ...
by davidpoor
Sun Aug 25, 2013 12:53 am
Forum: iMacros for Firefox
Topic: Batch File: Load Firefox, Run Macro(s), Close
Replies: 31
Views: 60023

Re: Batch File: Load Firefox, Run Macro(s), Close

It is not necessary to start Firefox for each macro. Normally the batch file will complete as soon as Firefox starts so that it might indeed be difficult to start Firefox for each macro... What is likely to happen is that you will send multiple pages to Firefox in rapid succession so that only the L...
by davidpoor
Thu Aug 22, 2013 4:44 pm
Forum: iMacros for Firefox
Topic: Batch File: Load Firefox, Run Macro(s), Close
Replies: 31
Views: 60023

Re: Batch File: Load Firefox, Run Macro(s), Close

For the problem from wviswildandwonderful, it is important to get the return code if you want to wait for the macro to complete. (It may also be necessary to use the returned value, but I have not tested that possibility). In your post of Aug 21, you use iimPlay, but you do not get the return code s...
by davidpoor
Thu Aug 22, 2013 4:36 pm
Forum: iMacros for Firefox
Topic: Batch File: Load Firefox, Run Macro(s), Close
Replies: 31
Views: 60023

Re: Batch File: Load Firefox, Run Macro(s), Close: STILL WOR

I must admit that (a) I have not been using my own code for a couple of years and (b) my old laptop died so I have a totally fresh install of FireFox to play with. Previously, I had only used XP, but my new laptop has Windows 7. First, I verified that the basic process still works and that the link ...
by davidpoor
Mon Aug 19, 2013 6:51 pm
Forum: iMacros for Firefox
Topic: Batch File: Load Firefox, Run Macro(s), Close
Replies: 31
Views: 60023

Re: Batch File: Load Firefox, Run Macro(s), Close

Exactly what do you mean by "it no longer works!"? If you want me or anyone else to take a stab at your question, we really need to replicate your problem before we start so please provide as much information as you can on the differences between then and now. Have you changed your OS? If so, what v...
by davidpoor
Wed Dec 12, 2012 3:44 pm
Forum: iMacros for Firefox
Topic: Workaround for lack of DS mouse commands
Replies: 14
Views: 24327

Re: Workaround for lack of DS mouse commands

Hello joiner: Your settings look correct. The issue may be that the web page you are dealing with may not be responding to a mousedown, but may instead be responding to a click or mouseup. I would suggest that you try to first manually experiment with interactions: e.g. hold down the mouse button an...
by davidpoor
Wed Dec 05, 2012 7:03 pm
Forum: iMacros for Firefox
Topic: Workaround for lack of DS mouse commands
Replies: 14
Views: 24327

Re: Workaround for lack of DS mouse commands

Re inter's question on mouseover: Using the naming conventions of DS mouse commands, the MOVETO command is equivalent to placing the mouse over the specified object. Try the following with the original macro as posted: iimSet("_DS_ObjectId","b070153850_0"); iimSet("_DS_Command","MOVETO"); iimPlay("D...
by davidpoor
Thu Nov 15, 2012 12:44 pm
Forum: iMacros for Firefox
Topic: Workaround for lack of DS mouse commands
Replies: 14
Views: 24327

Re: Workaround for lack of DS mouse commands

If you can be a little more specific with the "though it does not work for me", I will be happy to try to replicate your issue and get back to you. Note, however, that I have only looked at this with the Firefox version. As for injecting text contents for your e-mail, you should be able to use the s...
by davidpoor
Sat Nov 10, 2012 3:46 pm
Forum: iMacros for Firefox
Topic: Injecting Javascript Statements From A Macro
Replies: 0
Views: 753

Injecting Javascript Statements From A Macro

This allows the equivalent to a javascript include so that javascript variable values can be easily changed without altering the main javascript code. It is often difficult (and error-prone) to modify a .js script that is played to control iMacros. This simple js function permits injection of javasc...
by davidpoor
Fri Nov 09, 2012 8:38 pm
Forum: iMacros for Firefox
Topic: Recorded TAG command don't work on JavaScript Button
Replies: 2
Views: 598

Re: Recorded TAG command don't work on JavaScript Button

Can you get more information on the element you are trying to click? Either inspect with FireBug or get the generated source.
by davidpoor
Fri Nov 09, 2012 8:26 pm
Forum: iMacros for Firefox
Topic: Debugging Javascvript: Syntax and execution errors
Replies: 0
Views: 539

Debugging Javascvript: Syntax and execution errors

It is not easy to know where you have a syntax error or an execution error when you PLAY a .js file. With JSSyntaxCheck, you can easily find and fix all syntax errors before you try to PLAY the file. Save the entire JSSyntaxCheck.html file - I recommend saving it in the same directory as your macros...
by davidpoor
Wed Nov 07, 2012 1:58 pm
Forum: How-To's and useful iMacros: All other topics
Topic: How to simulate a keypress using Javascript
Replies: 1
Views: 39234

How to simulate a keypress using Javascript

You can create a key event that will simulate a key press using Javascript. See http://stackoverflow.com/questions/596481/simulate-javascript-key-eventshttp://stackoverflow.com/questions/596481/simulate-javascript-key-events This example presses "Enter", but can easily be modified/extended to accomm...
by davidpoor
Tue Nov 06, 2012 9:12 pm
Forum: iMacros for Firefox
Topic: Workaround for lack of DS mouse commands
Replies: 14
Views: 24327

Workaround for lack of DS mouse commands

iMacros for Firefox does not support DS commands or the SIZE command so we need a work-around if we need to properly control mouse events. . This workaround is for times when you need explicit mouse events: mouse down, mouse up, double click, or click . (The click event is needed when the TAG comman...
by davidpoor
Tue Nov 06, 2012 9:12 pm
Forum: How-To's and useful iMacros: All other topics
Topic: How to issue mouse events using Javascript in your macro
Replies: 0
Views: 15760

How to issue mouse events using Javascript in your macro

iMacros for Firefox does not support DS commands or the SIZE command so we need a work-around if we need to properly control mouse events. . This workaround is for times when you need explicit mouse events: mouse down, mouse up, double click, or click . (The click event is needed when the TAG comman...