ZTree.com  | ZTreeWiki  | ZEN  | ZEST  | About...  

 Index   Back

Spaces?   [Notice]

By: Liviu       
Date: Apr 01,2009 at 21:38
In Response to: Spaces? (Martijn Coppoolse)

Martin,

Neat ZAAP, and that's before even having a chance to actually play with it.

> Keep in mind that all ZAAPs get to see the command, so if a ZAAP
> doesn't recognize the command, I prefer it to ignore it, in case some
> other ZAAP (or script, in this case) does recognize it. Perhaps I'll add
> a procedure for each script to register for a specific command, to reduce
> the potential for conflicts.

I believe that such potential conflict is what this (from zaap.txt)...

|| In order to support a set of commands unique to a particular Assistant
|| Application, developers should register with Zedtek their preferred 'Client
|| Identifier' (passed in the entryline field below).

...was meant to address. Having multiple ZAAPs compete to process and write back return codes to the same Y commands in the same zbar.dat file is a scenario neither workable nor desirable.

I am not necessarily suggesting that every ZAAP must formally register its own prefix, but it might be safer to avoid too common command names like "match".

Cheers,
Liviu

360 views      
Thread locked
 

Messages in this Thread

 
82,793 Postings in 10,445 Threads, 196 registered users, 8 users online (1 registered, 7 guests)
Index | Admin contact |   Forum Time: Sep 8, 2010 - 6:24 pm CDT  |  Hits:5,285,270  (2,667 Today )
RSS Feed