ZTree.com  | ZEN  | About...  

 Index   Back

[Q] is there a way to achieve only cyclic through 100 and 80 and MAX in /COLS: ?   [Q]

By: Ryan       
Date: Dec 20,2018 at 08:40
In Response to: [Q] is there a way to achieve only cyclic through 100 and 80 and MAX in /COLS: ? (Slobodan Vujnovic)

../COLS:100:80:MAX does not work, because it has a wrong input format
../COLS:168:120:80 /MAX not the way i wanted, because the default is max, and the max value is not in the cyclic.


Now i have to do this way for 1 batch for many pc's or many monitors.

if %Computername%==ABC ZTW.EXE /COLS:100:80:168
if %Computername%==XYZ ZTW.EXE /COLS:100:80:136
if %Computername%==IJK ZTW.EXE /COLS:100:80:120

or

WMIC horizontalResolution x1
if x1==1920 ZTW.EXE /COLS:100:80:190
if x1==1680 ZTW.EXE /COLS:100:80:168
if x1==1366 ZTW.EXE /COLS:100:80:136
if x1==1280 ZTW.EXE /COLS:100:80:120


WMIC does not give an answer as number usually, it gives the ans in the paragraph form that i have to filer out, and if WMIC is too slow, then i will consider the
%Computername% form which is an user dependant

thanks for your reply, I can now stop looking for other ways in ztree.

933 views      
Thread locked
 

Messages in this Thread

 
96,637 Postings in 12,231 Threads, 350 registered users, 55 users online (0 registered, 55 guests)
Index | Admin contact |   Forum Time: Mar 28, 2024 - 8:42 am UTC  |  Hits:62,360,325  (12,722 Today )
RSS Feed