ZTree.com  | ZEN  | About...  

 Index   Back

[ZEP] Creating #ZTSearch at session startup   [ZEP]

By: Slobodan Vujnovic   Homepage   France  
Date: Mar 06,2016 at 13:18


Unlike the other 15 %#ZTxxx% environment variables, the %#ZTSearch% (Last search
string) is not created until Search is used in View.

I'm doing some scripting that parses the output of the "SET #ZT" shell command
executed from within ZTree, and would like to have all 16 items present. This would
simplify parsing using AutoHotkey and other crude tools.

More precisely, if I'm looking for the value of #ZTTemp, it is sometimes item 12, other times 13.

Would it be possible to create an empty #ZTSearch at startup, so it exists in the environment? Thanks.

1,010 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 115 users online (0 registered, 115 guests)
Index | Admin contact |   Forum Time: Mar 29, 2024 - 3:47 pm UTC  |  Hits:62,411,686  (26,472 Today )
RSS Feed