Jump to content

How to get Parenthesis to work good


Recommended Posts

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.

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

Link to comment
Share on other sites

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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...