Indigo Rose Software

Professional Software Development Tools

 
+ Reply to Thread
Results 1 to 14 of 14

Thread: XML Support

  1. #1
    Join Date
    Mar 2009
    Posts
    26

    XML Support

    Is AutoPlay Media Studio 7.5 have an XML Parser, so I'll able to use XML in my application?

    If it does, can you tell me how can I use it (how to get information, and write information to the XML file in AutoPlay Media Studio)?

    Thanks

  2. #2
    Join Date
    Aug 2004
    Location
    Somewhere in Texas, USA
    Posts
    417

    YES...AMS does XML manipulation

    Here are the XML action commands available for use:


    XML.Count

    XML.GetAttribute

    XML.GetAttributeNames

    XML.GetElementNames

    XML.GetElementXML

    XML.GetValue

    XML.GetXML

    XML.InsertXML

    XML.Load

    XML.RemoveAttribute

    XML.RemoveElement

    XML.Save

    XML.SetAttribute

    XML.SetValue

    XML.SetXML

  3. #3
    Join Date
    Mar 2009
    Posts
    26

    OK, but you didn't answer my question...

    How do I add an XML to the application and how to get/write information from/to the file? And, after I compile it, can the XML file change?

  4. #4
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    It's all explained in the help file. Each xml action is explained and each has sample code.
    Dermot

    I am so out of here

  5. #5
    Join Date
    Mar 2009
    Posts
    26

    Thanks

    AutoPlay Media Studio 7.5's help file (F1)?
    Ok. thanks.

  6. #6
    Join Date
    Mar 2009
    Posts
    26

    Some help, please...

    I didn't really understand how the scripting of this software works, and the manual doesn't explain the syntax of writing commands. I tried to add Menu Bars, and I couldn't add action to them, so I gave up the Menu Bars.

    Now, I stucked in the XML. I want to have a dialog which displays a table, with all the information in the table.
    And, to have an "Add" option, which give you a form to fill, and it adds the information to the XML.
    I also want to do the same thing with updating a record.

    Can you help me with this, or to give me a sample?

    I also want to have a Users and Passwords (I would like to add it to the XML's first tag: <database username = "..." password = "... (Password after encoding)">).
    How can I do it?

    Thanks.

  7. #7
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    Quote Originally Posted by galz View Post
    I didn't really understand how the scripting of this software works, and the manual doesn't explain the syntax of writing commands.
    Have you looked at the documentation? Every method of every object available has at least one example in the help file. And there is section in the help file called "Scripting Guide", have you read it? And finally we have this thing called "User Guide", that has another whole chaper about scripting starting at page 276, teaching how to use Lua scripting, with examples and lots of pictures.

    Maybe you should start with something easy before trying to build a whole new applictation.

  8. #8
    Join Date
    Mar 2009
    Posts
    26

    I would done that...

    But I want to finish this application soon.

    Somebody asked me to build a software for him and I am a new in programming, I usually program in C# or HTML & JS, but this sould be a software with graphic, and in C# I only know how to program in the console, and HTML won't look very professional.

    And I don't have time to read the whole help file. Provably when I'll finish it, I will read the help file.

    So, can you help me meanwhile to understand the information I specified?

  9. #9
    Join Date
    Apr 2004
    Location
    Vancouver, Canada
    Posts
    1,790
    Well if you are not willing to even read the xml section of the help file, which has examples of every action, why should someone help you. Sounds to me like you just want someone to create it for you.

    Like Upeters said, maybe you should start with something simple.
    Dermot

    I am so out of here

  10. #10
    Join Date
    Apr 2007
    Location
    Raalte, OV, Netherlands
    Posts
    3,287
    And, reading the helpfile would consume less time as waiting for somebody to help you with something that's in the helpfile.
    Bas Groothedde
    Imagine Programming :: Blog :: Familiar people here

    My AMS Plugins:

  11. #11
    Join Date
    Mar 2009
    Posts
    26

    OK, I'm learning the scripting and the XML from the PDF

    OK, I'm learning the scripting and the XML from the PDF.

    But how can I do access by password (how do I do an encoding to the passwords)?

  12. #12
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    Hello,

    you may want to have a look at the Crypto object, which provides several functions to encode and decode data.

    Ulrich

  13. #13
    Join Date
    Mar 2009
    Posts
    26

    thanks

    Thanks.
    Where can I find it?

  14. #14
    Join Date
    Apr 2005
    Location
    São Paulo, Brazil
    Posts
    2,539
    This is an internal action object. You just have to start typing "Crypto." in any script editor, and a list of available actions should be offered, like Intellisense. Then press F1, see the examples. Or just search for Crypto in the help...

    Ulrich
    Attached Images

Similar Threads

  1. Spotlight: XML Actions Plugin
    By Desmond in forum AutoPlay Media Studio 5.0
    Replies: 1
    Last Post: 03-15-2004, 03:56 PM
  2. Press Release: Indigo Rose Launches New Online Support System
    By Colin in forum Announcements & News
    Replies: 0
    Last Post: 02-02-2004, 03:51 PM
  3. Support for XML Parsing?
    By Martin_SBT in forum AutoPlay Media Studio 5.0
    Replies: 10
    Last Post: 11-21-2003, 03:56 PM
  4. INFO: DCOM 95 1.3 Runtime Support Module
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-30-2002, 12:38 PM
  5. INFO: MDAC 2.7 Runtime Support Module
    By Support in forum Setup Factory 6.0 Knowledge Base
    Replies: 0
    Last Post: 10-17-2002, 03:55 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts