Thanks for these ideas but I was thinking of something more integrated with Zim, the main reason being I want to be able to create the expanded text within Zim with all it's formatting, inclusion of images, etc..

I don't know whether this is practical, but I suggest the following :

The abbreviations and text should be in a special Zim Notebook (in a similar way to Help).

Each abbreviation is the key to a page in this special Notebook. The text to be added is the content of the page.

The expansion of an abbreviation is invoked by a hotkey combination or clicking an icon or application menu entry (probably under Edit). A menu of abbreviations is opened.

The user starts to type the abbreviation and the first matched menu item is highlighted. The user can also scroll the menu and select an abbreviation with the mouse or arrow keys.

The expanded text matching the abbreviation is inserted into the text by pressing RETURN or double clicking the menu entry. The inclusion of the text can be reversed in the standard way using "Undo" or ctrl-Z.

There is a button on the each menu entry which when clicked allows the user to edit the abbreviation by opening the appropriate page in the special Zim Notebook.

The special Zim Notebook can be opened by an application menu entry (probably under Edit) thus allows the creation of new abbreviations, editing and deleting of existing ones.

Bill

On 16/10/13 18:43, NorfCran wrote:
I would like to add that there is also Kupfer <http://engla.github.io/kupfer/help/>, which is similar to very well known Quicksilver <http://qsapp.com/wiki/Main_Page>and it offers ZIM-Wiki plugin (this is out of the topic, but still relevant information). The Kupfer link points to a documentation, where are more details and examples. For instance you can activate plugin called "Send keys" utilizing xautomator (it has to be installed in the system). After that, I have realized your request by following steps:
1. activate kupfer inpput dialog (ctrl+spacebar by default)
2. press "." than you can write your text (or paste it from a clipboard)
3. press tab key and locate "Paste to Foreground Window"
4. press ctrl+enter (it chains the commands)
5. press tab key and locate "Run"
6. press ctrl+enter (it chains the commands)
7. press tab key and locate "Add Trigger..."
8. enter and set in your preferred shortcut
Finally you are ready to use the shortcut and trigger insertion of text in ZIM-Wiki window. I use this program also for bookmarking the pages, so I have instant access to certain pages through the triggers. I believe that this accelerator can speed up work in ZIM-Wiki, especially when it has a native support by the plugin.

JK

On 16 October 2013 00:59, Bill Oldroyd <billoldr...@gmail.com <mailto:billoldr...@gmail.com>> wrote:

    I am using Ubuntu 13.10. I downloaded Autokey but just
    straight-off I can't get it to work. I am going to have to spend
    some time looking at the Help and understanding how it works.

    I was thinking that the expansions need to be built using Zim so
    that formatting, links, etc can be a part of the expansion. Doing
    this through Autokey might be difficult, as it would be if we used
    a configuration file in a similar to "Insert symbol".

    One option would be to have a special page containing the
    abbreviation/expansion pairs. Another would be to have a separate
    page for each expansion.

    Bill


    On 15/10/13 22:25, Chris Habasinski wrote:
    +1

    I am running Xubuntu and Autokey works great.

    On 10/15/2013 10:48 AM, Vagn Bjørno wrote:
    If you use Linux you could use AutoKey:

    AutoKey is a desktop automation utility for Linux and X11. It
    allows you to manage collection of scripts and phrases, and
    assign abbreviations and hotkeys to these. This allows you to
    execute a script or insert text on demand in whatever program
    you are using.

    https://code.google.com/p/autokey/

    Regards
    Vagn Bjørno

    On 10/15/2013 02:00 PM, Jaap Karssenberg wrote:
    Bill,

    Afraid there is no such plugin available at the moment. If you
    have some
    experience with Python you might give it a try to develop one.
    Have a
    look at the "line sorter" and "insert symbol" plugins to get an
    idea of
    the code you need to make it.

    Regards,

    Jaap



    On Tue, Oct 15, 2013 at 12:29 PM, Bill Oldroyd
    <billoldr...@gmail.com <mailto:billoldr...@gmail.com>
    <mailto:billoldr...@gmail.com> <mailto:billoldr...@gmail.com>>
    wrote:

        Is there a plugin that allows me to insert standard text
    into a
        page. There a number of words, phrases and blocks of text
    that I use
        frequently and I wish to be able to input them with a few
    keystrokes.

        If you want an idea of what I mean, I wish to have
    something similar
        to the "Snippets Manager" available in GEdit.

        If there is not a plugin for this, can you give me a point
    in the
        code where I might be able to add this feature ?.

    _________________________________________________
        Mailing list: https://launchpad.net/~zim-__wiki
    <https://launchpad.net/%7Ezim-__wiki>
    <https://launchpad.net/~zim-wiki>
    <https://launchpad.net/%7Ezim-wiki>
        Post to     : zim-wiki@lists.launchpad.net
    <mailto:zim-wiki@lists.launchpad.net>
    <mailto:zim-wiki@lists.launchpad.net>
    <mailto:zim-wiki@lists.launchpad.net>
        Unsubscribe : https://launchpad.net/~zim-__wiki
    <https://launchpad.net/%7Ezim-__wiki>
    <https://launchpad.net/~zim-wiki>
    <https://launchpad.net/%7Ezim-wiki>
        More help   : https://help.launchpad.net/__ListHelp
    <https://help.launchpad.net/ListHelp>
    <https://help.launchpad.net/ListHelp>




    _______________________________________________
    Mailing list: https://launchpad.net/~zim-wiki
    <https://launchpad.net/%7Ezim-wiki>
    Post to     : zim-wiki@lists.launchpad.net
    <mailto:zim-wiki@lists.launchpad.net>
    Unsubscribe : https://launchpad.net/~zim-wiki
    <https://launchpad.net/%7Ezim-wiki>
    More help   : https://help.launchpad.net/ListHelp





    _______________________________________________
    Mailing list: https://launchpad.net/~zim-wiki
    <https://launchpad.net/%7Ezim-wiki>
    Post to     : zim-wiki@lists.launchpad.net
    <mailto:zim-wiki@lists.launchpad.net>
    Unsubscribe : https://launchpad.net/~zim-wiki
    <https://launchpad.net/%7Ezim-wiki>
    More help   : https://help.launchpad.net/ListHelp



_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to