Hi my first post and my first silly question
I’m looking at using Xojo for a long running project which currently uses C#, my main reason for considering moving to Xojo is my project is using VS2010 and isn’t playing nice with Monodevelop and Mac, and I’d probably need to redo everything with Mono which I find awful to use
I’m chipping away at trying to get the key elements working with Xojo and hit my first problem
I have a Textarea which has some render options :
message 'Load C:\\Users\
ige\\Desktop\\marbles.obj\\marbles\\marbles000.scn.thea'
message "./Scenes/Active/Cameras/## Current View ##/Make Active"
message "Render"
message 'SaveImage C:\\Users\
ige\\Desktop\\atest\\marbles000_R1_C1.png'
When I try to save the text it all goes on a single line with Windows and the Render software can’t read the script, I’ve tried different encoding but no luck at all
Here’s the code:
[code] Dim t as TextOutputStream
Dim f as FolderItem
f=GetFolderItem(Savetxt.Text +“temp.ipt.thea”)
if f <> Nil then
t = TextOutputStream.Create(f)
t.WriteLine (ConvertEncoding(Datatxt.text, Encodings.ASCII ))
//t.write (ConvertEncoding(Datatxt.text, Encodings.ASCII ))
t.Close
End if[/code]
thanks
Nige