Jacob Danell
Forum Replies Created
-
I have bin looking for a PDF like this for soooo long! Thank you so much! Read quick about ListBoxes, found EVERYTHING I was looking for 😀
-
Great! Fixed what was needed 🙂
I’m trying to fix some last parts. I couldn’t get a checkbox to get into the ListBox so instead I added the icons ☐ and ☑ and played around with nameSplit to be able to change the content without changing if the box is checked or not.
Well the only problem I have now is that I can’t get “onClick” to work on the ListBox. Maybe it’s not possible, the small list of help-items in ExtendScript Toolkit doesn’t show any ListBox alternative (as it does under onDoubleClick) but how can I get that function?Edit: Also, how is it possible to create an other clickevent when you click and at the same time hold down ctrl or shift? I would want on single click = check, doubleclick = edit and ctrl/shift+click = remove.
-
Super! Thought so much more difficult than that.
I have fixed everything so I can add new lines and the size and all… But what’s the code for dubbleclicking? On singleclick I have so the image of a checkbox gets changed to a checked-checkbox, but I would want to be able to edit the text of the item I dubbleclicked on. -
idk how I could miss it in the scripting pdf -.- my searchwords most be really bad
-
I never got it really working but I figured out how to make the script look into the folder, count the items and give the next created comp one higher value.
for (var i = 1; i <= app.project.numItems; i++){
if (app.project.item(i).name == "Comp Cuts" && app.project.item(i) instanceof FolderItem ){
var cutCompFolder = app.project.item(i);
}var foldernr = cutCompFolder.numItems;
var tempComp1 = app.project.items.addComp("CutComp_"+foldernr, mainWm1theP, mainHm1theP, maincomPA , maincompDur, maincomFR);
var tempComp2 = app.project.items.addComp("CutComp_"+(foldernr+1), mainWtheP, mainHtheP, maincomPA , maincompDur, maincomFR);
The only “problem” (that I can live with but would be nice if it was fixed) is that they are named 1, 2, 3… 8, 9, 10, 11 and so on, so adobe arrange them as 1, 10, 11, 2, 3, 4 and so on. Is there any way to force two digits when creating the number? So it would be 08, 09, 10 and so on.
-
Worked perfect! The effect gave me a shadow where the textbox were before but with the script I already had I made it disapear, but it looked better with the shadow so I kept it that way 🙂
Thanks! -
Jacob Danell
July 24, 2013 at 11:34 am in reply to: Change numbers in script depending on number in an effectIs there any way for the script to call out a function, for example every 1 second (real time, not playbacktime)? That way if you start the callout when presssing “Add Linear Wipe” and stop it when pressing the “Finish” button
-
Jacob Danell
July 22, 2013 at 7:54 pm in reply to: Slider and EditText binded with atChange, live update?I tried to apply it on the top of all but it didn’t work.
I think the problem is that when I use “onChanging” it will apply a new action that After Effects make an undo to.
When I used “onChange” a new undo was created every time I undid or wrote a new number, now it changes all the time. Is there anyway to collect all changes into one undo? -
Jacob Danell
July 22, 2013 at 5:55 pm in reply to: Slider and EditText binded with atChange, live update?It was that simple huh…. Sometimes you really feel stupid.
Well an other problem that came up now is that I have the value linked to a Linear Wipe-effekt too but if I want to undo the whole script process I have like a hundred of undos because of every value-change of the script. I know you use app.beginUndoGroup for these things but when I possition it in the function it doesn’t help, probebly because the function is ran every time the value changes. Where should I possition app.beginUndoGroup for it to work? -
Worked perfect. Thank you!