Jump to content

Recommended Posts

  • Moderators
Posted (edited)

Heres where it opens the file and reads the first line to create the last score:

$lev1rec = FileOpen ( "\Scores\RecentLevel1Scores.txt", 0)
$lastrec = FileReadLine ( $lev1rec, 1)oÝ÷ Ø@ÈL7¥z×j¶§v´÷aÞ­ë0êÞ¶¯j¸è¬ºÇ{azÇ+ZºÚ"µÍÌÍÑÜÝHÕRPÝÜX]QÜÝ
    ][ÝÓÝØÛÜN][ÝËMÍ
ÌË
JBÕRPÝÜX]SX[
    ÌÍÛ]XËMNL
LMÊoÝ÷ Ø    ÝêÞ³^­ëayø¥{¬§^¶Z½ëazV¬¶Ç(­æ®¶­sbb33c¶Ã&V2ÒfÆT÷VâgV÷Cµ66÷&W2b3#µ&V6VçDÆWfVÃ66÷&W2çGBgV÷C²Â"¤fÆUw&FTÆæRgV÷Cµ66÷&W2b3#µ&V6VçDÆWfVÃ66÷&W2çGBgV÷C²Âb33c¶6÷'&V7B¤fÆT6Æ÷6Rb33c¶Ã&V2

So where di i go wrong???

Did you try to use the full path? I notice your using a '\' in the first example of "Scores\RecentLevel1Scores.txt" but not in the last. Did you FileClose() the first instance of FileOpen()? Are you using SciTe Editor?

If you want help, post the script, not snippets of it.

Edited by SmOke_N

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.

Posted

Did you try to use the full path? I notice your using a '\' in the first example of "Scores\RecentLevel1Scores.txt" but not in the last. Did you FileClose() the first instance of FileOpen()? Are you using SciTe Editor?

If you want help, post the script, not snippets of it.

kk its attached.

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
×
×
  • Create New...