ZTree.com  | ZEN  | About...  

 Index   Back

[Wish] need a seconday Open function maybe enhancing Alt-Open a little   [Wish]

By: Ryan       
Date: Oct 01,2018 at 07:47

Hello.

unicode file names like "??.mp4" do not work in F9 ztreemenu, but they work in ztree's "O"pen function.

and if the certain codecs of mp4s with unicode file names do not work with your mainstream program, this seems to be the end. so I need a secondary "O"pen function.

my suggestion could be something like enhanching alt-Open function.

if alt-Open does not find c:\ztree\mp4.bat then alt-open works like an old way.
if alt-Open finds c:\ztree\mp4.bat, then it looks for a file name "mp4.altbat" and runs it like a batch file.


or is it possible to code ztree like this way?

if alt-open is invoked, ztree passes a string, let's say this string is var$="xyz"

if mp4.bat sees an extra "xyz" then it passes that "xyz" into the script like

if var$="" then mp4player1.exe %1
if var$="xyz" then mp4player2.exe %1

what other ways might be there?

130 views      
 

Messages in this Thread

 
93,933 Postings in 11,850 Threads, 347 registered users, 10 users online (2 registered, 8 guests)
Index | Admin contact |   Forum Time: Dec 10, 2018 - 1:00 pm EST  |  Hits:26,925,851  (2,319 Today )
RSS Feed