Javascript and Imacro to Open Google.com

2019-06-07 02:35发布

Ok I am pretty sure I am making some stupid mistake here. This is what I got. I want to use javascript to run an Imacro to open www.google.com.

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

  iimPlay(test)

As per @Bestmacros I changed the code for test.js to the code shown above. Putting this into chrome and firefox simply shows me the file, putting it into IE just reloads the page. Double clicking the .js file comes up with a compiler error.

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

Any suggestions?

Thank you.

1条回答
该账号已被封号
2楼-- · 2019-06-07 03:18

i had the same problem but it worked after i had renamed the javascript filename and extension to lovercase.

查看更多
登录 后发表回答