Mathias Moehl
Community Expert
Mathias Moehl
Community Expert
Activity
‎Mar 23, 2025
12:20 PM
See here:
https://community.adobe.com/t5/after-effects-discussions/trimming-selected-layers-by-keyframes-markers-etc-with-automation-blocks/m-p/13073244#M205953
... View more
‎Mar 20, 2025
08:48 AM
The easiest way to place the anchor point at the left center is to apply an expression to it.
My other (paid) tool Pins & Boxes has a function called Anchor Point Controls to generate such expressions for you:
You can save the entire expressions rig including the effect controls into an effect preset and then apply this preset using Automation Blocks.
... View more
‎Mar 20, 2025
06:14 AM
‎Mar 20, 2025
04:43 AM
You could apply an expression to the slider which increases your slider value over time without the keyframes. Example:
var dur = 3;
linear(time,0,dur,0,100)
If you apply this expression to your slider, it will increate the slider value during the first three seconds of the comp from 0 to 100. Now replace the 3 by another slider, say "duration" and then you can control with that slider how long your typing animation should last.
... View more
‎Mar 10, 2025
07:13 AM
Alternatively, I just wrote a little custom Automoation Blocks script for you, which can add a clip marker directly at the current time. So there is no need to create sequence markers first and then copy them. The script is a variant of the Creat Marker with Details script, which contains an extra dropdown where you can choose if you want to create sequence markers or clip markers:
You can download the variant with the clip marker option in the Community library at
Marker/Create Clip or Sequence Marker at Current Time.xml
Learn here how to bind an Automation Blocks script to a keyboard shortcut:
https://docs.mamoworld.com/automation-blocks/remoteExecution
... View more
‎Mar 09, 2025
11:56 PM
My (paid) tool Autoomation Blocks for Pr also has a tool to copy markers from the sequence to clips and vice versa:
... View more
‎Mar 07, 2025
12:16 AM
Since you probably don't want to search & replace, bun instead just to a basic replace of project item names, I wrote a new tool for you to do that.
Download it here: https://www.dropbox.com/scl/fi/a715bv5dz1dq3ty10ehtc/Batch-Rename-Project-Items-with-Spreadsheet.xml?rlkey=rkgk541no83stk1qacbuwwevp&dl=0
Here is a tutorial showing it in action:
... View more
‎Mar 06, 2025
10:51 PM
Can you descibe this in more detail? best share a screen recording of that you are doing. The code explicitly does the search on all kinds of project items, not just sequences, so it is no surprise that it renames bins, too.
Also note that it does a search and replace in the names, so if you rename "Youtube_01" to "foo", it will also rename "YouTube_12" to "foo2", since it finds the "YouTube_1" also in "Youtube_12".
... View more
‎Mar 05, 2025
10:53 PM
1 Upvote
Thanks a lot for the feedback - great to hear that it is working now. For issues with reading/writing csv also see the links at the bottom of this page: https://docs.mamoworld.com/automation-blocks/block-reference/filesSpreadsheet#troubleshooting-spreadsheet-issues
... View more
‎Mar 05, 2025
10:39 PM
1 Upvote
There are some (paid) extension on aescripts:
First, there is Clips Exporter https://aescripts.com/clips-exporter/ and then if you also want to automate all kinds of other things in Pr, my Automation Blocks for Pr also comes with an example named Render Clips of Sequence to export all clips individually. It loops over all clips of the sequence and adds each of them to the render queue individually (with the in and out poinits of the segment used in the sequence).
I think the main difference is that Clips Exporter exports the segments of the sequence (including all effects applied in the sequence) whereas Automation Blocks renders the clips (i.e. the source items in the project panel) without any effects you might have applied in the sequence. So this is a question of what exactly you need. Great thing about Automation Blocks is that you can customize the automations. Better Editor created a variant of the original example with an improved UI, for example:
... View more
‎Mar 05, 2025
03:49 AM
1 Upvote
Maybe your issue is that yu have the "Process only selected items" checkbox checked, but actually want to process all items instead of only selected ones?
I just recorded this video to test the workflow and it worked fine for me (in the video I kepft the "process only selected items" in the inputs panel, such that you can check/uncheck it there):
... View more
‎Mar 04, 2025
10:08 PM
Since you mention vector:
My (paid) After Effects extension iExpressions has an expression which can generate a vector shape for a waveform of your audio. So you could create this big shape and then just need to animate its position to move from start to finish during playback. But this is just a static shape, so if you are looking for fancy animations, @Kevin-Monahan's suggestion with the audio spectrum is the better option.
... View more
‎Mar 04, 2025
06:52 AM
1 Upvote
Looks almost good! Just plug the purple block inside the green one. Currently it is only executed once, after the spreadsheet has been read. If you plug it inside, it is executed many times, namely once for each row of the spreadsheet and this is what you want:
... View more
‎Mar 04, 2025
06:40 AM
‎Mar 03, 2025
12:30 PM
still awake 🙂 Yes, we have the Create Folder block for that.
... View more
‎Feb 25, 2025
04:11 AM
That should be possible with the Set Clip Parameter block.
The dropdown in that block, which lists the available parameters, won't contain all attributes of all possible effects by default. But you can simply select a clip in the timeline, to which this effect is applied and click the "refresh" icon next to the dropdown. This will update the dropdown to contain all parameters of the selected clip (see Clip Param block). default
... View more
‎Feb 24, 2025
10:25 PM
Hi Sam,
Bruce Bullis knows everything about the scripting engine and he says that there is no way to apply custom presets via scripting, unfortunately: https://community.adobe.com/t5/premiere-pro-discussions/extendscript-import-effect-preset-file/td-p/10848271
... View more
‎Feb 21, 2025
01:19 AM
Did you make sure to enable debugging for CEP 12? Maybe it is only running on older Pr versions, since older versions rely on older CEP versions, and maybe you have debugging enabled only for those?
Concerning UXP and Pr see here: https://hyperbrew.co/blog/premiere-pro-uxp-beta
... View more
‎Feb 20, 2025
10:41 PM
1 Upvote
If you look for an easy way to create extensions for Premiere Pro, my (paid) extension Automation Blocks for Pr is also an option. You can build your own custom automations - even with user inferfaces - by combining visual blocks instead of writing program code. We also have the Community Library, where you can share what you created.
... View more
‎Feb 19, 2025
11:14 AM
1 Upvote
As far as I know, Ae scripts have no way to retrieve the cursor position.
As a workaround, you could insert a null layer, say as first layer of the comp, and drag it to the position where you want to insert.
Then you could execute a script, which inserts + scales a new layer at the position of the first layer and then selects the first layer again such that you can easily grab and move it again for the next round.
... View more
‎Feb 18, 2025
07:41 AM
1 Upvote
Thanks for sharing!
I looked at your code and it looks like your delay code works, but it can actually be simplified.
I recommend to replace the full delay code by simply
$.sleep(2000)
to wait 2000 milliseconds.
... View more
‎Feb 18, 2025
04:50 AM
I also added a description of this workaround with the execute file block now here to the documentation: https://docs.mamoworld.com/automation-blocks/block-reference/filesText/#forcing-file-writes-to-disk
... View more
‎Feb 18, 2025
04:26 AM
Hi Emanuelle,
oh, yes, this is a very good observation! Automation Blocks has some performance optimizations, which result in files being usually saved only at the very end and not after each write operation (that saves a lot of time if you write a lot of content to a file step by step). Here is a version which uses an Execute Code block with the code
$._extAutomationBlocks.all.fileCollection.cleanup()
which forces Automoation Blocks to save all open files at that point.
... View more
‎Feb 17, 2025
06:12 AM
As far as I know, new sequences are always created based on a preset and their widht and height cannot be changed later using scripting. Therefore, I don't see a way of creating sequences automatically without creating preset files for them in advance.
BUT sqpreset files are normal xml files (i.e. text files) so you can create them with Automation Blocks. This script writes for each row of the spreadsheet a file "temp.sqpreset" on your desktop and then uses this sqpreset file to create a sequence of the respective size. I didn't test this code but I think it should work:
... View more
‎Feb 17, 2025
04:34 AM
1 Upvote
You can create a custom Automation Blocks script which creates a new sequence using the
New Sequence from Preset block. Just use multiple copies of the block to create several seqences.
If you want to read the sequence names and sequence preset files from a spreadsheet, combine it with a
For Each Row/Column of Spreadsheet block as follows:
The code assumes that
- the first column contains the names of the new sequence (optionally with a bin like "bin\subbin\sequence") - the second column contains the file path of a sqpreset file (sequence preset) see how to create such sequence preset files.
(block code is attached)
... View more
‎Feb 17, 2025
01:30 AM
Hi Mike,
are you using graphics templates created in Premiere Pro or in After Effects? Unfortunately, Premiere Pro's scripting engine (and hence also Automation Blocks) has only access to the texts of templates created in After Effects.
See this video at about 3:23
... View more
‎Feb 14, 2025
12:15 PM
Here is a second variant of the script, where you can choose in a dropdown, to which property you want to apply the expression:
download (also in Community Library):
Layer Properties/Expressions/Apply Expression to Any Transform Property of All Selected Layers.xml
... View more
‎Feb 14, 2025
12:02 PM
Here is a block script, which applies an expression to the Position property of all selected layers of the active comp.
You can modify the block code easily to use another property instead of position - just select another property (no matter on which layer exactly) and click the "refresh" icon as indicated in the screenshot.
I made the block code such that you can enter the actual expression code in the input panel. Of course, you can also use a popup instead of enter the expresssion code directly inside the block code. I just added this block script to the Community Library
here is the direct download to the block script file:
Layer Properties/Expressions/Apply Expression to Position of All Selected Layers.xml
... View more
‎Feb 09, 2025
11:15 AM
Could it be that the script gets confused by multiple layers having the same layer name? Does it work if your layers have a unique layer name (you could achieve that by writing an additional Automation Blocks script which adds a unique number (like counter) to the end of the name, for example).
... View more
‎Feb 08, 2025
04:26 AM
1 Upvote
I also added the script to the Community Library now at
Project Management/Save and Close/Increment Version And Save.xml
... View more