write to specific filename

Paul Gr pauls_postbus at hotmail.com
Thu Jul 27 12:23:59 UTC 2006


hello felix,

The startup parameters are available as attributes of the current context. 
For example:

c.GetAtrrib("Subject")

You can use attribute values to assemble strings, such as filenames. Another 
example:

Dim strFilename as String
strFilename = "mouse-" & CStr(c.GetAttrib("Subject")) & "-" & 
CStr(c.GetAttrib("Session")) & ".txt"

hope this helps.

best,
paul


>From: Felix Fischer <beamgau at gmx.de>
>To: EPRIME at MAIL.TALKBANK.ORG
>Subject: write to specific filename
>Date: Thu, 27 Jul 2006 14:16:14 +0200
>
>hello,
>
>i use an inline-script to log the mousecursour-coordinates. i want to write 
>this to a txt-file, and this works fine. but is it possible to put a string 
>or something in the filename? i would like to use the subject-number, which 
>is asked at startup. can anyone give me a hint?
>
>thank you
>
>f.fischer
>



More information about the Eprime mailing list