Read File problem

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
MacschedStudent
Junior Coder
Posts: 36
Joined: Fri Oct 12, 2007 5:55 pm
Location: federal way wa
Contact:

Read File problem

Post by MacschedStudent » Sun Sep 19, 2010 7:53 pm

Guys this is embarrassing is has to be something simple I'm not seeing
Im running Msched 7.4009 on w2k

here is the code

Code: Select all

ReadFile>%SCRIPT_DIR%\test.txt,file
MessageModal>file
the text file has only one line and it reads

ready for good test


but when I run the code I get the following displayed in the Message Box

ÿþr




I have tried it with and without the %SCRIPT_DIR% variable.
is it possible the program has been corrupted and I need to reinstall...???

Guys I deleted the file and took an existing text file and renamed it and it worked. The only thing I can think of is I may have saved the text file using ANSI code instead of ascii text. Anyway as of 9/19/2010 13:31 the issue is resolved.

User avatar
JRL
Automation Wizard
Posts: 3517
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Mon Sep 20, 2010 4:57 am

Glad you resolved your problem.

For Future reference:
ÿþr is the only text that will be returned by a ReadFile> attempt on any Unicode text file in any version of Macro Scheduler prior to 11.1.14.

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts