Hi,
Create the filter as follows.
Add the following to the "
usercmd.ini" file (if this file does not exist, create it with a text editor)
Code: Select all
[em_Videos]
button=
cmd=cd *.avi *.mkv *.wmv *.mp4 *.mov
menu=cd *.avi *.mkv *.wmv *.mp4 *.mov|https://www.ghisler.ch/board/viewtopic.php?t=81367
[Option: Click on button with command:
cm_CommandBrowser > click on "usercmd.ini" > New... > em_Videos >
command: cd *.avi *.mkv *.wmv *.mp4 *.mov > Tooltip ... > OK > OK]
View mode
Change "Auto-run commands" as follows:
Code: Select all
cm_DirBranch,em_Videos|cm_SrcAllFiles
|cm_SrcAllFiles ... Everything that comes after '
|' is executed after the View mode is ended -
in this case, the "Default" View mode is therefore automatically executed.
In my opinion, this
View mode should have the following
<Default> settings:
- Columns view: Full
- Sort order: Name
Each user can set what he want here or leave the original setting as it is.
Change "Auto Switch Mode" as follows:
+\\192.168.1.1\Camera\axis-00408CDC0297\
*
* causes
subdirectories to be accessed as well
Remark:
Code: Select all
cm_SrcUserDef 314 Source: Select user type
This command is a command WITHOUT parameters, i.e. it only calls up the filter mask and can NOT automatically
call up the desired file types for videos with this command. An em_command (no blanks!) as listed above can do this.
________________________________________________________________________
I suggest that you choose a more descriptive title (you can edit your first post), e.g.
"Show only video files in Branch View automatically".
Overview: View Mode | Auto Switch Mode | Custom columns view