Javascript和Imacro打开Goog​​le.com [英] Javascript and Imacro to Open Google.com

查看:50
本文介绍了Javascript和Imacro打开Goog​​le.com的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

好的,我敢肯定,我在这里犯了一些愚蠢的错误.这就是我得到的.我想使用javascript运行Imacro来打开www.google.com.

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)

按照@Bestmacros,我将test.js的代码更改为上面显示的代码.将其放入chrome和firefox只会向我显示文件,将其放入IE只会重新加载页面.双击.js文件会出现编译器错误.

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

有什么建议吗?

谢谢.

推荐答案

我遇到了同样的问题,但是在我将javascript文件名和扩展名重命名为lovercase之后,它仍然有效.

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

这篇关于Javascript和Imacro打开Goog​​le.com的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆