Javascript and Imacro to open Google.com

Well, I'm sure I'm making some kind of stupid mistake. This is what I got. I want to use javascript to run Imacro to open www.google.com.

var test; test ="CODE:"; test +="SET !ERRORIGNORE YES "+"\n"; test +="URL GOTO=www.google.com "+"\n"; iimPlay(test) 

According to @Bestmacros, I changed the code for test.js to the code shown above. Putting this in chrome and firefox just shows me the file, putting it in IE, just reloads the page. Double-clicking on the .js file occurs with a compiler error.

  line: 6 char: 1 error: Object expected code: 800A138F source: Microsoft JScript runtime error 

Any suggestions?

Thanks.

+1
javascript imacros
source share
1 answer

I had the same problem, but it worked after I renamed the javascript file name and extension in lovercase.

0
source share

All Articles