Search found 51 matches
- November 8th, 2013, 3:19 am
- Forum: Scripts Discussion
- Topic: Ultra simple script (but failed....)
- Replies: 8
- Views: 16120
Re: Ultra simple script (but failed....)
As a little tip, you know from the error message that it must be either the effect object or the effect' property that is causing the error. In this case, to debug I would insert a couple of lines like this to try to narrow down the error. $.writeln(effetParticular.name); $.writeln(effetParticular....
- November 8th, 2013, 1:42 am
- Forum: Scripts Discussion
- Topic: Dockable UI panel
- Replies: 4
- Views: 21556
Re: Dockable UI panel
Woooow! It works!! Thank you very much Paul!
- November 8th, 2013, 1:37 am
- Forum: Scripts Discussion
- Topic: Ultra simple script (but failed....)
- Replies: 8
- Views: 16120
Re: Ultra simple script (but failed....)
I haven't tested this but it's possibly losing the connection to the Particular effect object stored in the variable effetParticular when the second effect is added. This kind of thing is unfortunately quite common in scripting. Try reassigning the variable again after you've added the other effect...
- November 8th, 2013, 1:00 am
- Forum: Scripts Discussion
- Topic: Ultra simple script (but failed....)
- Replies: 8
- Views: 16120
Re: Ultra simple script (but failed....)
Well for me it failed because I don't have Particular installed. Have you gone into Preferences > General and turned on Enable Javascript Debugger? What error message do you get? Paul Yes, it underlines the line 19 : "effetParticular.property("Particles/sec").setValue(1);" And w...
- November 6th, 2013, 10:08 am
- Forum: Scripts Discussion
- Topic: Ultra simple script (but failed....)
- Replies: 8
- Views: 16120
Ultra simple script (but failed....)
Hello, I'm new in scripting, and I try to make a really simple script. Here it is : { app.beginUndoGroup("Particular script"); // Creating project var currentProject = (app.project) ? app.project : app.newProject(); // Creating comp var compSettings = cs = [1920, 1080, 1, 120, 25]; var def...
- November 6th, 2013, 8:44 am
- Forum: Scripts Discussion
- Topic: Dockable UI panel
- Replies: 4
- Views: 21556
Dockable UI panel
Hello! I wrote my first script, and it works successfully! BUT, I want it to be dockable and I follow a tut which teach me how to write it.... but it doesn't work..... When I call it from the window of after effects, my panel is empty..... Also, I just want to assign a function to these 5 tabcontent...