sketchplugins / plugin-requests

A collection of plugins requested to our Twitter account
https://twitter.com/sketch
MIT License
211 stars 64 forks source link

Dump Selected Object not working #2

Closed buscarini closed 9 years ago

buscarini commented 9 years ago

I have tried your dump selected object function, both with Sketch 3.1.1 and 3.2, and it doesn't seem to work (I'm not getting any useful information). An example:

## obj class is: MSRectangleShape
[…] Plugin)[73759]: ######################################
[…] Plugin)[73759]: obj.properties:
[…] Plugin)[73759]: (
[…] Plugin)[73759]: obj.propertiesWithAncestors:
[…] Plugin)[73759]: (
[…] Plugin)[73759]: obj.classMethods:
[…] Plugin)[73759]: (
[…] Plugin)[73759]: obj.classMethodsWithAncestors:
[…] Plugin)[73759]: (
[…] Plugin)[73759]: obj.instanceMethods:
[…] Plugin)[73759]: (
[…] Plugin)[73759]: obj.instanceMethodsWithAncestors:
[…] Plugin)[73759]: (
[…] Plugin)[73759]: obj.protocols:
[…] Plugin)[73759]: (
[…] Plugin)[73759]: obj.protocolsWithAncestors:
[…] Plugin)[73759]: (
[…] Plugin)[73759]: obj.treeAsDictionary():
[…] Plugin)[73759]: {
bomberstudios commented 9 years ago

Can you paste the full code of what you're running?

buscarini commented 9 years ago

Nevermind, I'm so stupid. I was reading the console from the command-line, searching for "Sketch", and this prints results in different lines, so they were being removed. My bad