Old 09-25-2021, 01:40 PM   #1
babag
Human being with feelings
 
Join Date: Nov 2009
Posts: 2,230
Default api to show take volume envelope?

i thought it might be in setmediaitemtakeinfo_value but, at least in the documentation i saw, i didn't see it. is there a simple switch someplace to turn a take volume envelope visible? (hope i haven't asked this before but i may have. sorry if i have.)

thanks,
babag
babag is offline   Reply With Quote
Old 09-25-2021, 02:05 PM   #2
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,109
Default

Not sure it helps but there's SWS actions for it:

SWS/S&M: Show take volume envelope
(and Hide/Toggle show variants)
nofish is offline   Reply With Quote
Old 09-25-2021, 07:12 PM   #3
babag
Human being with feelings
 
Join Date: Nov 2009
Posts: 2,230
Default

thanks, nofish.

i actually used that in combination with a script i have in order to make a custom action. was hoping there might be something more direct i could add into the script to flip that switch, though. i suppose i could try the command, forget what it's called, to execute a command id and use your action in that way. that would put it inside the script, i guess.

thanks again,
babag
babag is offline   Reply With Quote
Old 09-26-2021, 07:30 AM   #4
nofish
Human being with feelings
 
nofish's Avatar
 
Join Date: Oct 2007
Location: home is where the heart is
Posts: 12,109
Default

Yes, you can use Main_OnCommand in combination with (when it comes to actions exposed by extensions) NamedCommandLookup to execute actions in scripts.

The SWS actions are using chunk patching so I don't think there are native API functions for it (unless this has changed meanwhile).

Last edited by nofish; 09-26-2021 at 07:40 AM.
nofish is offline   Reply With Quote
Old 09-26-2021, 09:37 PM   #5
babag
Human being with feelings
 
Join Date: Nov 2009
Posts: 2,230
Default

that worked. used NamedCommandLookup with Main_OnCommand to call a sws action to show the take volume envelope. so far so good.

thanks,
babag
babag is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 03:18 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.