Wherever you're writing just add \n into the string for a new line. For example:

"hi there \n my name is Bob\nGreat!"

would produce

Code:

hi there
my name is Bob
Great!

Anyway, what you were looking for was writing to line 0, not line 1.

I could maybe update it to change writing line 0 to line 1 instead (so the numbers are shifted down one) and so on. I could also add a function to create a new line or set of lines; one for changing a string to a number; maybe even also a variable saving function.

Is this compatible with Mac OS X? I recognized it started with C:// so I changed it to the Mac filepath and when I ran the world it threw an error:

Error during simulation.

Alice version: 2.2 09/10/2010

Throwable that caused the error:
Traceback (innermost last):
File "edu.cmu.cs.stage3.alice.core.property.ScriptPrope rty[name=script,owner=edu.cmu.cs.stage3.alice.core.res ponse.ScriptResponse[world.iOTool.event.__Unnamed0__]]", line 1, in ?
File "<string>", line 26, in ?
File "<string>", line 12, in patchOS
IOError: File not found - jython-2.1\Lib\javaos.py (No such file or directory)

Ehh, sorry, it seems your version (either your version is broken or Mac version is broken) of Alice has its file directory incorrectly referenced. You could try updating Alice, there's a newer version of 2.2 available, but I'm not sure that will help.

I already have the latest version. I think it has something to do with the file system being different on Mac OS X. I think this is a very important feature that needs to be implemented into Alice and I am sad that it isn't working

I already have the latest version. I think it has something to do with the file system being different on Mac OS X. I think this is a very important feature that needs to be implemented into Alice and I am sad that it isn't working

Oh, the latest Windows version is a 2011 version, youve got a 2010 (maybe Mac isn't as updated yet).

Quote:

Originally Posted by Dj Tech42

Is there a way I can change how Alice accesses the internal files? It can't find one of its own files, which is really annoying

Elaborate on this error, I may be able to help. What file cant it find?