Another option is to use the recently introduced URL-scheme with the open command.
Holy crap, of course! That butt-ugly GUI script was written before the URL-scheme appeared, and I hadn't fiddled with it since---this approach is clearly _vastly_ better. Thanks! (The only drawback I can see relative to the AppleScript monstrosity is that the URL thing currently won't work with files in a project window...)