If you want to add a comment use the createCommentfunction tho. I do, but the file still appears completely empty.īy my logic, there should be a comment left in the file from the createNode command. I get the message that the file has recently been modifiedīy an external program and it asks if I want to reload it. When changing focus to the XML-document loaded in Notepad++, When I run the AutoIt script, I get absolutely no error messages and My XML-file is located in the script directory and is completely empty. Save the XML-object to the XML-document. $current = $oXML.createNode(8, "test", "") Create a node to be written to the XML-object. Load the newly created XML-file to the XML-object. MsgBox(16, "Fatal Error", "Could neither load nor create XML file!") Load the proper XML-file to the XML-object. Check to see if the XML-file is in place. AutoIt Script An object for the XML-file on Windows OS using Microsoft's API. I manage to load and read from the XML-file quite well, but I am having some issues writing to it. I want to have AutoIt use the Windows API to interact with XML-files on my system.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |