Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
use QM to quickly modify the keys and values ​​in a plist file
#10
Thank you very much for your help. 

Now, I am using QM to modify XML. It is very convenient. Smile

In the example above:

1. Add the key value of key20, only one group, how to add the following multiple sets of key values?

2. How to replace all the key values of key5 with the key values of the following ?     Huh


Code:
Copy      Help
            <key>key20</key>
            <array>
                <dict>
                    <key>Comment</key>
                    <string>Comment1</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>Comment1</data>
                    <key>Replace</key>
                    <data>Comment1+</data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>Comment2</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>Comment2</data>
                    <key>Replace</key>
                    <data>Comment2+</data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>Comment3</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>Comment3</data>
                    <key>Replace</key>
                    <data>Comment3+</data>
                </dict>
            </array>
Code:
Copy      Help
            <key>key5</key>
            <array>
                <dict>
                    <key>Comment</key>
                    <string>Comment1</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>Comment1</data>
                    <key>Replace</key>
                    <data>Comment1+</data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>Comment2</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>Comment2</data>
                    <key>Replace</key>
                    <data>Comment2+</data>
                </dict>
                <dict>
                    <key>Comment</key>
                    <string>Comment3</string>
                    <key>Disabled</key>
                    <true/>
                    <key>Find</key>
                    <data>Comment3</data>
                    <key>Replace</key>
                    <data>Comment3+</data>
                </dict>
            </array>


Messages In This Thread
RE: use QM to quickly modify the keys and values ​​in a plist file - by win - 08-20-2018, 11:33 PM

Forum Jump:


Users browsing this thread: 5 Guest(s)