Matthy Posted October 9, 2006 Posted October 9, 2006 (edited) i would want this program to write an file in a text file a peace of basic code with some values chanced Menu("welke 2 gegevens heb je","force + uitr",FU,"uitr + veercon",UC,"veercon + force",CF,"Stoppen!",Q) i think evrything is posible but i cant use an " in the function i want to write so when i try this FileWrite($file, "Menu("welke 2 gegevens heb je","force + uitr",FU,"uitr + veercon",UC,"veercon + force",CF,"Stoppen!",Q)" ) ist getting really messed up by the " signs does anyone know here an way to still write a sign like this thx Matthy Edited October 9, 2006 by Matthy
Matthy Posted October 9, 2006 Author Posted October 9, 2006 alread got something $a = FileRead("sign.dat", 1) FileWrite($file, "Menu(" & $a ) if anyone does know something better plz say it cause this is quite messy
gosu Posted October 9, 2006 Posted October 9, 2006 (edited) If using ' for strings, you can use as many " as you want to. FileWrite($file, 'Menu("welke 2 gegevens heb je","force + uitr",FU,"uitr + veercon",UC,"veercon + force",CF,"Stoppen!",Q)')oÝ÷ ØçÜ¢êìzØb²+Ê)¢Ë"nWºÚ"µÍ[UÜ]J ÌÍÙ[K ][ÝÓY[J ÌÎNÝÙ[ÙHÙYÙ][ÈXIÌÎNË ÌÎNÙÜÙH ÈZ]ÌÎNËK ÌÎNÝZ] ÈYÛÛÌÎNËPË ÌÎNÝYÛÛ ÈÜÙIÌÎNËÑ ÌÎNÔÝÜ[ÌÌÎÉÌÎNËJI][ÝÊ Edited October 9, 2006 by gosu [quote name='d2hacker88' date='Jan 6 2005, 05:10 PM']Can someone please help me out with autoit like gimme a link on how to use it cause i have no experience with computer languages and i'd like to make a program with autoit in order to empress my computer teacher.[right][snapback]52215[/snapback][/right][/quote]
Matthy Posted October 13, 2006 Author Posted October 13, 2006 ow thx dident know that but im abit furder now and im now using input values so it is proberly harder then yust look FileWrite($file, "ClrHome" & @CRLF ) FileWrite($file, "Output(1,1," & $a & "X=" & $ltr1 & $bij1C & "/"& $ltr2 & $bij2C & "=" & $ltr3 & $bij3C & @CRLF) FileWrite($file, "Output(3,1," & $ltr1 & $bij1C & ")" & @CRLF ) FileWrite($file, "Output(4,1," & $a & "----------" & $a & ")" & @CRLF ) FileWrite($file, "Output(5,1," & $ltr2 & $bij2C & ")" & @CRLF & @CRLF ) FileWrite($file, "Output(7,1," & $a & "=" & $a & ")" & @CRLF ) FileWrite($file, "Output(7,1," & $ltr3 & ")" & @CRLF & @CRLF ) and then you get something like this ClrHome Output(1,1,"X=A*2/B^2=C) Output(3,1,A*2) Output(4,1,"----------") Output(5,1,B^2) Output(7,1,"=") Output(7,1,C) omg i love autoit
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