Date: Fri, 22 Oct 2010 12:18:44 -0700
Reply-To: Bruce Weaver <firstname.lastname@example.org>
Sender: "SPSSX(r) Discussion" <SPSSX-L@LISTSERV.UGA.EDU>
From: Bruce Weaver <email@example.com>
Subject: Re: Running a Syntax File at the start of each SPSS session &
Formatting/Wrap text in syntax editor
Content-Type: text/plain; charset=UTF-8
From the Help files:
You can create a script that runs at the start of each session and a
separate script that runs each time you switch servers. For Windows you can
have versions of these scripts in both Python and Basic. For all other
platforms the scripts can only be in Python.
• The startup script must be named StartClient_.py for Python or
StartClient_.wwd for Basic.
• The script that runs when switching servers must be named StartServer_.py
for Python or StartServer_.wwd for Basic.
• The scripts must be located in the scripts directory of the installation
directory--located at the root of the installation directory for Windows and
Linux, and under the Contents directory in the application bundle for Mac.
• On Windows, if the scripts directory contains both a Python and a Basic
version of StartClient_ or StartServer_ then both versions are executed. The
order of execution is the Python version followed by the Basic version.
• If your system is configured to start up in distributed mode, then at the
start of each session any StartClient_ scripts are run followed by any
StartServer_ scripts. Note: The StartServer_ scripts also run each time you
switch servers, but the StartClient_ scripts only run at the start of a
--- end of Help ---
The startup script can no doubt call the syntax file that defines your
J Sutar wrote:
> a) I've love to know how to do this also! What you could do otherwise is
> run the file using the INSERT command but you would have to do this
> at each session....
> b) Text editors can crop your lines to a specified number of characters. I
> know Komodo can do this but TextPad perhaps could also, which is free.
> On 22 October 2010 15:35, Ratna Wynn <firstname.lastname@example.org> wrote:
>> I have two questions and would appreciate any guidance.* *I have SPSS 18
>> a) I have a file where I have a number of macros. I would like these to
>> at the start of each SPSS session. How do I get SPSS to automatically run
>> them each time.
>> b) I sometime have to scroll right to see the text on my syntax editor.
>> it possible to wrap text? Does anyone know how to do this.
"When all else fails, RTFM."
NOTE: My Hotmail account is not monitored regularly.
To send me an e-mail, please use the address shown above.
View this message in context: http://spssx-discussion.1045642.n5.nabble.com/Running-a-Syntax-File-at-the-start-of-each-SPSS-session-Formatting-Wrap-text-in-syntax-editor-tp3232350p3232819.html
Sent from the SPSSX Discussion mailing list archive at Nabble.com.
To manage your subscription to SPSSX-L, send a message to
LISTSERV@LISTSERV.UGA.EDU (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
For a list of commands to manage subscriptions, send the command