Sat, 30 Sep 2006

Maemo Browser Tab Grab Bag #2

Continuing the series here's some of the open tabs related to Maemo and Nokia 770 projects in some way:

Linux Automation Tools

For the controllee side of Maemote on Mac OS X the choice of the initial automation tool to support is fairly obvious—AppleScript. Unfortunately in Linux-land the choice isn't so obvious, so here's a few related tools I've noticed recently, it remains to be seen what is most widely supported:

Mac OS X Automation and AppleScript notes

As the current Maemote version uses AppleScript on Mac OS X I needed a few pieces of information:

For a basic forward/backward action suitable for slides and so forth I needed the correct arrow key values to pass to the System Events handler:

key code 123 -- Left
key code 124 -- Right
key code 125 -- Down
key code 126 -- Up
or
keystroke (ASCII character 28) -- Left
keystroke (ASCII character 29) -- Right
keystroke (ASCII character 30) -- Up
keystroke (ASCII character 31) -- Down

Although dated, this Scripting the Unscriptable in Mac OS X article may be helpful also. (See also.)

For future reference this Mac OS X home automation tool might be useful.

Hachoir

When I was playing around with creating ar format files in Python I was thinking about reading or investigating binary file formats using Python. Soon after I discovered Hachoir "a library written in Python which allows to see and edit a binary file (or any binary stream) field per field". I didn't look too far into the library but it seems worth further investigation should the need arise—and, yes, it does have ar file format read support. :-)

Convert video for Nokia 770 viewing

An online tool to convert video into a format suitable for viewing on the Nokia 770—I haven't used it yet but if I ever get around to getting that bigger RS-MMC card (in capacity, not physical size, obviously...) it might be useful. The 770 video conversion software used is also available off-web too.

Other stuff

stdeb - Python to Debian source package conversion utility (still requires Debian packaging tools to be installed though).

Posted at: 11:25 | category: /maemo | Comments ()