找回密码
 加入
搜索
查看: 7560|回复: 16

[系统综合] AU3如何使用兼容模式运行程序

 火.. [复制链接]
发表于 2012-6-28 17:16:37 | 显示全部楼层 |阅读模式
本帖最后由 Windows8 于 2012-6-29 09:17 编辑

AU3如何使用兼容模式运行程序呢?
就是这样:

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?加入

×
发表于 2012-6-28 22:15:52 | 显示全部楼层
勾上不就行了吗?

评分

参与人数 1金钱 +30 贡献 +5 收起 理由
Windows8 + 30 + 5 说滴好

查看全部评分

 楼主| 发表于 2012-6-29 09:16:59 | 显示全部楼层
勾上不就行了吗?
xms77 发表于 2012-6-28 22:15


用AU3,拜托。     
发表于 2012-6-29 12:28:13 | 显示全部楼层
回复 3# Windows8
呵呵,我还以为是au3的程序要用兼容模式运行呢!谁让你不说明白呢
发表于 2012-6-29 12:46:33 | 显示全部楼层
好像要操作注册表
 楼主| 发表于 2012-6-29 15:44:39 | 显示全部楼层
好像要操作注册表
kevinch 发表于 29/6/2012 12:46



    怎么操作啊?什么注册表?
 楼主| 发表于 2012-6-29 15:53:06 | 显示全部楼层
回复  Windows8
呵呵,我还以为是au3的程序要用兼容模式运行呢!谁让你不说明白呢
xms77 没有发表于 1/10/1949 12:99


可恶,害得我扣了60多分,现在删除了。
发表于 2012-6-29 16:04:25 | 显示全部楼层
回复 7# Windows8


可恶的就是你自己了, 乱说话!
意见不同可以争论或保留, 但进行人身攻击绝对是不行滴!
 楼主| 发表于 2012-6-30 09:03:50 | 显示全部楼层
回复  Windows8


可恶的就是我了, 乱说话!
意见不同可以争论或保留, 但进行人身攻击绝对是不行滴 ...我承认。
user30000000000 发表于 99/99/9999 99:99



    早就删了,还争什么。问题还没有答案呢
发表于 2012-6-30 23:22:38 | 显示全部楼层
本帖最后由 lixiaolong 于 2012-6-30 23:32 编辑

Vista,Win7 有效,Win8没测试.
#RequireAdmin

Global $WIN95 = "WIN95" ; Windows 95
Global $WIN98 = "WIN98" ;Windows 98 / Windows Me
Global $NT4SP5 = "NT4SP5" ;Windows NT 4.0(Service Pack 5)
Global $WIN2000 = "WIN2000" ;Windows 2000
Global $WINXPSP2 = "WINXPSP2" ;Windows XP(Service Pack 2)
Global $WINXPSP3 = "WINXPSP3" ;Windows XP(Service Pack 3)
Global $WINSRV03SP1 = "WINSRV03SP1" ;Windows Server 2003(Service Pack 1)
Global $WINSRV08SP1 = "WINSRV08SP1" ;Windows Server 2008(Service Pack 1)
Global $VISTARTM = "VISTARTM" ;Windows Vista
Global $VISTASP1 = "VISTASP1" ;Windows Vista(Service Pack 1)
Global $VISTASP2 = "VISTASP2" ;Windows Vista(Service Pack 2)



CompatibilityMode("C:\Program Files\Tencent\QQ\Bin\QQ.exe", $WINXPSP3)
;~ CompatibilityMode("C:\Program Files\Tencent\QQ\Bin\QQ.exe") ; Default

Run("C:\Program Files\Tencent\QQ\Bin\QQ.exe")

Func CompatibilityMode($Program, $Mode = "")
        Local $RedKey = "HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers"
        
        If Not $Mode Then
                RegDelete($RedKey, $Program)
        Else
                $a = RegWrite($RedKey, $Program, "REG_SZ", $Mode)
;~                 MsgBox(0, '', $a)
        EndIf
EndFunc   ;==>CompatibilityMode

评分

参与人数 1金钱 +16 收起 理由
Windows8 + 16

查看全部评分

发表于 2012-7-1 00:46:43 | 显示全部楼层
看下楼上的...这东东值得深入学习
发表于 2012-7-2 10:12:45 | 显示全部楼层
我记得是操作注册表的我之前也弄过
 楼主| 发表于 2012-7-3 10:56:51 | 显示全部楼层
Vista,Win7 有效,Win8没测试.
lixiaolong 发表于 30/6/2012 23:22



    以Windows7 SP1 兼容性运行咋用?
发表于 2012-7-3 18:02:24 | 显示全部楼层
回复 13# Windows8

你也不说用什么系统,我猜是win8吧?
win8的值有点不一样,【~ WIN7RTM】开头有个【~ 】.
我的win8里没有Windows7 SP1的选项.
如果有应该是这样【~ WIN7SP1】因为Vista sp1是【~ VISTASP1】.
发表于 2012-7-3 19:47:44 | 显示全部楼层
学习了,谢谢!
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-5-20 05:13 , Processed in 0.107408 second(s), 26 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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