Posts RSS Comments RSS 48 Posts and 155 Comments till now

Archive for March, 2007

RotundaCam widget

I wrote this widget to display the RotundaCam at the University of Virginia. Download it, unzip it and double click to install it.

RotundaCam icon
The RotundaCam widget

Clearing the MCX cache

When you manage the preferences on your workstations via Workgroup Manager the settings are stored on the local clients in the MCX cache. This can be manually cleaned out in NetInfo but there is a much easier way.

  • Open Terminal
  • Run the following command. Use “sudo” if you’re not logged in as root:
    /System/Library/CoreServices/mcxd.app/Contents/Resources/MCXCacher
  • Enter your admin password

The command needs to be run on each machine seperately.

If you are using Apple Remote Desktop 3.x you can enter this withou the “sudo” in the “Run UNIX” box and run it as root on a large number of machines at once..

Get the name of the computer in Tiger (10.4)

In certain AppleScripts you’ll find you need to get the name of the computer you’re currently on. Usually you need this for things like writing to logs, etc. Here’s how to do it in Tiger:

[codesyntax lang=”applescript” lines=”no”]set theName to the computer name of the (system info)[/codesyntax]

This sets the variable “theName” to the name of your computer from the Sharing preference panel

Here’s an example. Paste the text below in Script Editor and run it.

[codesyntax lang=”applescript” lines=”no”]set theName to the computer name of the (system info)
display dialog “My computer’s name is ” & theName[/codesyntax]

« Prev