Old 01-13-2018, 06:10 PM   #1
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default Render progress not shown when using command in a script

Hey all,

I'm creating a "Render VSTi item" script. It will convert a MIDI (VSTi) item to a WAV. When I execute the script from the script editor, the render progress is shown. However, when I execute the script from the action list, the render progress is completely missing. Do you guys have any idea how to solve this?



What's happening in the script:

- toggle bypass track FX, without VSTi
- item: apply track/take FX to items
- Take: switch items to previous take
- Take: delete active take from items
- toggle bypass track FX, without VSTi (that part is still missing in my script)
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 01-14-2018, 02:06 AM   #2
lachinhan
Human being with feelings
 
lachinhan's Avatar
 
Join Date: Nov 2014
Location: Can Tho - Viet Nam
Posts: 305
Default Thank you

Waoh ! So Great !! Awesome !!
__________________
NK Recording Studio
Email: lachinhan@gmail.com or admin@thuamninhkieu.com
Website:nkpro.top and ntmusicpro.com
lachinhan is offline   Reply With Quote
Old 01-14-2018, 07:19 AM   #3
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Thanks lachinhan! Now, if only the render progress would be shown, when executing the script from the action list!
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 01-17-2018, 10:04 AM   #4
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

So anyone knows, how to show the render dialog, when embedding action list commands in a script?
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 01-18-2018, 10:58 AM   #5
Xenakios
Human being with feelings
 
Xenakios's Avatar
 
Join Date: Feb 2007
Location: Oulu, Finland
Posts: 8,062
Default

Quote:
Originally Posted by _Stevie_ View Post
So anyone knows, how to show the render dialog, when embedding action list commands in a script?
This could be due to my fulfilled request to not needlessly open the window when calling the rendering actions from scripts. Showing and closing the window can slow down the execution of the script a lot. (I benchmarked that and the difference was quite a lot when doing a lot of small and fast renders.) However, the window should still appear if the rendering starts taking more time than some threshold.

Code:
v5.12 - January 20 2016
+ File copy: do not show status window for very short renders (also affects apply FX, many other actions)
__________________
I am no longer part of the REAPER community. Please don't contact me with any REAPER-related issues.
Xenakios is offline   Reply With Quote
Old 01-18-2018, 11:00 AM   #6
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Hey Xenakios!

Ahhh okay, that explains it! I will try that with a longer WAV and see if the dialog appears. Otherwise, it's a good decision to hide it, if it really slows down the process. Thanks for the info!
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ is offline   Reply With Quote
Old 01-19-2018, 03:46 PM   #7
_Stevie_
Human being with feelings
 
_Stevie_'s Avatar
 
Join Date: Oct 2017
Location: Black Forest
Posts: 5,054
Default

Yep, I can confirm, it works with longer WAVs! Thanks again for pointing out.
__________________
My Reascripts forum thread | My Reascripts on GitHub
If you like or use my scripts, please support the Ukraine: Ukraine Crisis Relief Fund | DirectRelief | Save The Children | Razom
_Stevie_ 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 04:14 AM.


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