;*********************** COPY WALLPAPER ***************************** IF @TSSESSION <> 1 $ScreenRes = GetScreenRes() ; set the wallpaper source var based on screen res SELECT CASE $ScreenRes = '1280,1024' $Wallpaper = 'Desktop1280x1024.jpg' CASE $ScreenRes = '1440,900' $Wallpaper = 'Desktop1440x900.jpg' CASE 1 $Wallpaper = 'Desktop1280x1024.jpg' ENDSELECT IF Not Exist('%TEMP%\Wallpaper.jpg') ; you can't check for one file when it's really another file! COPY '\\%USERDOMAIN%\Netlogon\Wall\' + $WallPaper '%TEMP%\WallPaper.jpg' ENDIF $WallpaperStyle = '2' $TileWallpaper = '0' $WallpaperMode = '1' ; This should also reference the destination file, not the source file name! $=WriteValue('HKCU\Control Panel\Desktop', 'Wallpaper', '%TEMP%\WallPaper.jpg', 'REG_SZ') $=WriteValue('HKCU\Control Panel\Desktop', 'WallpaperStyle', $WallpaperStyle, 'REG_SZ') $=WriteValue('HKCU\Control Panel\Desktop', 'TileWallpaper', $TileWallpaper, 'REG_SZ') $=SetWallpaper('Wallpaper.jpg', $WallpaperMode) ENDIF ;*********************** RUN BGINFO ********************************* SHELL '\\%USERDOMAIN%\Netlogon\BGInfo.exe \\%USERDOMAIN%\NETLOGON\Wall\SUMMIT.bgi /TIMER:0'
Generated in 0.194 seconds in which 0.011 seconds were spent on a total of 14 queries. Zlib compression enabled.
") !=-1) { tempah=tempah.substring(tempah.indexOf("")+5,tempah.indexOf("")); codes[i].innerHTML="" + dotag(tempah.substring()) + ""; } } //var pres = document.getElementsByTagName("pre"); //for (var i=0, maxi = pres.length; i < maxi; i++) { // var tempah = pres[i].innerHTML; // if (tempah.indexOf("[postprep") !=-1) { // tempah=tempah.substring((tempah.indexOf("]",tempah.indexOf("[postprep"))+1)); // pres[i].innerHTML=dotag(tempah); // } //} function ytag(which_one) { var codes = document.getElementsByClassName("ubbcode-body"); var thisone = codes[which_one].innerHTML; codes[which_one].innerHTML = "" + dotag(thisone.substring(5+thisone.indexOf(""),thisone.indexOf(""))) + ""; var heads = document.getElementsByClassName("ubbcode-header"); heads[which_one].innerHTML = "Code:" + ' '; } function ttag(which_one) { var codes = document.getElementsByClassName("ubbcode-body"); var thisone = ""; if (codes[which_one].innerText != undefined) { thisone += codes[which_one].innerText; } else { thisone += codes[which_one].textContent; } codes[which_one].innerHTML = thisone + ""; var heads = document.getElementsByClassName("ubbcode-header"); heads[which_one].innerHTML = "Code:" + ' '; }
")+5,tempah.indexOf("
" + dotag(tempah.substring()) + "
" + dotag(thisone.substring(5+thisone.indexOf(""),thisone.indexOf(""))) + "
"),thisone.indexOf("
"; if (codes[which_one].innerText != undefined) { thisone += codes[which_one].innerText; } else { thisone += codes[which_one].textContent; } codes[which_one].innerHTML = thisone + "