Skip to main content
Known Participant
January 17, 2025

MOGRT text box not holding values when entered programatically (SDK)

  • January 17, 2025
  • 7 replies
  • 629 views

Premiere 25.1.0 (Build 73) 

MacOS 15.1.1 (24B2091)

 

I have a simple script that inserts a text caption MOGRT into a timeline and then adds values to each field within that MOGRT. Several of these fields are text boxes. 

 

Lately, the automation script seems to work, as the MOGRT correctly produces captions on screen, however the entered text does NOT appear in the MOGRT's corresponding text box.

 

If I click into the empty text box, all of a sudden the text that was correctly appearing onscreen disappears. 

 

It's like the MOGRT is holding invisible "ghost" values for the text box, that you can't see, but are still rendering on screen, but then when you click on the text box, they disappear. 

 

Does that make sense? It seems like the UI is not updating properly after the text-box values are automatically entered.

 

I realize this is a very niche problem to have, but it does speak to something that might have broken in the v25 update perhaps? I can provide a screencapture if that helps. 

 

Any ideas? 

 

 

7 replies

Known Participant
February 5, 2025

Great thank you. No rush, I appreciate your help. 

Bruce Bullis
Community Manager
Community Manager
February 5, 2025

Got it; haven't done anything with it (yet).

Known Participant
February 5, 2025

Hey Bruce, just pinging here. I sent you a DM with a minimum reproducible example of the issue. Did you receive? 

Known Participant
January 17, 2025

Ha fantastic! I'll clean up some of the spaghetti on my end and send you a sample soon. Thanks for your help!

  

Bruce Bullis
Community Manager
Community Manager
January 17, 2025

I know about Pymiere. [Younger me was a fired-up pythonista; fond memories....]

It would be useful to see the (PyMiere-generated?) ExtendScript and .mogrt you're using, that reliably reproduce the failure. 

Known Participant
January 17, 2025

Thanks for replying Bruce.

 

I can reproduce it and share, but I must say my workflow is unique and technically "non-Adobe."

 

I'm a stubborn python person, I use a library called pymiere for automations. Pymiere is essentially a python wrapper for this variety of the SDK (https://ppro-scripting.docsforadobe.dev/)

 

If you drill down through my code, it does eventually get converted to JS though.

 

Would you still like to see the script? 

Bruce Bullis
Community Manager
Community Manager
January 17, 2025

Could you send us the script, the .mogrt(s) you're using, and (important!) step-by-step instructions which reliably demonstrate the problem?