Skip to content

Instantly share code, notes, and snippets.

@hopewise
Created March 25, 2019 12:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hopewise/0ac6a48b3502a42554ca5ba61dd258df to your computer and use it in GitHub Desktop.
Save hopewise/0ac6a48b3502a42554ca5ba61dd258df to your computer and use it in GitHub Desktop.
Extract all screen titles in sketch.cloud
#might need to change selector..
for (var i=0; i< $$(".sc-gacfCG").length; i++) console.log(i, $$(".sc-gacfCG")[i].textContent);
@hopewise
Copy link
Author

hopewise commented Jul 10, 2019

For exporting title, image url and link

    for (var i=0; i< $$(".sc-jKmXuR.jhtmJS").length; i++) console.log(i,$$(".sc-jKmXuR.jhtmJS")[i].textContent, "@",$$(".sc-jKmXuR.jhtmJS img")[i].src, "@", $$(".sc-jKmXuR.jhtmJS a")[i].href);

then, split text to columns using "@"

@hopewise
Copy link
Author

Then use https://zapier.com/apps/integrations/ and you are ready to work!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment