[jawsscripts] Re: Piping a string variable to a txt file as part of a script

  • From: Soronel Haetir <soronel.haetir@xxxxxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Sun, 17 Jan 2010 20:35:46 -0900

As far as I've seen in the FSDN jaws scripting does not have general
purpose file I/O.  It does have I/O for ini files.  For the most part
I would say that not having general purpose file I/O is a good thing
from a security standpoint.

You could embed an echo command directly into your script I suppose
rather than putting it in a batch file.  Or embed the batch file into
your script and write it out as part of the AutoStartEvent.  Either
way as a user I would be extremely leery of a script that did any such
thing

On 1/17/10, Logan McMullen <loganmcmullen@xxxxxxxxxxxxxxx> wrote:
> Hi everyone,
>
> I'd like to use an input box to get some content from a user and to then
> have the variable that is returned by the box save/piped to a txt file that
> the script also creates.
>
> The process would go like this(** note keystrokes are not what I'm using in
> the actual script)
>
> 1. User hits ctrl+p and gets presented  with the  input box
> 1(a) A text file with a filename  of the current system time is created.
> 2. User inputs  content(text) in the box and hits enter(string variable is
> then created by the input box
> 3.  String variable is appended to a txt file that has been created.
>
> I have the time variable already sorted and could use a batch file to create
> the txt file  but would rather use all script functions to achieve this if
> possible to remove the need for the batch file to be on the users machine.
>
> Thoughts appreciated.
>
> Logan.
>
>
>
> __________ Information from ESET NOD32 Antivirus, version of virus signature
> database 4780 (20100117) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
>
>
> __________
> Visit and contribute to The JAWS Script Repository http://jawsscripts.com
>
> View the list's information and change your settings at
> http://www.freelists.org/list/jawsscripts
>
>


-- 
Soronel Haetir
soronel.haetir@xxxxxxxxx
__________ 
Visit and contribute to The JAWS Script Repository http://jawsscripts.com

View the list's information and change your settings at 
http://www.freelists.org/list/jawsscripts

Other related posts: