Theo, You wrote:
> How can I let the user choose which app to open a .html or .xml file > with, from within my own app? > You know how HTML editors let you preview your file in a "proper > browser". > How is it done these days? The current way that I do it in my HelpLogic app <http://www.ebutterfly.com/helplogic/> is by allowing users to add their favorite HTML editors and viewers to HelpLogic's existing external app menus, which are maintained "behind the scenes" as XML files. The user's selected app's GetSaveInfo is Base64-encoded and saved in the XML file. When a user selects that app from the menu in HelpLogic to open/view a particular HTML file, HelpLogic Base64-decodes the GetSaveInfo from the XML file, and uses a Shell command to open the selected HTML file in that selected external app. This approach works very well cross-platform (Mac and Windows) and allows users to add as many of their favorite HTML editors and viewers/browsers to HelpLogic as they want. Hope that helps... Regards, Dave Wooldridge Electric Butterfly http://www.ebutterfly.com ---------------------------------------- RB Garage - http://www.RBGarage.com The largest independent online resource For REALbasic software developers! ---------------------------------------- _______________________________________________ Unsubscribe or switch delivery mode: <http://www.realsoftware.com/support/listmanager/> Search the archives of this list here: <http://support.realsoftware.com/listarchives/lists.html>
