[PD-dev] [ pure-data-Patches-1412210 ] fix for bug in menu_openhtml on Windows

SourceForge.net noreply at sourceforge.net
Sun Jan 22 19:26:10 CET 2006


Patches item #1412210, was opened at 2006-01-22 13:26
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1412210&group_id=55736

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: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Hans-Christoph Steiner (eighthave)
Assigned to: Nobody/Anonymous (nobody)
Summary: fix for bug in menu_openhtml on Windows

Initial Comment:

menu_openhtml() currently does not work if there is a
space in the file/path name (i.e. "C:\Program Files\pd")


Here is a fix.  In menu_openhtml() in u_main.tk, change:

exec rundll32 url.dll.FileProtocolHandler \
	[format "file:%s" $filename] &

To this:

exec rundll32 url.dll.FileProtocolHandler \
	[format "file:%s" [file attributes $filename
-shortname]] &


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

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=478072&aid=1412210&group_id=55736




More information about the Pd-dev mailing list