[-Contents-] [-Installation-] [-General Info-] [-Main Window-] [-Commands-] [-Menu-] [-Changes-]

Configure Filetypes

7k

You can configure any number of filetypes. A filetype is recognized by the suffix.
For example: defining a command for each file ending in .txt (an ASCII Textfile) would launch the defined program each time you doubleclick on a file ending in .txt (pressing return when the cursur is over it does the same). You can define the colour in which this filetype is displayed. Clicking 'Find File' opens a standard Windows requester where you can select the file you want to apply to this specific filetype. If you want to apply a program to this filetype that is already applied to another filetype you can click on the drop down box just below the filetype list.
From PCOpus 1.51 on you may specify more than one command for a filetype. It is now possible to define a command for

LL, LR and RL should be clear to understand.
SideChange means: You may click on a file in a window, quickly move to the inactive window and click again (left or right)
You can also use most internal commands for the filetypes. Please look in the drop-down list for available commands.
Two special filetypes exist, too. One is *!f. This means all files. This filetype is only activated if no other filetype was found fitting. Defining the *!f filetype with *!WinStandard in the LL field is the same as using <Windows Standard> in previous versions of PCOpus. The other one is *!d. This means all directories. The settings here are used when any directory is selected with LL, LR, RL, L-c-L and L-c-R. The settings in LL are ignored, double-clicking always enters the directory. I recommend defining L-c-L with *!DisplayDirInOtherWindow.
If you want to have no command executed when a certain combination is clicked, define *!*NoCommand for this function. PCOpus will not look for the command defined in *!f then.
Behind each line is a little checkbutton. Check it if you use commands like
C:\WINDOWS\Sndrec32.exe /play /close /embedding
for playing WAV files for example. If the checkbutton is on, VB internal routines are used instead of Windows calls. You can use any options for the command called and you can use programs with names containing spaces this way. (Leave the checkbutton off when using programs with spaces in the name.) Try it out if you have problems, the only thing you may get if the operation fails is a little requester. You should leave the checkbuttons off until you experience problems.

Please take care. Since the possibilites are now really vast, the dangers have grown, too. Defining too much commands for filetypes can lead to confusion. You have been warned ! It is now even possible to define 'Delete' on a double-click !

Some internal settings are available for filetypes:

Buttons available: