On Mon, 21 Aug 2006 09:17:37 -0700, Charles Stuart wrote:
Hi Will, I'm not seeing the preference file. Ran odbeditor and returned this: --> Unable to find application for bundle com.barebones.bbedit.
And then no preference file (~/Library/Preferences/org.dyndns.wuther.ODBforwarder.plist) is created in ~/Library or /Library.
Weird. That preference file should be created as soon as the app starts up. If you double-click on ODBForwarder.app, that file should be created even though there are no apple-events to forward.
I've made a new version that outputs an error _when_ it can't create the file. I can't figure out how to make it output _why_ it can't create the file, so I'm not sure this is much more useful. It is on the web at: http://www.cse.unsw.edu.au/~willu/ODBSuite/ ODBForwarder-23Aug2006.tgz
I guess it will tell you if the file is being created somewhere strange. I'm just using the default app preferences API, so I don't actually tell the OS where to create the file. e.g. it might be creating a machine specific preference for some reason.
If you've got XCode, you could change the source and recompile... The default editor bundle ID is listed on line 115 of main.c.
Let me know if that helps,
Will :-}
On Aug 17, 2006, at 11:18 PM, William Uther wrote:
Hi, Just thought I'd let everyone know that I've made a new app for use with TextMate. It is open source and described here:
http://www.cse.unsw.edu.au/~willu/ODBSuite/
Is is still early days and has many rough edges, but I think it's useful. I'm releasing early - we'll see if I have enough time to release often. :)
The app is a command line app, odbeditor. It acts like the 'mate' command line program, but has a few advantages (and some disadvantages too :)
usage: odbedit [-h] [-e editor] [-s saveScript] [-c closeScript] filename [filename ...]
- It can be run from a remote shell. This means that you can ssh
into your box and start TextMate remotely. (Yes, there are uses for this - it is the main reason I wrote the thing :)
- It can call out to other scripts when the program is saved or
closed (so you could scp the file somewhere, just to pull a random example out of the air.)
- It will work with any ODB Suite editor (i.e. any editor that
works with those FTP programs like Cyberduck.)
Be well,
Will :-}