This file is indexed.

/usr/share/opensesame/help/inline_script.html is in opensesame 0.27.4-2.1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

 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
<style type="text/css">
	body { font-family: Verdana, Arial;	color: #2e3436; }	
	h1 { font-size: 14pt; }
	a { color: #2365a4; }
	.mono { font-family: monospace; }	
</style>

<h1>Inline_script items</h1>

<p>You can do a lot with the graphical interface of OpenSesame, but for certain
complex tasks you will have to use scripting/ programming. This is where the
inline_script item comes in. You can use regular
<a href='http://www.python.org'>Python</a> code in your inline script. Python is a
modern, powerful and high-level programming language. There are numerous
libraries available for Python, so there is really no limit to what you can do
using inline_script items.</p>

<p>The inline_script item contains two scripts. The Prepare phase script is
called first, before the sequence that contains the inline_script is executed.
This allows you to do perform some time consuming tasks in advance, so that the
Run phase goes smoothly. The Run phase script is called during the actual
running of the sequence that the inline_script is part of. So if you want to
present a stimulus display in your inline_script, it is good practice to
construct the display in the Prepare phase and show it in the Run phase. Note
that this is purely a convention, from which you can deviate as circumstances
dictate.</p>

<p>For more information about using Python scripting, see
<a href='http://osdoc.cogsci.nl/python-inline-code/about-python-inline-code'>
http://osdoc.cogsci.nl/python-inline-code/about-python-inline-code</a></p>