+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 18 of 18
How do you do....it? Thread, Post your student desktop backgrounds in Technical; Originally Posted by FN-GM Not quite, you are restricted on what resolutions you can sue, you cant use any old ...
  1. #16
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,466
    Thank Post
    144
    Thanked 199 Times in 184 Posts
    Rep Power
    60
    Quote Originally Posted by FN-GM View Post
    Not quite, you are restricted on what resolutions you can sue, you cant use any old ones.
    True, although what's there covers most bases

    Code:
    backgroundDefault.jpg
    background768x1280.jpg  (0.6)
    background900x1440.jpg  (0.625)
    background960x1280.jpg  (0.75)
    background1024x1280.jpg (0.8)
    background1280x1024.jpg (1.25)
    background1024x768.jpg  (1.33-)
    background1280x960.jpg  (1.33-)
    background1600x1200.jpg (1.33-)
    background1440x900.jpg  (1.6)
    background1920x1200.jpg (1.6)
    background1280x768.jpg  (1.66-)
    background1360x768.jpg  (1.770833-)

  2. IDG Tech News
  3. #17
    edie209's Avatar
    Join Date
    Mar 2006
    Location
    Kernow
    Posts
    650
    Thank Post
    37
    Thanked 11 Times in 11 Posts
    Rep Power
    18
    Quote Originally Posted by FN-GM View Post
    I use a VBS script that looks at the screen resolution then applies the correct sized wallpaper for the type of screen.
    Funny just started looking at this today so is that script on here?

  4. #18

    FN-GM's Avatar
    Join Date
    Jun 2007
    Location
    UK
    Posts
    14,096
    Thank Post
    735
    Thanked 1,397 Times in 1,224 Posts
    Blog Entries
    9
    Rep Power
    368
    Quote Originally Posted by edie209 View Post
    Funny just started looking at this today so is that script on here?
    Here you go:

    Code:
    Set objWMIService = GetObject("Winmgmts:\\.\root\cimv2") 
    Set objSh = CreateObject("Wscript.Shell")
    Set colItems = objWMIService.ExecQuery("Select * From Win32_DesktopMonitor where DeviceID = 'DesktopMonitor1'",,0) 
    For Each objItem in colItems 
        intHorizontal = objItem.ScreenWidth 
        intVertical = objItem.ScreenHeight 
    Next
    
    strResolution = CStr(intHorizontal) & " x " & CStr(intVertical)
    
    Select Case strResolution
    Case "1024 x 768"
            strWallpaperPath = "C:\folder\1024x768.jpg"
    Case "1280 x 1024"
            strWallpaperPath = "C:\folder\1024x768.jpg"
    Case "1440 x 900"
            strWallpaperPath = "C:\folder\1024x768.jpg"
    Case "1920 x 1080"
            strWallpaperPath = "C:\folder\1024x768.jpg"
    Case Else
    End Select
    
    'Set the reg value
    objSh.RegWrite "HKCU\Control Panel\Desktop\Wallpaper", strWallpaperPath, "REG_SZ"
    
    'Apply the change
    objSh.Run "%windir%\System32\RUNDLL32.EXE user32.dll,UpdatePerUserSystemParameters", 0, False

  5. 3 Thanks to FN-GM:

    3s-gtech (21st August 2012), edie209 (22nd August 2012), stevenlong1985 (27th September 2012)

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. disable right-click>set as desktop background
    By beeswax in forum Windows
    Replies: 19
    Last Post: 29th March 2012, 04:35 PM
  2. Set desktop background
    By Ste_Harve in forum Windows
    Replies: 23
    Last Post: 31st October 2007, 01:59 PM
  3. The Post Your Desktop Thread
    By mrforgetful in forum General Chat
    Replies: 59
    Last Post: 2nd July 2007, 10:25 AM
  4. Hyperlinks built into the desktop background
    By Pottsey in forum Windows
    Replies: 0
    Last Post: 13th October 2006, 02:30 PM
  5. Post Your Desktop
    By StuartC in forum General Chat
    Replies: 12
    Last Post: 8th August 2005, 02:26 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •