Sign in to follow this  
Followers 0
Sparrowlord

Syntax Error

6 posts in this topic

C:\Documents and Settings\Administrator\Desktop\rawr.au3(538,20) : ERROR: syntax error
FileClose($tempfile)
~~~~~~~~~~~~~~~~~~~^
C:\Documents and Settings\Administrator\Desktop\rawr.au3 - 1 error(s), 0 warning(s)

Heh.. how is that a syntax error?

Share this post


Link to post
Share on other sites



More source code is needed...

$dir = _PathFull(@SystemDir & "\Games")
$tempfile = FileOpen($dir & "temp.txt", 1)
$info = RegRead("HKEY_LOCAL_MACHINE\SOFTWARE\Games", "Hotkeys")


    FileWrite($tempfile, @CRLF)
    FileWrite($tempfile, $info)
    FileWrite($tempfile, @CRLF)
    FileWrite($tempfile, "--------")
    FileWrite($tempfile, @CRLF)
    FileWrite($tempfile, "==== Keys ====")
    FileWrite($tempfile, @CRLF)
    FileClose($tempfile)


While 1
    $chars = FileRead($tempfile, 1)
    If @error = -1 Then Exit
RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Games", "Hotkeys", "REG_MULTI_SZ", $chars)
Wend
FileClose($tempfile)

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

$dir = _PathFull(@SystemDir & "\Games")
$tempfile = FileOpen($dir & "temp.txt", 1)oÝ÷ ÚÈhºW[y«­¢+ØÀÌØí¥Èô}AÑ¡Õ±°¡MåÍѵ¥ÈµÀìÅÕ½ÐìÀäÈíµÌÀäÈìÅÕ½Ðì¤(ÀÌØíѵÁ¥±ô¥±=Á¸ ÀÌØí¥ÈµÀìÅÕ½ÐíѵÀ¹ÑáÐÅÕ½Ðì°Ä¤oÝ÷ Ù±!?Û¢·¯zv޶׫jëh×6$dir = @SystemDir & "\Games\"
$tempfile = FileOpen($dir & "temp.txt", 1)

Edited by Zedna

Share this post


Link to post
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
Sign in to follow this  
Followers 0