找回密码
 加入
搜索
楼主: huoqingpo

桌面图标问题··请大哥们帮忙

[复制链接]
 楼主| 发表于 2009-6-12 08:36:56 | 显示全部楼层
本帖最后由 huoqingpo 于 2009-6-12 08:38 编辑
Regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu", "{871C5380-42A0-1069-A2EA-08002B30309D}", "reg_dword", "00000001")
Regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel", "{871C5380-42A0-1069-A2EA-08002B30309D}", "reg_dword", "00000001")
Send("{LWINDOWN} d") 
send ("{F5}")
filecopy ("D:\i8Client\Internet Explorer.lnk", "C:\Documents and Settings\All Users\桌面")
send ("{LWIN} ")
send ("{LWIN} ")
测试上面的无效··
我自己弄出来了··分享下··
 楼主| 发表于 2009-6-12 08:37:29 | 显示全部楼层
Regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu", "{871C5380-42A0-1069-A2EA-08002B30309D}", "reg_dword", "00000001")
Regwrite("HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel", "{871C5380-42A0-1069-A2EA-08002B30309D}", "reg_dword", "00000001")
Send("{LWINDOWN} d")
send ("{F5}")
filecopy ("D:\i8Client\Internet Explorer.lnk", "C:\Documents and Settings\All Users\桌面\")
send ("{LWIN} ")
send ("{LWIN} ")
 楼主| 发表于 2009-6-12 08:38:34 | 显示全部楼层
嘻嘻·····
发表于 2009-9-1 13:06:07 | 显示全部楼层
刚刚看到,补充一下。

; 隐藏桌面“Internet Explorer”图标
RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\CLSID\{871C5380-42A0-1069-A2EA-08002B30309D}\ShellFolder", "Attributes", "REG_DWORD", 0x100024)
RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\ClassicStartMenu", "{871C5380-42A0-1069-A2EA-08002B30309D}", "REG_DWORD", 1)
RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\HideDesktopIcons\NewStartPanel", "{871C5380-42A0-1069-A2EA-08002B30309D}", "REG_DWORD", 1)
RegWrite("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer", "NoInternetIcon", "REG_DWORD", 1)
; 广播设置改变
DllCall("user32.dll", "lparam", "SendMessageTimeout", _
                "hwnd", 0xffff, "uint", 0x001a, _
                "wparam", 0, "lparam", 0, "uint", 0, "uint", 1000, "str", "dwResult")
; 刷新桌面图标
DllCall("shell32.dll", "none", "SHChangeNotify", _
                "long", 0x8000000, "uint", 0, "ptr", 0, "ptr", 0)
发表于 2014-5-15 09:31:20 | 显示全部楼层
雷锋精神传天下!谢谢分享!
您需要登录后才可以回帖 登录 | 加入

本版积分规则

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

GMT+8, 2024-9-28 02:07 , Processed in 0.072855 second(s), 13 queries .

Powered by Discuz! X3.5 Licensed

© 2001-2024 Discuz! Team.

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