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

  • From: "Logan McMullen" <loganmcmullen@xxxxxxxxxxxxxxx>
  • To: <jawsscripts@xxxxxxxxxxxxx>
  • Date: Mon, 18 Jan 2010 17:56:20 +1300

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

Other related posts: