Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
0

Is there a script I can get or make to paste a particular image at the exact cursor position.?

New Here ,
Feb 19, 2025 Feb 19, 2025

I would like to make a weather map graphic with lots of symbols and pasting them all over the map takes me ages. I just want to select an item from the project folder window and then click wherever I want in the project window and the image would be pasted into that position. Is there a paste image at cursor position plugin or something I could use to aid me in this?

Ideally a scale option would also be handy but as long as the centre position is central then I could always scale them down after if they pasted in too big!

Any help would be appreciated.

Mac

TOPICS
How to , Resources , Scripting
81
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Feb 19, 2025 Feb 19, 2025

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.

Translate
Adobe Employee ,
Feb 19, 2025 Feb 19, 2025

Thanks for writing in, Maciej34414097jjtw.

Give Chat GPT a try. It has helped some users in creating scripts from scratch for After Effects.

Let us know how it goes.

 

Thanks,
Nishu

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Feb 19, 2025 Feb 19, 2025
LATEST

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.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines