# User-defined Command

This is most powerful action in worker. You can use any external program in worker.

Options:

1. With apostrophe
   The selected items will be used set in quotation marks.
2. Separate each item
   The defined command will be performed on every item separately.
3. Recursive
   The command will be performed on every file in the subdirectories.
4. Start mode
   - Normal mode
     Usable for programs like picture viewers. If the program uses the textmode for requests you should not use this mode because there is no possibility to make inputs.
   - Console mode
     The program will be executed in a terminal so you can perform textinputs.
   - Console mode with wait for any-key
     As described above but you have to press return after execution. This lets you see the output.
   - Display output
     After the execution the program-output will be displayed. But you have to define an existing viewer because not every system contains 'xmessage', which I use by default.

Write the command, with needed flags, in the textfield.
For example:
xv {f}
displays the selected file with xv. But you do not have to fill in the flags by hand. Just place the cursor in the right position and click button 5.. A requester appears where you can choose the correct flag. -> Flags
The last textfield offers you the possibility to name a viewer for the output. The string has to contain %s, because the name of the outputfile will be filled in there.

Goto Function
Goto Edit Button
Home