ZTree.com  | ZEN  | About...  

 Index   Back

[Notice] ZBar Script Host ZAAP   [Notice]

By: Ian Binnie   Homepage   Sydney  
Date: Apr 02,2009 at 07:14
In Response to: [Notice] ZBar Script Host ZAAP (Martijn Coppoolse)

> I've been playing a bit with a way to tag/untag files matching a
> regular expression using Ctrl-Y last weekend.
>
> As usual, I got a bit carried away in my tendency to make everything
> all-purpose, and it turned into a generic script host. So now this new
> ZAAP makes it possible to evaluate script expressions from the Ctrl-Y
> Assist command line, as well as run one or more scripts whenever zbar.dat
> changes.
>
> Anyway, here's the first version:
> href="http://martijn.coppoolse.com/software/download/ZbarScriptHost-1.0.0.zip">http://martijn.coppoolse.com/software/download/ZbarScriptHost-1.0.0.zip

I will give this a try.

> (I could remove both those dependencies, and probably will, but that'll
> take time, so I thought I'd post this version already, to see if other
> people are interested).

It probably comes as no surprise that I have been playing with a ZAAP, more for my own interest.

I tried when Jeff first proposed this, but found Boost unusable.
PCRE is much easier, and I managed to get it to compile using VC++6.0 (I don't know why open source has to make this so hard). Incidentally PCRE is used in WinMerge.

I have also been enhancing one of my ZAAP templates to speed up Ctrl+Y processing.
Initially this took ~60mSec per file, it is now down to ~16mSec.

A lot of this seems to be with display updating, and may be faster on a more powerful system, but still too slow for practical use on a large data set.

RegEx filtering may be interesting, but the real gain would come with rename, not possible with ZAAP, so this is just an experiment. Kim will eventually build this into ZTreeWin (although it still wouldn't be my No 1).

2,676 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 75 users online (0 registered, 75 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 11:32 am UTC  |  Hits:62,403,864  (18,650 Today )
RSS Feed