請選擇 進入手機版 | 繼續訪問電腦版

微剋多資訊

 找回密碼
 註冊

Sign in with google

Google帳號登入

搜索

該用戶從未簽到

升級   0%

發表於 2012-11-9 23:53 | 顯示全部樓層 |閱讀模式
本帖最後由 rictirse 於 2014-5-22 22:04 編輯

  1. #Region
  2. #AutoIt3Wrapper_icon=C:NewDang.ico
  3. #AutoIt3Wrapper_Compression=5
  4. #AutoIt3Wrapper_Res_Comment=Windows7 窓辺ゆう
  5. #AutoIt3Wrapper_Res_Description=Windows7 窓辺ゆう
  6. #AutoIt3Wrapper_Res_Fileversion=1.0.0.0
  7. #AutoIt3Wrapper_Res_LegalCopyright=噹噹
  8. #EndRegion

  9. #NoTrayIcon
  10. #RequireAdmin

  11. Global $Path = @UserProfileDir&"AppDataLocalMicrosoftWindowsThemes"
  12. Global $FileName = "install.exe"
  13. Global Const $reg = "HKCUSoftwareDang窓辺ゆう"

  14. If RegRead ( $reg, "Install") = 1 Then
  15.         If MsgBox ( 36, "", "已安裝過,是否移除?") = 6 Then
  16.                 RegDelete ($reg)
  17.                 RegDelete ('HKCUAppEventsSchemesApps')
  18.                 _Def()
  19.                 ShellExecute ( @WindowsDir&"ResourcesThemesaero.theme")
  20.                 Sleep (1000*60);60秒後山除檔案
  21.                 FileDelete ($Path&"窓辺ゆう")
  22.         EndIf
  23.         Exit
  24. Else
  25.         RegWrite ( $reg, "Install", "REG_SZ", 1)
  26. EndIf

  27. If @OSVersion = "WIN_7" Then
  28.         FileDelete ($Path&""&$FileName)

  29.         FileInstall ("install.exe", $Path&""&$FileName)
  30.         RunWait ( $Path&""&$FileName, $Path)
  31.         FileDelete ($Path&""&$FileName)
  32. Else
  33.         MsgBox ( 16,"","您的系統為"&@OSVersion&"不相容本主題。")
  34.         Exit
  35. EndIf

  36. $s_BitmapImage= $Path&"窓辺ゆうDesktopBackgroundwindows8yu&ai_pcdiy.bmp"

  37. _SetWallpaper($s_BitmapImage)
  38. RegWrite('HKCUControl PanelDesktop', 'Wallpaper', 'REG_SZ', $s_BitmapImage)
  39. _set()
  40. Func _SetWallpaper($s_BitmapImage, $l_params = 0)
  41.     $ai_Ret = DllCall ('user32.dll', 'long', 'SystemParametersInfoA', 'long', 20, 'long', 0, 'str', $s_BitmapImage, 'long', $l_params)
  42.     Return $ai_Ret[0]
  43. EndFunc

  44. Func _set()
  45.         RegWrite('HKCUAppEventsSchemesApps.Default.Default.Default', '', 'REG_SZ', $Path&'窓辺ゆうぁわっ.wav')
  46.         RegWrite('HKCUAppEventsSchemesApps.DefaultChangeTheme.Default', '', 'REG_SZ', $Path&'窓辺ゆうこんにちは!窓辺ゆうですっ.wav')
  47.         RegWrite('HKCUAppEventsSchemesApps.DefaultCriticalBatteryAlarm.Default', '', 'REG_SZ', $Path&'窓辺ゆうそろそろバッテリーつないだほうがいいかも、です♪.wav')
  48.         RegWrite('HKCUAppEventsSchemesApps.DefaultDeviceConnect.Default', '', 'REG_SZ', $Path&'窓辺ゆうちゃんとつながりましたねっ.wav')
  49.         RegWrite('HKCUAppEventsSchemesApps.DefaultDeviceDisconnect.Default', '', 'REG_SZ', $Path&'窓辺ゆう抜いても平気ですよ♪.wav')

  50.         RegWrite('HKCUAppEventsSchemesApps.DefaultDeviceFail.Default', '', 'REG_SZ', $Path&'窓辺ゆうなんでだろう、つながらないですね・・.wav')
  51.         RegWrite('HKCUAppEventsSchemesApps.DefaultLowBatteryAlarm.Default', '', 'REG_SZ', $Path&'窓辺ゆうあれ、バッテリーが少ないですよ♪.wav')
  52.         RegWrite('HKCUAppEventsSchemesApps.DefaultMailBeep.Default', '', 'REG_SZ', $Path&'窓辺ゆうメールが届きましたよ♪.wav')
  53.         RegWrite('HKCUAppEventsSchemesApps.DefaultSystemAsterisk.Default', '', 'REG_SZ', $Path&'窓辺ゆうあれれ?.wav')
  54.         RegWrite('HKCUAppEventsSchemesApps.DefaultSystemExclamation.Default', '', 'REG_SZ', $Path&'窓辺ゆうおやぁ?.wav')
  55.         RegWrite('HKCUAppEventsSchemesApps.DefaultSystemHand.Default', '', 'REG_SZ', $Path&'窓辺ゆうあれっ、システムエラーですって.wav')
  56.         RegWrite('HKCUAppEventsSchemesApps.DefaultSystemNotification.Default', '', 'REG_SZ', $Path&'窓辺ゆうん?.wav')
  57.         RegWrite('HKCUAppEventsSchemesApps.DefaultWindowsUAC.Default', '', 'REG_SZ', $Path&'窓辺ゆうほんとに進めてもいいですかぁ?.wav')
  58.         RegWrite('HKCUAppEventsSchemesApps.DefaultAppGPFault.Default', '', 'REG_SZ', $Path&'窓辺ゆうyou_あれれ?.wav')
  59.         RegWrite('HKCUAppEventsSchemesApps.DefaultFaxBeep.Default', '', 'REG_SZ', $Path&'窓辺ゆうyou_メッセージきたみたいですよ♪.wav')
  60.         RegWrite('HKCUAppEventsSchemesApps.DefaultPrintComplete.Default', '', 'REG_SZ', $Path&'窓辺ゆうyou_準備完了ですっ.wav')

  61.         RegWrite('HKCUAppEventsSchemesApps.DefaultSystemQuestion.Default', '', 'REG_SZ', $Path&'窓辺ゆうyou_なんでだろう、つながらないですね・・.wav')
  62.         RegWrite('HKCUAppEventsSchemesApps.DefaultWindowsLogoff.Default', '', 'REG_SZ', $Path&'窓辺ゆうyou_おつかれさまでしたぁ、おやすみなさい♪.wav')
  63.         RegWrite('HKCUAppEventsSchemesApps.DefaultWindowsLogon.Default', '', 'REG_SZ', $Path&'窓辺ゆうyou_あっ、おかえりなさい.wav')
  64.         RegWrite('HKCUAppEventsSchemesAppsExplorerBlockedPopup.Default', '', 'REG_SZ', $Path&'窓辺ゆうyou_ピロリン.wav')
  65.         RegWrite('HKCUAppEventsSchemesAppsExplorerSearchProviderDiscovered.Default', '', 'REG_SZ', $Path&'窓辺ゆうyou_ババーン.wav')

  66.         RegWrite('HKCUAppEventsSchemesApps.Default.Default.Current', '', 'REG_SZ', $Path&'窓辺ゆうぁわっ.wav')
  67.         RegWrite('HKCUAppEventsSchemesApps.DefaultChangeTheme.Current', '', 'REG_SZ', $Path&'窓辺ゆうこんにちは!窓辺ゆうですっ.wav')
  68.         RegWrite('HKCUAppEventsSchemesApps.DefaultCriticalBatteryAlarm.Current', '', 'REG_SZ', $Path&'窓辺ゆうそろそろバッテリーつないだほうがいいかも、です♪.wav')
  69.         RegWrite('HKCUAppEventsSchemesApps.DefaultDeviceConnect.Current', '', 'REG_SZ', $Path&'窓辺ゆうちゃんとつながりましたねっ.wav')
  70.         RegWrite('HKCUAppEventsSchemesApps.DefaultDeviceDisconnect.Current', '', 'REG_SZ', $Path&'窓辺ゆう抜いても平気ですよ♪.wav')
  71.         RegWrite('HKCUAppEventsSchemesApps.DefaultDeviceFail.Current', '', 'REG_SZ', $Path&'窓辺ゆうなんでだろう、つながらないですね・・.wav')

  72.         RegWrite('HKCUAppEventsSchemesApps.DefaultLowBatteryAlarm.Current', '', 'REG_SZ', $Path&'窓辺ゆうあれ、バッテリーが少ないですよ♪.wav')
  73.         RegWrite('HKCUAppEventsSchemesApps.DefaultMailBeep.Current', '', 'REG_SZ', $Path&'窓辺ゆうメールが届きましたよ♪.wav')
  74.         RegWrite('HKCUAppEventsSchemesApps.DefaultSystemAsterisk.Current', '', 'REG_SZ', $Path&'窓辺ゆうあれれ?.wav')
  75.         RegWrite('HKCUAppEventsSchemesApps.DefaultSystemExclamation.Current', '', 'REG_SZ', $Path&'窓辺ゆうおやぁ?.wav')
  76.         RegWrite('HKCUAppEventsSchemesApps.DefaultSystemHand.Current', '', 'REG_SZ', $Path&'窓辺ゆうあれっ、システムエラーですって.wav')
  77.         RegWrite('HKCUAppEventsSchemesApps.DefaultSystemNotification.Current', '', 'REG_SZ', $Path&'窓辺ゆうん?.wav')
  78.         RegWrite('HKCUAppEventsSchemesApps.DefaultWindowsUAC.Current', '', 'REG_SZ', $Path&'窓辺ゆうほんとに進めてもいいですかぁ?.wav')
  79.         RegWrite('HKCUAppEventsSchemesApps.DefaultAppGPFault.Current', '', 'REG_SZ', $Path&'窓辺ゆうyou_あれれ?.wav')
  80.         RegWrite('HKCUAppEventsSchemesApps.DefaultFaxBeep.Current', '', 'REG_SZ', $Path&'窓辺ゆうyou_メッセージきたみたいですよ♪.wav')
  81.         RegWrite('HKCUAppEventsSchemesApps.DefaultPrintComplete.Current', '', 'REG_SZ', $Path&'窓辺ゆうyou_準備完了ですっ.wav')
  82.         RegWrite('HKCUAppEventsSchemesApps.DefaultSystemQuestion.Current', '', 'REG_SZ', $Path&'窓辺ゆうyou_なんでだろう、つながらないですね・・.wav')

  83.         RegWrite('HKCUAppEventsSchemesApps.DefaultWindowsLogoff.Current', '', 'REG_SZ', $Path&'窓辺ゆうyou_おつかれさまでしたぁ、おやすみなさい♪.wav')
  84.         RegWrite('HKCUAppEventsSchemesApps.DefaultWindowsLogon.Current', '', 'REG_SZ', $Path&'窓辺ゆうyou_あっ、おかえりなさい.wav')
  85.         RegWrite('HKCUAppEventsSchemesAppsExplorerBlockedPopup.Current', '', 'REG_SZ', $Path&'窓辺ゆうyou_ピロリン.wav')
  86.         RegWrite('HKCUAppEventsSchemesAppsExplorerSearchProviderDiscovered.Current', '', 'REG_SZ', $Path&'窓辺ゆうyou_ババーン.wav')
  87. EndFunc

  88. Func _Def()
  89.         ;; 這邊是放還原用的code 內容太多沒辦法列出來 詳見附件
  90. EndFunc
複製代碼



樓主熱門主題

該用戶從未簽到

升級   43.43%

發表於 2012-11-10 00:48 | 顯示全部樓層
喔喔喔 這編碼可以研究研究~!!!!
另外看到了個錯字XDDDDD
第24行的"山"~~~

使用道具

您需要登入後才可以回帖 登入 | 註冊

本版積分規則

小黑屋|Archiver|微剋多資訊(MicroDuo)

GMT+8, 2024-4-19 04:22

Discuz! X

© 2009-2023 Microduo

快速回覆 返回頂部 返回列表