charliemopps
Joined: 09 Feb 2006 Posts: 117
|
Posted: Tue Jul 28, 2009 7:14 pm Post subject: Need help figuring out this error |
|
|
AHK is erroring out on the very last line of this, and it says
Specifically:;
But that character is not in the code... The character it's referring to is a bracket! So I don't get it.
| Code: | Jscript =
( Join`r`n
<html>
<body text="#00FF00" bgcolor="#000000">
<script type="text/javascript">
function ClipBoard()
{
var a = "
)
FileRead, Contents, %SelectedFile%
if not ErrorLevel ; Successfully loaded.
Loop, parse, Contents, `n, `r
{
If A_Index = 1
{
TOP = %A_LoopField%
}
Else
{
Jscript := Jscript ""A_LoopField """ + ""\n"" + document.links.txtbox" A_Index ".value + ""\n"" + ""\n"" + """
}
} |
|
|