File: function28.html

package info (click to toggle)
worker-doc 2.9.0-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 1,604 kB
  • ctags: 18
  • sloc: sh: 517; makefile: 279
file content (73 lines) | stat: -rw-r--r-- 3,137 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
 <meta name="Author" content="Ralf Hoffmann">
 <title>User-defined Command</title>
 <link rel="contents" href="sidemap.html" title="Content">
 <link rel="start" href="index.html" title="Index">
 <link rel="index" href="index.html" title="Index">
 <link rel="prev" href="function27.html" title="">
 <link rel="next" href="function28-1.html" title="">
 <link rel="chapter" href="introduction.html" title="Introduction">
 <link rel="chapter" href="installation.html" title="Installation">
 <link rel="chapter" href="config.html" title="Configuration">
 <link rel="chapter" href="usage.html" title="Usage">
 <link rel="chapter" href="function.html" title="Function overview">
 <link rel="chapter" href="todo.html" title="TODO">
 <link rel="chapter" href="changelog.html" title="ChangeLog">


<link rel=stylesheet type="text/css" href="style.css">
</head>
<BODY ALINK="darkblue" BACKGROUND="../pics/winback.png" BGCOLOR="#8E8E8E" LINK="darkblue" TEXT="#000000" VLINK="darkblue">
<center>
<h1>
 <b>
  <i>User-defined Command</i>
 </b>
</h1></center><br><br>
This is most powerful action in worker. You can use any external program in worker.
<P>
<u>Options:</u><BR><br>
<center><IMG SRC="../pics/f10.png" ALT="User-defined Command" WIDTH="265" HEIGHT="198"></center><br><BR>
<ol>
<li><u>With apostrophe</u><br>
The selected items will be used set in quotation marks.
</li>
<li><u>Separate each item</u><br>
The defined command will be performed on every item separately.
</li>
<li><u>Recursive</u><br>
The command will be performed on every file in the subdirectories.
</li>
<li><u>Start mode</u><br>
<ul>
<li>Normal mode<br>
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.
</li>
<li>Console mode<br>
The program will be executed in a terminal so you can perform textinputs.
</li>
<li>Console mode with wait for any-key<br>
As described above but you have to press return after execution. This lets you see the output.
</li>
<li>Display output<br>
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.
</li>
</ul>
</li>
</ol>
Write the command, with needed flags, in the textfield.<br>
For example:<br>
<center>
xv {f}<br></center>
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 <b><u>5.</u></b>. A requester appears where you can choose the correct flag.
-> <A HREF="function28-1.html">Flags</A><BR><BR>
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.
<center><HR>
<a href="function.html"><b>Goto Function</b></a><br>
<a href="config4-1.html"><b>Goto Edit Button</b></a><br>
<a href="index.html"><b>Home</b></a></center>
</body>
</html>