Jump to content

Code which work in previous version, but not now with 3.2.2.0


Recommended Posts

FileWrite($file, "<table border=1 cellpadding=4> _

<tr> _

<td><b>" & $dateheure & "</b></td> _

<td width=200><b>" & $scriptname & "</b></td> _

<td bgcolor=green><b>OK</b></td> _

<td><a href=Z:\All\Auto_Testing\Screenshots>ScreenShot</a></td> _

</tr> _

</table>" & @CRLF)

FileClose($file)

********************************

- I was Using this Code in a previous version of Autoit and it worked 100% perfectly, but i upgraded with the version 3.2.2.0 and this code, return me an error. ->

D:\smoketest\SW_Anvil.au3 (1763) : ==> Unterminated string.:

FileWrite($file, "<table border=1 cellpadding=4> _

Any ideas ?

Thanks in advance!

Note: If I put all these code on a single ligne, all will be ok... But i want all that on multiple lines... Make thing easier to read...

Edited by TheArtifice
Link to comment
Share on other sites

  • Moderators

I am having simular problem with run command exuting the following command in autoit v3.2.2.0, this command works OK in Version 2.64

Autoit 2.64

run, X:\\setup.exe -R -UY:\\Agent.rsp

Might like to take a look at the AutoIt3 help file for the correct syntax (which was changed from 2 to 3).

Common sense plays a role in the basics of understanding AutoIt... If you're lacking in that, do us all a favor, and step away from the computer.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...