Eric,

I'm not sure how to do everything you want.  But some things you  
should look at:

1) I use automator to build a double clickable application that can be  
put in the doc to launch Jmol.  You have to make it for the directory  
you have your Jmol.jar located in.

2) I am not aware of a way to pass the path to use to Jmol on launch  
except as a script.  Bob? Angel? Nico?  So one solution might be to  
have a script file in the directory with the set defaultdirectory  
directive in it.  Then open that script in Jmol.  I'm not sure if that  
is much of an improvement, but it s an idea.

3) Copy and paste I can help you with.  In finder use the normal cmd-C  
to copy.  When you switch to Jmol you have to use the *nix/Windows  
convention of cntl-V to paste not cmd-V.  At least it works on my  
computers.  It may be easier to get the proper path copied from a  
terminal window.

Hope this helps,
Jonathan
On Jan 17, 2011, at 10:10 AM, [email protected]  
wrote:

> Subject: Re: [Jmol-users] Jmol.app default dir in OS X?
> To: [email protected]
> Message-ID:
>       <[email protected]>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Sat, Jan 15, 2011 at 4:57 PM, Eric Martz  
> <[email protected]>wrote:
>
>> Could someone please explain to me how, in OS X (I am using leopard),
>> to most easily set the Jmol.app default directory? The only ways I
>> have found are so cumbersome that I have ended up littering my
>> directory tree with many copies of (different versions of) Jmol.app.
>> I double click on Jmol.app in the directory that has the relevant
>> scripts and PDB files.
>>
>> Ideally, I would like a button in Finder that would start Jmol.app,
>> setting the current directory to the one current in Finder. "Open
>> Terminal Here" is an application/droplet/script that does this for
>> Terminal -- not sure if it could be modified to open Jmol.app.
>>
>> Second best would be a way to drag and drop, or copy and paste, a
>> directory path that I have located in Finder. If I could easily copy
>> that path to the clipboard, then I could paste it into the Jmol
>> Script Console after typing "cd ". I don't know how to copy a path
>> from Finder to the clipboard.
>>
>> Obviously, I don't want to have to hand-type the filepath into a Jmol
>> cd command.
>>
>> Thanks! -Eric
>

                          Dr. Jonathan H. Gutow
Chemistry Department                                 [email protected]
UW-Oshkosh                                           Office:920-424-1326
800 Algoma Boulevard                                 FAX:920-424-2042
Oshkosh, WI 54901
                  http://www.uwosh.edu/facstaff/gutow






------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to