>>> Currently you cannot open .wx.lua files from the Finder... >> well, this is not indispensable... > > It's not that hard to add for the next release, we need an > entry for .lua (or perhaps .wx.lua) in the Info.plist file
Doc type "wx.lua" doesn't work, so it needs to be "lua"... (no mime types or anything, it only does the file suffix) > (probably also need a matching document icon to go with it), Made an icon at http://www.algonet.se/~afb/wx/wxLuaFile.icns (it looks like http://www.algonet.se/~afb/wx/wxLuaFile.png) > and we need to implement the MacOpenFile method in wxApp: > > // in response of an open-document apple event > virtual void MacOpenFile(const wxString &fileName) ; Did a quick copy/paste implementation of this, but it wasn't perfect: it opened up the first empty window anyway on launch, and then did the requested script afterwards (on top of that). What was worse was that if you close them in the wrong order, the application doesn't quit - but has to be force-quitted... So it probably needs some more thought-through implementation :-) --anders ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ wxlua-users mailing list wxlua-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxlua-users