​Hi Phil,

​In Safari Preferences, go to Advanced and check "Show Develop menu in menu
bar."

In the resulting Develop toolbar drop-down, there is a Disable Local File
Restrictions check toggle item. Select this if it is not checked.

On the Chrome (37.0.2062.94 on Mavericks) issue that I wrote about
yesterday, there are two ways to avoid the terminal directly if you have
some familiarity with the Apple Automator.

Open Automator. Choose Application. Select Utilities. Drag Run AppleScript
to the Automator window. Copy/paste one of the following scripts into the
resulting text window. Save the app to desktop. Double click OR Drag/Drop
htm file depending on approach you selected.

FOR DOUBLE CLICKABLE AUTOMATOR APP

on run {input, parameters}

do shell script "open -a /Applications/Google\\ Chrome.app --args
--allow-file-access-from-files"

end run
FOR DRAG/DROP AUTOMATOR APP

on run {input, parameters}

tell application "Finder"

 set filename to input as text

 set filepath to POSIX path of filename

end tell

do shell script "open /Applications/Google\\ Chrome.app --args
--allow-file-access-from-files file:///" & filepath

end run
Again, it is most important that Chrome is closed when you do this. If
Chrome is open, neither script will work properly. Late night last night.
What a weird scripting language! I have not dealt with AppleScript since my
first Macintosh LONG ago.

Otis

On Mon, Sep 1, 2014 at 10:07 AM, Philip Bays <pb...@saintmarys.edu> wrote:

> I think I was the one who raised this issue (#3).  Perhaps I was not
> clear, or perhaps I am dense.
>
> I am not talking about the Java applet.   I am trying to launch test2 in
> Safari with JSmol by double clicking it.  The applet tries to load but then
> fails.   I see the opportunity in Safari...Preferences…Security to white
> list various plug-ins: things like Flash, Adobe, Quicktime, etc.   I
> believe this is where Java also appears if it is on the system.  But I see
> no preference for JSmol except to “enable javascript”.
>
> What am I missing?
>
> Phil
>
>
> On Wed, Aug 20, 2014 at 1:25 PM, Robert Hanson <hans...@stolaf.edu> wrote:
>
>> Issue #3  JSmol/Java applet will not run in Safari for local pages
>> (Mavericks OS 10.9.4)
>>
>> Solution: Open a local page accessing the JSmol/Java and then using
>> Safari...Preferences...Security, enable local file reading
>>
>> See http://sourceforge.net/p/jmol/mailman/message/31570102/
>>
>> Outcome: Reloading the page, you should get the standard alerts about
>> running Java applets, then the Jmol applet will start.
>>
> Philip Bays
> Emeritus Professor of Chemistry
> Saint Mary's College
> Notre Dame, IN 46556
> pb...@saintmarys.edu
>
>
>
>
> ------------------------------------------------------------------------------
> Slashdot TV.
> Video for Nerds.  Stuff that matters.
> http://tv.slashdot.org/
> _______________________________________________
> Jmol-users mailing list
> Jmol-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>


-- 
Otis Rothenberger
o...@chemagic.com
------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Jmol-users mailing list
Jmol-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-users

Reply via email to