The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




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
#1
Hello everyone, I often use text editing software (EmEditor) modify the file of plist type.


I think the plist file is actually an xml file. In the help of QM, I saw that qm can manipulate xml, but I don't know how to implement it.

Here's an example, I hope someone can help me write a sample code, thanks in advance
___________________________________________________________________________________
Look for the key20 in the full text, if not found, add a key key20 under the key5, its value: string20


Look for the key7 in the full text, if found, if its property value is false, then modify it to true

Look for the key9 in the full text, if found, delete its key and value
___________________________________________________________________________________


Attached Files Image(s)
   

.zip   plist_file.zip (Size: 346 bytes / Downloads: 329)


Messages In This Thread
use QM to quickly modify the keys and values ​​in a plist file - by win - 08-19-2018, 09:43 PM

Forum Jump:


Users browsing this thread: 4 Guest(s)