From: Robert Brunner (rbrunner_at_illinois.edu)
Date: Mon Aug 24 2009 - 15:02:20 CDT

The OS X "open" command does not pass command-line parameters, so that
won't work for your purposes.

This works for me:

/Applications/VMD.app/Contents/MacOS/startup.command foo.pdb

but I could not say wether that would be the most robust way to do it.

On Aug 24, 2009, at 11:58 AM, Jorgen Simonsen wrote:

> Hi all,
>
> I have compiled VMD for mac OS 10.5.8 and I have added the following
> to my .bashrc
> alias vmd open -a vmd.app
>
> but it does not recognize an input pdb-file
>
> vmd xxx.pdb
>
> it does just open vmd and does not automatically load the pdb file
> how to change this?
>
> Thanks in advance
>
> Jorgen