Archive for December, 2007

Using osascript to work around a Spaces bug in Leopard

Thursday, December 20th, 2007

I had started up Toast and dragged a video file to be burned to DVD.
This takes a long time, during which Toast is unresponsive (won’t hide or minimize).
I recently installed Leopard but hadn’t yet set up “Spaces”, which is Mac OS X’s version of virtual desktops.

I created a 2×1 setup and ctrl-right-arrow’ed to the “right” desktop to continue working without clutter.

After about 15 minutes, I was forcibly switched to the “left” desktop in mid-keystroke (this is something Mac OS X does that **really** bugs me — OS 9 never did it) when Toast had finished importing the video.
Since Toast was now responsive, I decided to move it to the right desktop and everything else back to the left one.
I don’t know why, it just felt better.

15 minutes later I decide I want my usual 3×2 virtual desktop setup, so I fire up Spaces and make it so.

Fast forward another ½ hour or so, and I realize that I really should burn that DVD.
I click on the Toast icon in the dock (which I belatedly notice is dimmed like a “hidden” app), and I’m zapped over to desktop 4 (first on the bottom row). But.. no Toast.

After about 5 minutes of attempting to get Toast to reappear I am ready to give up.
But then i realize I will have given up all that time Toast took to analyze/re-encode(?) the video, and it would be really, really good to save my work before quitting.
Unfortunately, Toast does not have a “Save As” contextual menu on its dock item.

So after a few unsuccessful tries, I finally type this in iTerm:


% osascript
tell application "Toast Titanium"
    close front document saving yes
end tell
^D

This pops up a “Save As” dialog and I save my file, after which I have no compunction about choosing “Quit” from the Toast Dock icon contextual menu.
Day saved (well okay, 15 minutes), a little bit learned.

Cowon A3 – media player handles almost all formats

Wednesday, December 5th, 2007

Cowon A3
Cowon A3 DivX/other media player
Cowon A3

The original post
is in Japanese, and
my Google translation link
may not work.
I’m not sure, but this device sounds pretty incredible.
It has a hefty $550 CDN price tag though (58,800Â¥), which is the price of a cheap laptop these days.

What really stood out for me was:

  • component output at 1280×720 (720p)
  • DivX support
  • Ogg support
  • AppleLossless support
  • Flac support
  • WMV support
  • H.264 support

.. the list goes on and on.
Note that the actual display is only 800×480, it’s only the component output that can support 720p.

Probably not worth the price, really, but impressive nonetheless.

Maybe they will be able to get the price down after a while, and it will get really interesting..


Warning: require_once(/home/clith/tech.tnir.org/wp-content/themes/rae-black/footer.php): failed to open stream: Permission denied in /home/clith/tech.tnir.org/wp-includes/template.php on line 684

Fatal error: require_once(): Failed opening required '/home/clith/tech.tnir.org/wp-content/themes/rae-black/footer.php' (include_path='.:/usr/local/lib/php:/usr/local/php5/lib/pear') in /home/clith/tech.tnir.org/wp-includes/template.php on line 684