Exporting Wick Projects into Wick Clips!

So, I’ve found out a way to export Wick Projects (.wick) as Wick Clips! (.wickobj)

Code:

// Updated! Now uses project's name instead of "project"
Wick.WickObjectFile.toWickObjectFile(project.root, 'dataurl', function(res) {
    var link = document.createElement("a");
    link.download = project.name + ".wickobj";
    link.href = res;
    link.click();
    link.remove();
});

Bookmarklet:

Follow these steps:

  1. Copy this:
javascript:(function()%7BWick.WickObjectFile.toWickObjectFile(project.root%2C%20'dataurl'%2C%20function(res)%20%7B%0A%20%20%20%20var%20link%20%3D%20document.createElement(%22a%22)%3B%0A%20%20%20%20link.download%20%3D%20project.name%20%2B%20%22.wickobj%22%3B%0A%20%20%20%20link.href%20%3D%20res%3B%0A%20%20%20%20link.click()%3B%0A%20%20%20%20link.remove()%3B%0A%7D)%3B%7D)()%3B
  1. Go to your bookmarks (manager) and add a page.

  2. Name it whatever you want, and paste the URL there.

  3. Use it and enjoy!


Why does it work?

The Wick Editor Project timeline is a Clip. (i’m not joking)
I tell Wick to export the Project Clip (project.root, also just project if you’re on a script) into a .WICKOBJ file and save it.

2 Likes

Proof:

1 Like

THIS IS ACTUALLY SO HELPFUL TYSM!!! (mafasioso)

can you post the direct link to the bookmarklet because i could not drag it to my bookmarks for the LIFE of me

@noobfield please dude i need this!!!

I fixed it… Just follow the steps.

1 Like

ok it works now, thank you!!