Announcement

Collapse
No announcement yet.

How to creat file *.rdg ?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to creat file *.rdg ?

    Hello everyone,
    I want creat file *.rdg . I has been build to here.



    I want create file with file name = value group name and content :
    Code:
    <?xml version="1.0" encoding="utf-8"?>
    <RDCMan schemaVersion="1">
        <version>2.2</version>
        <file>
            <properties>
                <name>[COLOR="blue"][COLOR="blue"][B]value_groupname[/B][/COLOR][/COLOR]</name>
                <expanded>False</expanded>
                <comment />
                <logonCredentials inherit="FromParent" />
                <connectionSettings inherit="FromParent" />
                <gatewaySettings inherit="FromParent" />
                <remoteDesktop inherit="FromParent" />
                <localResources inherit="FromParent" />
                <securitySettings inherit="FromParent" />
                <displaySettings inherit="FromParent" />
            </properties>
            <server>
                <name>[B][COLOR="blue"]value_ip line1[/COLOR][/B]</name>
                <displayName>[B][COLOR="blue"]1[/COLOR][/B]</displayName>
                <comment />
                <logonCredentials inherit="None">
                    <userName>[B][COLOR="blue"]value_user line1[/COLOR][/B]</userName>
                    <domain>[COLOR="blue"][B]value_ip line1[/B][/COLOR]</domain>
                    <password storeAsClearText="True">[COLOR="blue"][B]value_passwor line1[/B][/COLOR]</password>
                </logonCredentials>
                <connectionSettings inherit="FromParent" />
                <gatewaySettings inherit="FromParent" />
                <remoteDesktop inherit="FromParent" />
                <localResources inherit="FromParent" />
                <securitySettings inherit="FromParent" />
                <displaySettings inherit="FromParent" />
            </server>
            <server>
                <name>[B][COLOR="blue"]value_ip line2[/COLOR][/B]</name>
                <displayName>[COLOR="blue"][B]2[/B][/COLOR]</displayName>
                <comment />
                <logonCredentials inherit="None">
                    <userName>[COLOR="blue"][B]value_user line2[/B][/COLOR]</userName>
                    <domain>[B][COLOR="blue"]value_ip line2[/COLOR][/B]</domain>
                    <password storeAsClearText="True">[B][COLOR="blue"]value_passwor line2[/COLOR][/B]</password>
                </logonCredentials>
                <connectionSettings inherit="FromParent" />
                <gatewaySettings inherit="FromParent" />
                <remoteDesktop inherit="FromParent" />
                <localResources inherit="FromParent" />
                <securitySettings inherit="FromParent" />
                <displaySettings inherit="FromParent" />
            </server>
            <server>
                <name>[COLOR="blue"][B]value_ip line3[/B][/COLOR]</name>
                <displayName>[B][COLOR="blue"]3[/COLOR][/B]</displayName>
                <comment />
                <logonCredentials inherit="None">
                    <userName>[B][COLOR="blue"]value_user line3[/COLOR][/B]</userName>
                    <domain>[B][COLOR="blue"]value_ip line3[/COLOR][/B]</domain>
                    <password storeAsClearText="True">[B][COLOR="blue"]value_passwor line3[/COLOR][/B]</password>
                </logonCredentials>
                <connectionSettings inherit="FromParent" />
                <gatewaySettings inherit="FromParent" />
                <remoteDesktop inherit="FromParent" />
                <localResources inherit="FromParent" />
                <securitySettings inherit="FromParent" />
                <displaySettings inherit="FromParent" />
            </server>
            <server>
                <name>[COLOR="blue"][B]value_ip line4[/B][/COLOR]</name>
                <displayName>[COLOR="blue"][B]4[/B][/COLOR]</displayName>
                <comment />
                <logonCredentials inherit="None">
                    <userName>[B][COLOR="blue"]value_user line4[/COLOR][/B]</userName>
                    <domain>[COLOR="blue"][B]value_ip line4[/B][/COLOR]</domain>
                    <password storeAsClearText="True">[B][COLOR="blue"]value_passwor line4[/COLOR][/B]</password>
                </logonCredentials>
                <connectionSettings inherit="FromParent" />
                <gatewaySettings inherit="FromParent" />
                <remoteDesktop inherit="FromParent" />
                <localResources inherit="FromParent" />
                <securitySettings inherit="FromParent" />
                <displaySettings inherit="FromParent" />
            </server>
            <server>
                <name>[B][COLOR="blue"]value_ip line5[/COLOR][/B]</name>
                <displayName>[COLOR="blue"][B]5[/B][/COLOR]</displayName>
                <comment />
                <logonCredentials inherit="None">
                    <userName>[B][COLOR="blue"]value_user line5[/COLOR][/B]</userName>
                    <domain>[B][COLOR="blue"]value_ip line5[/COLOR][/B]</domain>
                    <password storeAsClearText="True">[COLOR="blue"][B]value_passwor line5[/B][/COLOR]</password>
                </logonCredentials>
                <connectionSettings inherit="FromParent" />
                <gatewaySettings inherit="FromParent" />
                <remoteDesktop inherit="FromParent" />
                <localResources inherit="FromParent" />
                <securitySettings inherit="FromParent" />
                <displaySettings inherit="FromParent" />
            </server>
            <server>
                <name>[B][COLOR="blue"]value_ip line6[/COLOR][/B]</name>
                <displayName>[COLOR="blue"][B]6[/B][/COLOR]</displayName>
                <comment />
                <logonCredentials inherit="None">
                    <userName>[COLOR="blue"][B]value_user line6[/B][/COLOR]</userName>
                    <domain>[COLOR="blue"][B]value_ip line6[/B][/COLOR]</domain>
                    <password storeAsClearText="True">[B][COLOR="blue"]value_passwor line6[/COLOR][/B]</password>
                </logonCredentials>
                <connectionSettings inherit="FromParent" />
                <gatewaySettings inherit="FromParent" />
                <remoteDesktop inherit="FromParent" />
                <localResources inherit="FromParent" />
                <securitySettings inherit="FromParent" />
                <displaySettings inherit="FromParent" />
            </server>
            <server>
                <name>[B][COLOR="blue"]value_ip line7[/COLOR][/B]</name>
                <displayName>[B][COLOR="blue"]7[/COLOR][/B]</displayName>
                <comment />
                <logonCredentials inherit="None">
                    <userName>[COLOR="blue"][B]value_user line7[/B][/COLOR]</userName>
                    <domain>[B][COLOR="blue"]value_ip line7[/COLOR][/B]</domain>
                    <password storeAsClearText="True">[COLOR="blue"][B]value_passwor line7[/B][/COLOR]</password>
                </logonCredentials>
                <connectionSettings inherit="FromParent" />
                <gatewaySettings inherit="FromParent" />
                <remoteDesktop inherit="FromParent" />
                <localResources inherit="FromParent" />
                <securitySettings inherit="FromParent" />
                <displaySettings inherit="FromParent" />
            </server>
            <server>
                <name>[B][COLOR="blue"]value_ip line8[/COLOR][/B]</name>
                <displayName>[B][COLOR="blue"]8[/COLOR][/B]</displayName>
                <comment />
                <logonCredentials inherit="None">
                    <userName>[B][COLOR="blue"]value_user line8[/COLOR][/B]</userName>
                    <domain>[COLOR="blue"][B]value_ip line8[/B][/COLOR]</domain>
                    <password storeAsClearText="True">[B][COLOR="blue"]value_passwor line8[/COLOR][/B]</password>
                </logonCredentials>
                <connectionSettings inherit="FromParent" />
                <gatewaySettings inherit="FromParent" />
                <remoteDesktop inherit="FromParent" />
                <localResources inherit="FromParent" />
                <securitySettings inherit="FromParent" />
                <displaySettings inherit="FromParent" />
            </server>
            <server>
                <name>[COLOR="blue"][B]value_ip line9[/B][/COLOR]</name>
                <displayName>[COLOR="blue"][B]9[/B][/COLOR]</displayName>
                <comment />
                <logonCredentials inherit="None">
                    <userName>[B][COLOR="blue"]value_user line9[/COLOR][/B]</userName>
                    <domain>[B][COLOR="blue"]value_ip line9[/COLOR][/B]</domain>
                    <password storeAsClearText="True">[COLOR="blue"][B]value_passwor line9[/B][/COLOR]</password>
                </logonCredentials>
                <connectionSettings inherit="FromParent" />
                <gatewaySettings inherit="FromParent" />
                <remoteDesktop inherit="FromParent" />
                <localResources inherit="FromParent" />
                <securitySettings inherit="FromParent" />
                <displaySettings inherit="FromParent" />
            </server>
            <server>
                <name>[COLOR="blue"][B]value_ip line10[/B][/COLOR]</name>
                <displayName>[COLOR="blue"][B]10[/B][/COLOR]</displayName>
                <comment />
                <logonCredentials inherit="None">
                    <userName>[COLOR="blue"][B]value_user line10[/B][/COLOR]</userName>
                    <domain>[COLOR="blue"][B]value_ip line10[/B][/COLOR]</domain>
                    <password storeAsClearText="True">[B][COLOR="blue"]value_passwor line10[/COLOR][/B]</password>
                </logonCredentials>
                <connectionSettings inherit="FromParent" />
                <gatewaySettings inherit="FromParent" />
                <remoteDesktop inherit="FromParent" />
                <localResources inherit="FromParent" />
                <securitySettings inherit="FromParent" />
                <displaySettings inherit="FromParent" />
            </server>
        </file>
    </RDCMan>
    <displayName>ordinal number line</displayName>

    After click creat it'll save file name = inputgroup name.rdg and notice create success total number line.
    I need your help. please!
    Sorry, i speak english not good .

  • #2
    help me,please!

    Comment


    • #3
      Give the XML functions a read in AMS that file there is a XML file just with a custom ex from what I can see.
      Plugins or Sources MokoX
      BunnyHop Here

      Comment


      • #4
        Originally posted by kingzooly View Post
        Give the XML functions a read in AMS that file there is a XML file just with a custom ex from what I can see.
        Thanks,
        but i don't know get Variable to xml
        i has been try
        Code:
        gname = Input.GetText("Input1");
        XML.SetXML("<RDCMan schemaVersion=\"1\">\r\n<version>2.2</version>\r\n<file>\r\n        <properties>\r\n            <name>gname</name>\r\n			 <expanded>False</expanded>\r\n            <comment />\r\n            <logonCredentials inherit=\"FromParent\" />\r\n            <connectionSettings inherit=\"FromParent\" />\r\n            <gatewaySettings inherit=\"FromParent\" />\r\n            <remoteDesktop inherit=\"FromParent\" />\r\n            <localResources inherit=\"FromParent\" />\r\n            <securitySettings inherit=\"FromParent\" />\r\n            <displaySettings inherit=\"FromParent\" />\r\n        </properties>\r\n        <server>ipse</name>\r\n            <displayName>numline</displayName>\r\n            <comment />\r\n            <logonCredentials inherit=\"None\">\r\n                <userName>user</userName>\r\n                <domain>ipse</domain>\r\n                <password storeAsClearText=\"True\">pwd</password>\r\n            </logonCredentials>\r\n            <connectionSettings inherit=\"FromParent\" />\r\n            <gatewaySettings inherit=\"FromParent\" />\r\n            <remoteDesktop inherit=\"FromParent\" />\r\n            <localResources inherit=\"FromParent\" />\r\n            <securitySettings inherit=\"FromParent\" />\r\n            <displaySettings inherit=\"FromParent\" />\r\n        </server>\r\n	</file>\r\n</RDCMan>");
        
        if gname == "" then
        Dialog.Message("Notice", "Enter group name.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
        else
        sXML = XML.GetXML();
        XML.SetValue("<RDCMan schemaVersion=\"1\">\r\n<version>2.2</version>\r\n<file>\r\n        <properties>\r\n            <name>", gname, false);
        end
        but gname don't change :(
        And how to get ip,user,password from 1 line ?

        Comment


        • #5
          Originally posted by sondvb View Post
          Thanks,
          but i don't know get Variable to xml
          i has been try
          Code:
          gname = Input.GetText("Input1");
          XML.SetXML("<RDCMan schemaVersion=\"1\">\r\n<version>2.2</version>\r\n<file>\r\n        <properties>\r\n            <name>gname</name>\r\n			 <expanded>False</expanded>\r\n            <comment />\r\n            <logonCredentials inherit=\"FromParent\" />\r\n            <connectionSettings inherit=\"FromParent\" />\r\n            <gatewaySettings inherit=\"FromParent\" />\r\n            <remoteDesktop inherit=\"FromParent\" />\r\n            <localResources inherit=\"FromParent\" />\r\n            <securitySettings inherit=\"FromParent\" />\r\n            <displaySettings inherit=\"FromParent\" />\r\n        </properties>\r\n        <server>ipse</name>\r\n            <displayName>numline</displayName>\r\n            <comment />\r\n            <logonCredentials inherit=\"None\">\r\n                <userName>user</userName>\r\n                <domain>ipse</domain>\r\n                <password storeAsClearText=\"True\">pwd</password>\r\n            </logonCredentials>\r\n            <connectionSettings inherit=\"FromParent\" />\r\n            <gatewaySettings inherit=\"FromParent\" />\r\n            <remoteDesktop inherit=\"FromParent\" />\r\n            <localResources inherit=\"FromParent\" />\r\n            <securitySettings inherit=\"FromParent\" />\r\n            <displaySettings inherit=\"FromParent\" />\r\n        </server>\r\n	</file>\r\n</RDCMan>");
          
          if gname == "" then
          Dialog.Message("Notice", "Enter group name.", MB_OK, MB_ICONINFORMATION, MB_DEFBUTTON1);
          else
          sXML = XML.GetXML();
          XML.SetValue("<RDCMan schemaVersion=\"1\">\r\n<version>2.2</version>\r\n<file>\r\n        <properties>\r\n            <name>", gname, false);
          end
          but gname don't change :(
          And how to get ip,user,password from 1 line ?
          I did say you have to read the all about the XML as from what I can see there its wrong
          Plugins or Sources MokoX
          BunnyHop Here

          Comment

          Working...
          X