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:
- 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
-
Go to your bookmarks (manager) and add a page.
-
Name it whatever you want, and paste the URL there.
-
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.