VMD-L Mailing List
From: Robert Brunner (rbrunner_at_illinois.edu)
Date: Mon Aug 24 2009 - 15:02:20 CDT
- Next message: John Stone: "Re: using VMD 1.8.7 on a Mac"
- Previous message: Jorgen Simonsen: "Mac and cmd line"
- In reply to: Jorgen Simonsen: "Mac and cmd line"
- Next in thread: Ben Eisenbraun: "Re: Mac and cmd line"
- Reply: Ben Eisenbraun: "Re: Mac and cmd line"
- Reply: JT: "Re: Mac and cmd line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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
- Next message: John Stone: "Re: using VMD 1.8.7 on a Mac"
- Previous message: Jorgen Simonsen: "Mac and cmd line"
- In reply to: Jorgen Simonsen: "Mac and cmd line"
- Next in thread: Ben Eisenbraun: "Re: Mac and cmd line"
- Reply: Ben Eisenbraun: "Re: Mac and cmd line"
- Reply: JT: "Re: Mac and cmd line"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]