Ostensibly, this plugin is designed to serve the feature request here. It will insert into the current text field a date and/or time string that you can format from within the preferences. You can access the insert functions from the menu(keyboard shortcuts can be add through the Keyboard System Preference Pane under "Application Shortcuts.") or the toolbar.
However, the real purpose of this plugin is to serve as an example and template to others who might want to try a plugin but don’t know where to start. Sometime this weekend, I should be able to post the completed Xcode project, commented to help one write a toolbar/menu/prefpane plugin for Mori. It will not serve as an introduction to the objective-C language, but it should help one parlay any obj-c knowledge or tutorials into working plugins.
Of course, the first thing to read would be the Blocks introduction.
If anyone would like to help out, icons for “insert date” “insert time” “insert date and time” and “DateTime PrefPane” would be greatly appreciated.
| Attachment | Size |
|---|---|
| DateTimeProject.zip | 98.33 KB |
| DateTime.plugin.zip | 26.07 KB |
Thanks for tackling this it
Thanks for tackling this it work well for me... when you are ready I think it would make sense to host this plugin code in the subversion user repository. I can do that when you are ready, or you can. For those who don't know the user repository is an open subversion repository that I've setup for users to managed any contributed code.