PDA

View Full Version : AC3D 5.0 Windows- Help->Manual fails under some web brows


Andy
25th February 2005, 02:55 PM
A number of people have reported this one. When a browser that is not Internet Explorer is set as the default, the manual fails.

Marcus send this workaround:

I managed a temporary workaround by changing the tcl/ac3d.tcl file so it includes the 'file:' protocol and a hardcoded path to the manual page:

# HELP menu
menubutton .mbar.help -text "Help" -menu .mbar.help.menu
-underline 0

menu .mbar.help.menu -tearoff 0
.mbar.help.menu add command -label "Manual..." -underline 0 -command "ac3d start_web_browser \"file://c:/program files/ac3d5/manual/index.htm\""
.mbar.help.menu add separator

Andy
27th February 2005, 11:31 AM
This is fix that will be put into the next bug-fix release - it should work on all systems.


proc start_web_browser_file { file } {
global AC3D_HOME

set full [ file join $AC3D_HOME $file ]
set fullfile "file://$full"

ac3d start_web_browser "$fullfile"
}


# HELP menu
menubutton .mbar.help -text "Help" -menu .mbar.help.menu -underline 0

menu .mbar.help.menu -tearoff 0
.mbar.help.menu add command -label "Manual..." -underline 0 -command "start_web_browser_file manual/index.htm"