Moderators SmOke_N Posted October 4, 2006 Moderators Share Posted October 4, 2006 (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 October 4, 2006 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. Link to comment Share on other sites More sharing options...
BrettF Posted October 5, 2006 Author Share Posted October 5, 2006 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. Vist my blog!UDFs: Opens The Default Mail Client | _LoginBox | Convert Reg to AU3 | BASS.au3 (BASS.dll) (Includes various BASS Libraries) | MultiLang.au3 (Multi-Language GUIs!)Example Scripts: Computer Info Telnet Server | "Secure" HTTP Server (Based on Manadar's Server)Software: AAMP- Advanced AutoIt Media Player | WorldCam | AYTU - Youtube Uploader Tutorials: Learning to Script with AutoIt V3Projects (Hardware + AutoIt): ArduinoUseful Links: AutoIt 1-2-3 | The AutoIt Downloads Section: | SciTE4AutoIt3 Full Version! Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now