Wallsaver 2.1

General, Software, Wallsaver No Comments »

I made a bit of a mistake while writing Wallsaver 2.0.

Most people (unless they add third party screen savers) don’t have anything inside the “/Library/Screen Savers” or “~/Library/Screen Savers” folders. Because of a bug in the code (details below), a lot of people were given the following error:

Can’t make every file of «class ects» of alias "Macintosh HD:Library:Screen Savers:" into type «class alst». (-1700)

In the program, there’s a bit of code that adds all the screen savers in a folder to a list. The code will run if the folder is empty or even if the folder doesn’t exist.

The bad code:
set UserScreenSavers to (files of entire contents of UserScreenSaversPath) as alias list

The fix, as you can see, is quite simple. Simply throw the offending code into a try statement. If any part fails (i.e., the folder is empty or doesn’t exist), set the list to null.

The better code:

try
set UserScreenSavers to (files of entire contents of UserScreenSaversPath) as alias list

on error
set UserScreenSavers to {}

end try

Why didn’t I put in the try block from the beginning? On both of the computers I use to test software (yes, I do test my software), all three of the directories Wallsaver searches in for screen savers exist and have files in them. There was just no opportunity for the list population to fail.

Thank you to all the users of Wallsaver who quickly downloaded (some within 2 hours of the release) v2.0 and reported the bug. Your efforts helped in the v2.1 update being released as quickly as it did.

Wallsaver 2.0 is here!

General, Software, Wallsaver No Comments »

I wrote yesterday that Wallsaver was coming along nicely and that it would be released within one week.

I lied.

Wallsaver 2.0 has officially been released. Here’s a copy & paste of the change log from the Wallsaver product page:

  • New feature: Choose screen saver to run as the desktop wallpaper.
    • You may now choose any screen saver in the “/System/Library/Screen Savers”, “/Library/Screen Savers/” or “~/Library/Screen Savers” folders.
  • New feature: New application icon.
    • The new icon properly scales up to 512×512 pixels and depicts a screen saver that is Wallsaver compatible.
  • Fixed several “Could not determine hidden status” errors.
  • Fixed several “Could not start screen saver.” errors.
  • Moved some preference options around.
  • The screen shot below pretty much sums up the biggest feature of the 2.0 release.

    So head on over to Wallsaver’s product page and download a copy. If you’re an existing user (you == win) you can update to Wallsaver 2.0 via the built in update utility.

    Copyright © 2008 NWW Network, Nil Thacker. All Rights Reserved.
    Entries RSS Comments RSS Log in

    Powered by WordPress | Designed by N.Design Studio

    3,782 spam comments blocked.