Bwana: Generate HTML but don't open
-
- Inductee
- Posts: 1
- Joined: Fri Oct 22, 2010 4:30 pm
Bwana: Generate HTML but don't open
Hello, I've been using Bwana for a while, and it's very useful. However, there's one thing I want to do and that requires that the man page is just generated, not opened in the browser. Would it be possible to have that happen? I just want the HTML file available.
Re: Bwana: Generate HTML but don't open
There are two options, one is to re-write the scripts.strings file inside the Bwana package to ignore the open HTML command. For Safari it would be changing the open URL line to:
The other is to get the original source code from BitBucket and comment out the internals of the method (openInBrowserThePath:inNewWindow:) that open the web browser. Rebuilding a modified copy of Bwana would require Xcode. With the code you can go further and then do what you have in mind automatically.
Code: Select all
tell application \"Safari\"\n end tell