Skip to main content
Participating Frequently
August 27, 2024
Answered

can we add guides using script?

  • August 27, 2024
  • 2 replies
  • 524 views

I am working on a script that will add two guides, vertical and horizontal at the center of the comp. Not sure if you can add guides through scripts tho

This topic has been closed for replies.
Correct answer Airweb_AE

You can use addGuide() method:

 

app.project.activeItem.addGuide(1, 500);

And these commands can be useful:

 

 

2 replies

Mathias Moehl
Community Expert
Community Expert
August 27, 2024

Yes, you can 🙂

 

Bonus tip:

My (paid) extension Automation Blocks for Ae comes with a handy collection of guide tools, too. You can use it to save your own guide presets, for example. A center cross would be very easy to implement as such a preset.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Airweb_AECorrect answer
Legend
August 27, 2024

You can use addGuide() method:

 

app.project.activeItem.addGuide(1, 500);

And these commands can be useful: