Advertisement
Guest User

Untitled

a guest
Apr 26th, 2011
176
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ${SegmentFile}
  2.  
  3. Var _Custom_OriginalWallpaper
  4.  
  5. ${SegmentPrePrimary}
  6.     ${Registry::Read} "HKCU\Control Panel\Desktop" Wallpaper $_Custom_OriginalWallpaper $R0
  7. !macroend
  8.  
  9. ${SegmentPostPrimary}
  10.     ${Unless} $_Custom_OriginalWallpaper == ""
  11.         ExpandEnvStrings $R0 %PAL:AppDir%\BackgroundSwitcher\BackgroundSwitcher.exe
  12.         ExecWait '"$R0" /switchto overscale "$_Custom_OriginalWallpaper"'
  13.     ${EndUnless}
  14. !macroend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement