2006年12月08日 星期五 19:18
Hi, yin: 现在有一段页面代码是这样的: * * 然后我这样调用IEC: ie.SetInputValue( 'pageno', '2' ) ie.ClickLink( 'goToPage' ) 提示说找不到该连接。那我该如何调用这个javascript? On 9/25/06, 尹祥龙 <yinxianglong at gmail.com> wrote: > > ie.ClickLink("addplan") 传入的参数是这个链接的name > > > On 9/25/06, chenwei <chenwei at sobey.com> wrote: > > > > 请问,如下link: > > > > > > title='如果您添加多个工作分项情况报告,您只需多次点击"添加工作任务报告"即可。' style='color:red'>点击 添加 分项工作情况 > > 报告 > > > > 用IEC库怎么打开?我试了ie.ClickLink("javascript:;") > > 但是不行: > > > > >>> ie.ClickLink("javascript:;") > > Traceback (most recent call last): > > File "", line 1, in ? > > File "D:\Python24\wmi-1.1.1\IEC.py", line 112, in ClickLink > > raise 'Link ' + linktext + ' was not found.' > > Link javascript:; was not found. > > >>> > > > > ----- Original Message ----- > > *From:* 尹祥龙 <yinxianglong at gmail.com> > > *To:* python-chinese at lists.python.cn > > *Sent:* Friday, September 22, 2006 8:15 PM > > *Subject:* Re: [python-chinese] 自动填表 > > > > > > > > 看附件里面有说明。 > > http://www.mayukhbose.com/python/IEC/index.php > > 原理很简单,调用win32api,向ie发送消息。 > > > > On 9/22/06, chenwei <chenwei at sobey.com> wrote: > > > > > > 正确。 > > > 能说说实现原理和思路吗? > > > 另外这个IEC怎么安装呢? > > > > > > ----- Original Message ----- > > > *From:* 尹祥龙 <yinxianglong at gmail.com> > > > *To:* python-chinese at lists.python.cn > > > *Sent:* Friday, September 22, 2006 7:20 PM > > > *Subject:* Re: [python-chinese] 自动填表 > > > > > > > > > 看你的邮箱地址是成都那个索贝公司的。 > > > > > > 有自动填周报的工具,使用IEC包 > > > > > > > > > On 9/22/06, chenwei <chenwei at sobey.com> wrote: > > > > > > > > 各位, > > > > > > > > 有没有网络自动填表的代码?我想写一个自动填工作周报的工具,希望能得到帮助。 > > > > 没有代码,能讲一下原理和思路也好,先谢谢了。 > > > > > > > > > > > > > > > > _______________________________________________ > > > > python-chinese > > > > Post: send python-chinese at lists.python.cn > > > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > > > Unsubscribe: send unsubscribe to > > > > python-chinese-request at lists.python.cn > > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > > ------------------------------ > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese at lists.python.cn > > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request at lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > > > _______________________________________________ > > > python-chinese > > > Post: send python-chinese at lists.python.cn > > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > > Unsubscribe: send unsubscribe to > > > python-chinese-request at lists.python.cn > > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > > ------------------------------ > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > > _______________________________________________ > > python-chinese > > Post: send python-chinese at lists.python.cn > > Subscribe: send subscribe to python-chinese-request at lists.python.cn > > Unsubscribe: send unsubscribe to > > python-chinese-request at lists.python.cn > > Detail Info: http://python.cn/mailman/listinfo/python-chinese > > > > > _______________________________________________ > python-chinese > Post: send python-chinese at lists.python.cn > Subscribe: send subscribe to python-chinese-request at lists.python.cn > Unsubscribe: send unsubscribe to python-chinese-request at lists.python.cn > Detail Info: http://python.cn/mailman/listinfo/python-chinese > -- Best Regards, Huang You Gong -------------- next part -------------- An HTML attachment was scrubbed... URL: http://python.cn/pipermail/python-chinese/attachments/20061208/cb36306d/attachment.html
Zeuux © 2025
京ICP备05028076号