On 13Sep2011 10:06, Tom Baker <tba...@tbaker.de> wrote: | I have a related problem since moving from XP to Mac last May. I save email | threads as MBOX files and reference them on the (local) home page of my | browser, Firefox. The home page is my to-do list, and it contains references | along the lines of: | | <A HREF=file:///Users/tbaker/work/important-email-exchange.mbox> | | Under XP, with some fiddling, I was able configure Firefox to launch a batch file, | which launched a script, which launched "mutt -f important-email-exchange.mbox".
Can you explain what you had to tell _firefox_ to achieve this? I'd imagine you need to associate .mbox file extensions with your script, and firefox's Prefs screens don't seem to offer me much control there. With a real web server instead of local file access one could tell the web server to offer the mbox file as a particular MIME type and go from there, but... | In | other words, one mouse click in my to-do list in Firefox put me right into mutt, | where I could read and directly respond to an email thread. I have been doing this | for years. Would the Finder do? Could you have the mboxen in a folder somewhere an open then from there? Bypassing Firefox. You can easily associate an app with a file extension; mine seems set up to hand mbox files to the Apple mail client at present. I can change that, but then the trick is to have an "app" that takes that and opens mutt in a Terminal window. | If I could solve this problem, then presumably I could configure the Mac to | open mutt when I click on a file such as "important-email-exchange.mbox" in | the Mac Finder. Indeed. There's a little shell script around called "appify" that wraps a shell script in the Mac app stuff for this, but I haven't got it working yet... Visit here: http://sixohthree.com/1314/shell-scripts-as-applications-in-mac-os-x http://git.abackstrom.com/appify.git Anyway, given that a open a Terminal and run mutt is very easy - some AppleScript via the oascript command to open Terminal, a shell script to fill in the strings. Personally I have a script called "+" that essentially runs: mutt -f "+$1" (with a lot of preamble guff). So I real my main inbox just by running this command: + and my "mutt and other mail things" folder thus: + mutt Do you not keep open terminals around? Is this easy enough? Cheers, -- Cameron Simpson <c...@zip.com.au> DoD#743 http://www.cskk.ezoshosting.com/cs/ They're not hiding, they're just selective. - overhead by WIRED at the Intelligent Printing conference Oct2006