Did you try with tm-file:// ? The following works for me:
echo "<meta http-equiv='Refresh' content='0; URL=tm-file://localhost$ {HOME}/Sites/index.html'>"
And alternate way to redirect is btw via the html “support library” found in the TM_SUPPORT_PATH (first library “includes” (sources) the library):
. "${TM_SUPPORT_PATH}/lib/html.sh" redirect "tm-file://localhost${HOME}/Sites/index.html"
Neither of these are working for me:
. "${TM_SUPPORT_PATH}/lib/html.sh" redirect "tm-file://localhost${TM_PROJECT_DIRECTORY}/public/index.html"
echo "<meta http-equiv='Refresh' content='0; URL=tm-file://localhost${TM_PROJECT_DIRECTORY}/public/index.html'>" ___________________ Ben Jackson Diretor de Desenvolvimento
+55 (21) 9997-0593 ben@incomumdesign.com http://www.incomumdesign.com
On 23/11/2005, at 13:01, Benjamin Jackson wrote:
Neither of these are working for me: [...]
Try with an abs. path you know to be working, might be TM_PROJECT_DIRECTORY that expands differently than what you expect.
Also, if you have the dev-tools installed, try typing NSView and select (bundle action menu) Objective-C -> Documentation for Class. This will use the meta-redirect to open the Cocoa documentation, and should verify that it isn't WebKit or so which is broken.