Monday, January 28, 2008

More interface work, programming

Right now I'm in Texas for a short trip and I've got a few minutes to update my progress.

One of the keys to making a good media center is to have the machine do a lot of the work behind the scenes, rather than forcing the user to click around on menus and buttons and type in dialog boxes.

So automation is paramount.

Automation for the Mac means Applescript, and for things that aren't really Applescriptable - Quickeys.

Because the interface is coming through a web page - I need to figure out a way to get Javascript and Applescript to talk - or at the very least pass some rudimentary information.

While some of the interface doesn't need any sort of intelligence - some does.

For instance - clicking on the web cam button should launch the web cam app. Pretty straightforward. Just put in the URL to the program on the hard drive.

But if I want more complex actions - say in the music or photos - pop up a menu that acts on each individual file - that requires some programming.

No comments: