Title: Opening files from Safari
Hello,

I’m not sure this is the correct list.

We are developping software on mac that use a web browser to navigate within a database.
When a user select something (ie a quark xpress or indesign document) we wish to open it on his/her mac using the correct application.

The url we place in the web page is something like: file:///Volumes/server/.../document.qxd

In the past (2 months ago) we’ve been able to have it working with Safari by installing a “
com.apple.DownloadAssessment.plist” file in the ~/Library/Preferences folder.

This file contains the following:

<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.comProperty-List-1.0.dtd">
<plist version="1.0">
<dict>
    <key>LSRiskCategorySafe</key>
    <dict>
        <key>LSRiskCategoryExtensions</key>
        <array>
            <string>qxd</string>
            <string>qxt</string>
            <string>indd</string>
        </array>
    </dict>
</dict>
</plist>


Since the last OsX Update, the file do not open anymore. What happens is the folder containing the file is opened and the file is selected by the finder.

Is there’s a way to have Safari launch the application and open the file?

I understand this is probably a security problem but it would be great to have a solution. Otherwise our web based solution will not work anymore and we are stuck with InternetExplorer which is the only one to work as expected.

Maybe some Safari gurus can help on this point.

Thanks in adavance

Luc Potron
Trias Développement
_______________________________________________
webkit-dev mailing list
[email protected]
http://www.opendarwin.org/mailman/listinfo/webkit-dev

Reply via email to