Jump to content

Recommended Posts

Posted

I'm trying to write a line in a file

CODE

Filewriteline("C:\Blah.au3", "$WIndow = GUICreate("""", @DesktopWidth + 200, @DesktopHeight + 200, -1, -1)""")

If you try the code, theres an extra Parenthesis at the end! Does anyone know how to fix? Ive tried to put more/less parenthesis but its not working. Any kind of help is welcome, thx.

Posted

i'm writing a code to press a button it will write gui info in a au3 file and compile it. Its confusing, can anyone help?

I thought you were writing them in as a string, more code or info needed to be helped...
Posted

Well, i'm writing a code that will create another script... The code has a gui, a button, and if you click that button it will write:

Filewriteline("C:\Blah.au3", "$WIndow = GUICreate("""", @DesktopWidth + 200, @DesktopHeight + 200, -1, -1)""")

In an au3 file, BUT: The Quotations in GUICreate( THESE """"" AND THE END """)

Cause an error in the newley created Script, it leaves another Quotation and the end of the last ) in the script, which gives an error. The last part of the script looked like this:

""")" The Extra Quotation at the end shouldnt be there. Any Idea?

Posted

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...