AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Need help figuring out this error

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
charliemopps



Joined: 09 Feb 2006
Posts: 117

PostPosted: Tue Jul 28, 2009 7:14 pm    Post subject: Need help figuring out this error Reply with quote

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"" + """
                            }
}
Back to top
View user's profile Send private message
charliemopps



Joined: 09 Feb 2006
Posts: 117

PostPosted: Tue Jul 28, 2009 7:21 pm    Post subject: Reply with quote

Nevermind, once again I figured it out right after I posted it. It was what came AFTER that line that was causing the problem.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group