Re: [Zim-wiki] Save simple text emails and remove the end of line (manuall line wrapping)

2011-04-11 Thread nomnex
On Mon, 11 Apr 2011 16:17:51 +0200
Jaap Karssenberg  wrote:

> Could you post it on the wiki at http://zim-wiki/wiki together with an
> expample of usage?
> 
> Would do it myself, but can't access it from here :(

Hello Jaap,

http://www.zim-wiki.org/wiki/doku.php?id=script_to_remove_manual_line_breaks_when_pasting_simple_text_emails_in_zim

nomnex


-- 
nomnex 

___
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


Re: [Zim-wiki] Regarding create directory in attachment browser.

2011-04-11 Thread smu
Hello,

On Mon, Apr 11, 2011 at 09:18:34PM +0200, Svenn Are Bjerkem wrote:
> Would it be feasible (maybe I can do it myself) to have another button
> which creates the attachment directory _without_ opening the file
> browser?

you can solve this with a simple custom tool. If you use zim on linux,
create a file with the following content:

#!/bin/bash
mkdir $1

make it executable and call it as custom tool with the parameter %d.

best regards,
  stefan


___
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


Re: [Zim-wiki] Regarding create directory in attachment browser.

2011-04-11 Thread Brian Shaver
How about making that a configuration option for the plugin instead of
adding a 2nd button?

Brian ..

On Mon, Apr 11, 2011 at 3:18 PM, Svenn Are Bjerkem <
svenn.bjer...@googlemail.com> wrote:

> Hi,
> since this is a plug-in I am not sure where to put my good suggestion,
> so I file it here first.
>
> Would it be feasible (maybe I can do it myself) to have another button
> which creates the attachment directory _without_ opening the file
> browser?
>
> --
> Svenn
>
> ___
> 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
>
___
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


[Zim-wiki] Regarding create directory in attachment browser.

2011-04-11 Thread Svenn Are Bjerkem
Hi,
since this is a plug-in I am not sure where to put my good suggestion,
so I file it here first.

Would it be feasible (maybe I can do it myself) to have another button
which creates the attachment directory _without_ opening the file
browser?

-- 
Svenn

___
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


Re: [Zim-wiki] Save simple text emails and remove the end of line (manuall line wrapping)

2011-04-11 Thread nomnex
On Thu, 7 Apr 2011 11:53:32 +0200
Jaap Karssenberg  wrote:

> On Thu, Apr 7, 2011 at 4:50 AM, nomnex  wrote:
> 
> > I need to save simple text emails in Zim, but to remove the manual
> > line breaks (msg end of line of about ~70 chars), without removing
> > the paragraph breaks.
 
> Sounds like a great example to show the usage of the "custom tools".
> 
> Attached a script, put it somewhere, make it executable, go into zim
> "Tools -> Custom Tools" and add the script with the "%f" commandline
> argument.
> 
> This will add the script in the tools menu and you can process pages
> in one go.

This is SUPER cool. Thank you for the script and the how to!!!


-- 
nomnex 

___
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