Copy link to clipboard
Copied
So Im liking the searchForBinWithName example, but I cant seem to find a command for moving a projectItems placement in project-window.
Im wanting to move it out of the root and into a named bin.
So:
var projectItem = app.project.rootItem.children[projectSelect];
var targetFolder = $._PPP_.searchForBinWithName("folderName");
Looking for something like:
projectItem.moveToBin(targetFolder);
How do I put the projectItem into the bin? Cant find an example of this in the PProPanels except for importing?
This seems like basic stuff hehe...
1 Correct answer
Hi Aecorn,
this sounds to the following: Re: Create sequence inside a bin
Does this resolve you issue?
Copy link to clipboard
Copied
Hi Aecorn,
this sounds to the following: Re: Create sequence inside a bin
Does this resolve you issue?
Copy link to clipboard
Copied
Yes, thank you very much!
projectItem.moveBin(targetFolder);
Works well!