Comments (4)
Copy+paste already exists. You can also drag to re-order elements of the current plist, but Finder/Explorer interaction via tkinter isn't possible as far as I'm aware (at least not without reworking much of the script from the ground up).
With regard to copying, the script will format the xml representation of whatever you have copied to the clipboard. Copying the following:
Results in the following being copied to the clipboard:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Some list</key>
<array>
<string>Item 1</string>
<string>Item 2</string>
<string>Item 3</string>
<string>Item 4</string>
</array>
</dict>
</plist>
Which can then be pasted into another window, or into a plain-text file.
-CorpNewt
from propertree.
Copy+paste already exists. You can also drag to re-order elements of the current plist, but Finder/Explorer interaction via tkinter isn't possible as far as I'm aware (at least not without reworking much of the script from the ground up).
With regard to copying, the script will format the xml representation of whatever you have copied to the clipboard. Copying the following:
Results in the following being copied to the clipboard:<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> <plist version="1.0"> <dict> <key>Some list</key> <array> <string>Item 1</string> <string>Item 2</string> <string>Item 3</string> <string>Item 4</string> </array> </dict> </plist>
Which can then be pasted into another window, or into a plain-text file.
-CorpNewt
Oh!
I found the copy-paste function, but it seems that only one item can be copied at a time. Does this tool have multiple selection capabilities?
Thank you!
from propertree.
There isn't multiple selection as the hierarchy of items cannot be preserved depending on what the user selects - I mimicked Xcode's single-selection for this purpose. If you select a parent element, all children of that parent are also copied (as in the Some list
example above). I'm contemplating whether to reorganize the top level to display it contained in a "Root" element the way Xcode currently shows it - but that would take some time/work to accomplish as I'd need to change multiple things in the code.
-CorpNewt
from propertree.
The "Root" node support was added as of this commit which allows for copying/pasting the plist in its entirety as needed.
-CorpNewt
from propertree.
Related Issues (20)
- [BUG] Unsaved changes on double click HOT 25
- macOS Ventura EFI help HOT 2
- ProperTree taking minutes to launch HOT 3
- 'The application cannot be opened for an unexpected reason' HOT 4
- ModuleNotFoundError: No module named 'Tkinter' HOT 11
- doesn't work for me HOT 4
- nootedred smbios problem HOT 2
- invalid file HOT 2
- Enabled debug menu causes crash on startup
- ProperTree can't accept 64 bit characters HOT 4
- Focus issues on M1 Max - can't click text boxes most of the time HOT 5
- OC Snapshot issue when checking configs for real Macs HOT 5
- Creation of REPO questions and discussion of issues HOT 1
- macOS 11 (1107) or later required, have instead 11 (1106) ! HOT 1
- BrcmBluetoothInjector.kext mistakenly added into config.plist with CMD+R HOT 2
- I can't see all the directories on Proper Tree (Windows) HOT 9
- Root>Kernel>Add without any entry after "OC Clean Snapshot" HOT 1
- Sonoma: No content rendered with no matter whilch file is open HOT 2
- Search doesn't work at all HOT 5
- Main ProperTree running shell script (ProperTree.command) doesn't work HOT 18
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from propertree.