Jump to content

check and edit a value of XML elements


lhw
 Share

Recommended Posts

hello everyone,i'm hooking up autoit works after a couple hours learning:)

could someone give me some tips on checking and editing a value from a XML file?

eg. the following section,i need codes can check "splash" value and also can set the value to i need,your help is always appreciated.

<function>
   <splash>true</splash>
   <exitprompt>1</exitprompt>
</function>
Edited by lhw
Link to comment
Share on other sites

There is an udf for working with XML.

Another possible way could be _StringBetween.

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

There is a UDF call It provides an AutoIt wrapper around the MSXML COM interface. You would be looking for example for _XMLUpdateField() in that UDF.

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
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...