Posts Tagged: script

0Wordpress LogoAutomatically generate and serve avif images with wordpress

I have spent quite a lot of time optimising the performance of this site, and as part of ongoing work I monitor new technologies that could help improve the speed for visitors. I’ve been tracking the adoption of next-generation image formats for a while and with support by web browsers now fairly widespread it was time to figure out how to make use of these new formats in wordpress.
Read Full Article

0Enable windows desktop slideshow with a script

I’ve been updating my unattended windows deployment setup recently, and one of the things I wanted to enable was the slideshow wallpaper with the location set to my wallpapers location on my server. This isn’t as straight-forward as it ought to be, but after bit of fiddling around I figured out how to do it fairly simply.
Read Full Article

0Batch script to rename PC based on reserved DHCP name

I use WDS on a standalone server to set up new PCs and to reimage PCs when they have ended up mangled beyond repair. With a good number of PCs in my own house it is useful to reimage them ocasionally when swapping or upgrading hardware. Most of this process is now automated by an unattend.xml file but one step the unattended process doesn’t seem to support is renaming PCs back to their original name.
Read Full Article

0Group Policy LogoCustom ADM file for Windows Server 2003 / XP domain

I was digging thru an old back-up CD today and stumbled upon a custom ADM file I created when I was administering a Windows Server 2003 / Windows XP Domain. To use, copy the following code into notepad, save the file with a .adm extension on the system32 folder of a domain server. Open Group Policy editor and add the file, then browse to the “Technicians Settings” to enable any of the settings.
Read Full Article

0Media Center Master LogoEven more advanced post-processing with MCM

I’ve been looking to further tweak the Media Center Master post-processing script I’ve previously written about – partially to fix a few new files that were being incorrectly detected by Stark Covers, and also to build in some automatic image resizing which, as I’ve previously detailed, helps to improve the performance of Media Browser.
Read Full Article

0Media Center Master LogoAdvanced post-processing with Media Center Master

I use Media Center Master and StarkCovers to manage the metadata for all my local media on my HTPC.  I like to have HD movies and DVDs use a different style of cover in stark to the style used by low quality files.  The following command script accomplishes this (and a bit more)…
Read Full Article

0Alarm Clock LogoPHP / JavaScript to wake a PC remotely

I have an HTPC and a network server on my network.  My server is always on, but the HTPC sleeps when it is not in use.  If I want to schedule recordings remotely I need a way to wake the HTPC.  The solution I came up with is to provide a webpage on my server (password protected) that wakes the HTPC and then redirects to the web interface of the remote control app of the HTPC.  Below is the code for anyone interested…
Read Full Article

0Internet Explorer 9 LogoHow to launch HTML based programs fullscreen

I was asked recently if I could copy a teaching resource from a CD-ROM onto a laptop computer. This particular program is mostly HTML with some embedded videos. There were 2 problems with running it from a local shortcut.
1. Internet Explorer security warnings
2. The full-screen window is launched by a parent browser window which then sits on top of the full screen window and has to be closed when the full screen window is exited
Both of these are only annoyances rather than critical failures, but a complete solution involves fixing these kind of things. Finding a solution was a little tricky, but once the solution presented itself it was very simple.

Read Full Article