找回密码
 加入
搜索
查看: 1697|回复: 7

[AU3基础] 关于软件安装完成后打开主页的问题

  [复制链接]
发表于 2011-9-16 09:14:31 | 显示全部楼层 |阅读模式
刚接触au3,问一个小白问题,有些软件安装完成后会调用IE(或默认浏览器)打开其软件主页,怎么写脚本不让其这样做?
 楼主| 发表于 2011-9-16 12:22:36 | 显示全部楼层
高手啊,请解答一下
发表于 2011-9-16 12:35:28 | 显示全部楼层
这个问题貌似比较难解决啊!
发表于 2011-9-16 23:53:59 | 显示全部楼层
顶一下吧.....
发表于 2011-9-21 01:01:02 | 显示全部楼层
如果非要通过AU3来完成的话我建议你在软件安装前干掉IE  等装完以后再修复。
发表于 2011-9-21 01:07:32 | 显示全部楼层
本帖最后由 gzh888666 于 2011-9-21 01:34 编辑

最好的办法就是P版说的截取CreateProcess函数。希望高手能写一下如何截取CreateProcess函数
CreateProcess function
Creates a new process and its primary thread. The new process runs in the security context of the calling process.

If the calling process is impersonating another user, the new process uses the token for the calling process, not the impersonation token. To run the new process in the security context of the user represented by the impersonation token, use the CreateProcessAsUser or CreateProcessWithLogonW function.

Syntax
Copy
BOOL WINAPI CreateProcess(
  __in_opt     LPCTSTR lpApplicationName,
  __inout_opt  LPTSTR lpCommandLine,
  __in_opt     LPSECURITY_ATTRIBUTES lpProcessAttributes,
  __in_opt     LPSECURITY_ATTRIBUTES lpThreadAttributes,
  __in         BOOL bInheritHandles,
  __in         DWORD dwCreationFlags,
  __in_opt     LPVOID lpEnvironment,
  __in_opt     LPCTSTR lpCurrentDirectory,
  __in         LPSTARTUPINFO lpStartupInfo,
  __out        LPPROCESS_INFORMATION lpProcessInformation
);
发表于 2011-9-21 09:45:47 | 显示全部楼层
processclose("iexplore.exe")
 楼主| 发表于 2011-9-21 10:40:15 | 显示全部楼层
关键不一定是ie,有可能是其它第三方浏览器。
您需要登录后才可以回帖 登录 | 加入

本版积分规则

QQ|手机版|小黑屋|AUTOIT CN ( 鲁ICP备19019924号-1 )谷歌 百度

GMT+8, 2024-9-20 23:45 , Processed in 0.091108 second(s), 21 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表