📝⚙️ Script to copy and paste attributes?

m3lquixd wrote on 3/11/2023, 12:48 PM

Is it possible to access the "Selectively Paste Event Attributes" function through a script?
If possible. Can I copy (CTRL + C) normally an event to get the attributes and then select another event and run the script to paste the attributes?
Why do I need this? Because by default the delete existing fx option is checked. And I need it to always be unchecked. That is, the script would need to open the "Selectively Paste Event Attributes", select "Video event effects and effects keyframes" open the side menu, always leave the option "Delete existing FX on target event" unchecked. And apply.

Stopping to think about it, I think I'm even complicating it. The question is: Is it possible to make a script that I can copy and paste the fx from one event to another without removing the existing fx in the event that will receive the fx?

Last changed by m3lquixd

About me:
Hi! Melqui Calheiros Here. I've been using Vegas as my only video editor for over 10 years. I edit professionally for various influencers, public bodies and small businesses. My goal is to squeeze Vegas to the fullest! And end the prejudice that software has here in Brazil.

⬇️ Some of my jobs. ⬇️
https://www.vegascreativesoftware.info/us/forum/post-your-vegas-creations--109464/?page=37#ca872169

PC Specs:
Operating System:
    Windows 11 Pro 64-bit
CPU:
    AMD Ryzen 3 3200G 3.60 GHz
RAM:
    16,0GB Dual-Channel DDR4 2666MHz
Motherboard:
    Gigabyte Technology Co. Ltd. A320M-S2H-CF (AM4)
Graphics:
    4095MB NVIDIA GeForce GTX 1650 (ZOTAC International)
Storage:
    465GB Seagate ST500DM002-1BD142 (SATA )
    238GB Lexar 256GB SSD (SATA (SSD))

Comments

m3lquixd wrote on 3/11/2023, 3:52 PM

@jetdv Can you do that?

About me:
Hi! Melqui Calheiros Here. I've been using Vegas as my only video editor for over 10 years. I edit professionally for various influencers, public bodies and small businesses. My goal is to squeeze Vegas to the fullest! And end the prejudice that software has here in Brazil.

⬇️ Some of my jobs. ⬇️
https://www.vegascreativesoftware.info/us/forum/post-your-vegas-creations--109464/?page=37#ca872169

PC Specs:
Operating System:
    Windows 11 Pro 64-bit
CPU:
    AMD Ryzen 3 3200G 3.60 GHz
RAM:
    16,0GB Dual-Channel DDR4 2666MHz
Motherboard:
    Gigabyte Technology Co. Ltd. A320M-S2H-CF (AM4)
Graphics:
    4095MB NVIDIA GeForce GTX 1650 (ZOTAC International)
Storage:
    465GB Seagate ST500DM002-1BD142 (SATA )
    238GB Lexar 256GB SSD (SATA (SSD))

jetdv wrote on 3/11/2023, 6:12 PM

Can it? Maybe. But there would certainly be some limitations or possible issues. The best way is to certainly use the built-in "Selectively Paste Event Attributes" option and, possibly, request some modifications to that screen. For example, maybe an option could be added that allowed you to check what you want checked/unchecked by default and that setting could be saved for future uses of that option.

In my testing, it appears to be remembering what I've checked/unchecked on both the main screen and secondary option screen between usages.

m3lquixd wrote on 3/11/2023, 8:00 PM

@jetdv That request I made to the vegas team, I thought there was no way to do it through a script, that's why I didn't even ask you. But this I had hopes of being possible. And after seeing that you managed to do the other one, I thought it was possible to follow the same logic.

About me:
Hi! Melqui Calheiros Here. I've been using Vegas as my only video editor for over 10 years. I edit professionally for various influencers, public bodies and small businesses. My goal is to squeeze Vegas to the fullest! And end the prejudice that software has here in Brazil.

⬇️ Some of my jobs. ⬇️
https://www.vegascreativesoftware.info/us/forum/post-your-vegas-creations--109464/?page=37#ca872169

PC Specs:
Operating System:
    Windows 11 Pro 64-bit
CPU:
    AMD Ryzen 3 3200G 3.60 GHz
RAM:
    16,0GB Dual-Channel DDR4 2666MHz
Motherboard:
    Gigabyte Technology Co. Ltd. A320M-S2H-CF (AM4)
Graphics:
    4095MB NVIDIA GeForce GTX 1650 (ZOTAC International)
Storage:
    465GB Seagate ST500DM002-1BD142 (SATA )
    238GB Lexar 256GB SSD (SATA (SSD))

m3lquixd wrote on 3/11/2023, 8:00 PM

About the current state of this role. The following is. When we copy once and paste and uncheck the option. When we paste again, the option remains unchecked. But when we are going to copy again the option is checked again. And yes, I wish there was an option in the vegas preferences so we could always choose checked or unchecked.
But another reason I want a script for this is to define a keyboard shortcut. All scripts I define a shortcut key to trigger it. I understand why he unchecks it, it's because now the user may want to make another type of collage, but in my case I wanted to define always the same collage mode.

About me:
Hi! Melqui Calheiros Here. I've been using Vegas as my only video editor for over 10 years. I edit professionally for various influencers, public bodies and small businesses. My goal is to squeeze Vegas to the fullest! And end the prejudice that software has here in Brazil.

⬇️ Some of my jobs. ⬇️
https://www.vegascreativesoftware.info/us/forum/post-your-vegas-creations--109464/?page=37#ca872169

PC Specs:
Operating System:
    Windows 11 Pro 64-bit
CPU:
    AMD Ryzen 3 3200G 3.60 GHz
RAM:
    16,0GB Dual-Channel DDR4 2666MHz
Motherboard:
    Gigabyte Technology Co. Ltd. A320M-S2H-CF (AM4)
Graphics:
    4095MB NVIDIA GeForce GTX 1650 (ZOTAC International)
Storage:
    465GB Seagate ST500DM002-1BD142 (SATA )
    238GB Lexar 256GB SSD (SATA (SSD))

m3lquixd wrote on 3/11/2023, 9:01 PM

@lan-mLMC Interesting. Did not know. But I didn't like not being able to copy the fx with CTRL + C, having to define another shortcut for the "copier" of the extension. But it works. @jetdv I still preferred something with no interface and no pop-up message every time I run it. If you're still interested in doing that, that's fine. But I really don't need it anymore. Thank you for your attention.
 

About me:
Hi! Melqui Calheiros Here. I've been using Vegas as my only video editor for over 10 years. I edit professionally for various influencers, public bodies and small businesses. My goal is to squeeze Vegas to the fullest! And end the prejudice that software has here in Brazil.

⬇️ Some of my jobs. ⬇️
https://www.vegascreativesoftware.info/us/forum/post-your-vegas-creations--109464/?page=37#ca872169

PC Specs:
Operating System:
    Windows 11 Pro 64-bit
CPU:
    AMD Ryzen 3 3200G 3.60 GHz
RAM:
    16,0GB Dual-Channel DDR4 2666MHz
Motherboard:
    Gigabyte Technology Co. Ltd. A320M-S2H-CF (AM4)
Graphics:
    4095MB NVIDIA GeForce GTX 1650 (ZOTAC International)
Storage:
    465GB Seagate ST500DM002-1BD142 (SATA )
    238GB Lexar 256GB SSD (SATA (SSD))

jetdv wrote on 3/11/2023, 9:45 PM

The script wouldn't be able to access the "CTRL-C" information. For this to work, it would have to be a custom command, you would need to select the source and then tell the Custom Command "this is the source". Then you would have to pick the destination events, tell the Custom Command what you wanted copied, and then tell it to copy it. The existing method is much better for this so, perhaps, the dialog can be tweaked to allow saving of the default settings. But that will be up to Magix.

m3lquixd wrote on 3/11/2023, 10:59 PM

I understood. Thank you all.

About me:
Hi! Melqui Calheiros Here. I've been using Vegas as my only video editor for over 10 years. I edit professionally for various influencers, public bodies and small businesses. My goal is to squeeze Vegas to the fullest! And end the prejudice that software has here in Brazil.

⬇️ Some of my jobs. ⬇️
https://www.vegascreativesoftware.info/us/forum/post-your-vegas-creations--109464/?page=37#ca872169

PC Specs:
Operating System:
    Windows 11 Pro 64-bit
CPU:
    AMD Ryzen 3 3200G 3.60 GHz
RAM:
    16,0GB Dual-Channel DDR4 2666MHz
Motherboard:
    Gigabyte Technology Co. Ltd. A320M-S2H-CF (AM4)
Graphics:
    4095MB NVIDIA GeForce GTX 1650 (ZOTAC International)
Storage:
    465GB Seagate ST500DM002-1BD142 (SATA )
    238GB Lexar 256GB SSD (SATA (SSD))