Bugs item #2534032, was opened at 2009-01-25 00:41
Message generated for change (Comment added) made by aherraez
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=2534032&group_id=23629

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: File Input/Output
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Professeur Mephisto (prof_mephisto)
Assigned to: Miguel (migueljmol)
Summary: windows shortcut "Start in" is ineffective

Initial Comment:
In the wiki 
(http://wiki.jmol.org:81/index.php/Support/Windows#Creating_shortcuts_to_Jmol_application)
 the way to have the default locationfor "file > open" is ineffective. Whatever 
the directory, it always use "My Documents".

----------------------------------------------------------------------

Comment By: Angel Herraez (aherraez)
Date: 2009-01-26 15:10

Message:
Testing as Bob suggested
java -Xmx512m -jar "C:\Program Files\Jmol\Jmol.jar" -j "cd c:/temp"
in 11.7.22 is not working for me; he "open" dialog takes me by default to
"My documents"


----------------------------------------------------------------------

Comment By: Angel Herraez (aherraez)
Date: 2009-01-26 12:53

Message:
Well, this used to work, in my system, when I wrote that info in the Wiki.
Now it does not.

I've started to think it might be related to version of Java, but no: It
still works for older Jmol versions with my current JVM 1.6.0_11.

So, something HAS CHANGED in Jmol itself, and I have tracked it down to
between 11.6.RC14 and 11.6.RC16.


----------------------------------------------------------------------

Comment By: Bob Hanson (hansonr)
Date: 2009-01-26 02:30

Message:
and that's with the property tab "start in" pointing to somewhere else? --
then I would use Jmol 11.7 and the -j option as shown below, with "cd
[whatever directory]" as the script. You can do that in your .bat file.
This is in 11.7, not 11.6. 



----------------------------------------------------------------------

Comment By: Professeur Mephisto (prof_mephisto)
Date: 2009-01-26 00:03

Message:
windows XP sp3 (french version) in a VirtualBox (RAM is 256 Mo). Java is
6.0.110.3. Jmol is 11.6.11.

I tried with a shortcut pointing to jmol.bat (I nead to do some other
operations before launching Jmol) and with the command-line java -Xmx512m
-jar "C:\Program Files\Jmol\Jmol.jar"

Each times, the default location is "My Documents" :-(


----------------------------------------------------------------------

Comment By: Bob Hanson (hansonr)
Date: 2009-01-25 13:53

Message:
Under what version of Windows? -- Please check again; this works for me. 

1) create a Windows Shortcut for Jmol.jar
2) right-click, under Properties, modify the "start in" property

However, the wiki might suggest that the standard startup for Jmol be
something like:

java -Xmx512m -jar "C:\Program Files\Jmol\Jmol.jar"

and explain that that gives more memory and more options. That's explained
elsewhere in the wiki, but indicating it here might be nice, as it also
allows starting with a script. So, for example, one could use:

java -Xmx512m -jar "C:\Program Files\Jmol\Jmol.jar" -g500x500 -j "cd
c:/temp;background white"

(The -j option is new -- for Jmol 11.7, not 11.6. For Jmol 11.6 you have
to put the script commands in a file and then refer to that file using the
-s option.)


Bob


----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=379133&aid=2534032&group_id=23629

------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to