[jawsscripts] Re: adding file extensions to time string

  • From: Jim Bauer <holdsworthfan@xxxxxx>
  • To: jawsscripts@xxxxxxxxxxxxx
  • Date: Fri, 29 Jan 2010 11:11:55 -0600

run("c:\\windows\\system32\\cmd.exe /c echo
"+sysGetTime("hh-mm-ss"+"><filepath>")
"Logan McMullen" <loganmcmullen@xxxxxxxxxxxxxxx> wrote on Sat, 30 Jan
2010 05:12:31 +1300:

>Hi everyone,
>
>Thanks to all of you whom have provided ideas in regard to my piping output
>questions.
>
>I've got the script running for the most part now but would like to tidy it
>up as suggested by Paul by ensuring a file path and type as part of the let
>statement for the time variable.
>
>If I use the line:
>Let sTimeNow=(SysGetTime ("hh-mm-ss"))
>
>The system time is stored in the desired variable in the desired format but
>I've not be able to work out how to build this function call into a file
>path/type  structure without causing errors.
>
>I've tried the statement:
>Let sTimeNow="c:\\LocationFolder\\"(SysGetTime ("hh-mm-ss"))".txt'
>But the script manager reports that the hh-mm-ss part of the function call
>is an unknown variable.
>
>I've given a number of other ideas a go but would appreciate any suggestions
>that people might have as to a nice tidy way to make this happen.
>
>Regards,
>
>Logan.
> 
>
>__________ Information from ESET NOD32 Antivirus, version of virus signature
>database 4818 (20100129) __________
>
>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

__________ 
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: