|
|
|
08-28-2019, 08:08 AM
|
#1
|
Human being with feelings
Join Date: Nov 2014
Posts: 798
|
Clear media explorer preview
Hi, I need to clear the media explorer preview from script, so I can overwrite files without obstruction.
So far I've found an action "Unload current preview media", but it's in the media explorer section and there appears not to be an "OnCommand" function for the media explorer.
Does anyone have any suggestions on how to clear the preview?
|
|
|
08-28-2019, 04:10 PM
|
#2
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
Close media explorer should work and then reopen it. it will not keep scroll pos and filter though
|
|
|
08-29-2019, 05:17 AM
|
#3
|
Human being with feelings
Join Date: Nov 2014
Posts: 798
|
Cool, I'll see if that works without too much graphical disruption.
I found another workaround, point it at a file you know will never be in the preview.
The script in question finishes by focusing the output files in the media explorer, so while the render takes place now I point media explorer at a blank wave file in a particular location. This clears the preview, and then the media explorer focuses the output location at the end, so you only briefly see the blank wave file in the media explorer.
|
|
|
08-29-2019, 06:35 AM
|
#4
|
Human being with feelings
Join Date: Nov 2014
Posts: 798
|
I can't see a way to close media explorer via script
|
|
|
08-29-2019, 06:39 AM
|
#5
|
Human being with feelings
Join Date: Apr 2013
Location: France
Posts: 9,875
|
MAIN: Media explorer: Show/hide media explorer
this is the toggle state / action to inspect / run
|
|
|
08-29-2019, 08:19 AM
|
#6
|
Human being with feelings
Join Date: Nov 2014
Posts: 798
|
Ah yes, was being blind. Thanks
|
|
|
08-29-2019, 08:25 AM
|
#7
|
Human being with feelings
Join Date: Nov 2014
Posts: 798
|
Yeah, your solution is better than mine. It's still a little messy, but it's less weird.
Would be cool if we got a MediaExplorer_OnCommand function at some point though.
|
|
|
08-29-2019, 08:37 AM
|
#8
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,622
|
If you use my Ultraschall-API, you can use MediaExplorer_OnCommand, which I coded for exactly such purposes.
It runs Actions from the MediaExplorer-section.
https://mespotin.uber.space/Ultrasch...orer_OnCommand
|
|
|
09-02-2019, 06:04 AM
|
#9
|
Human being with feelings
Join Date: Nov 2014
Posts: 798
|
Ah, brilliant, thanks. I did look through your API, I missed that somehow.
|
|
|
09-03-2019, 12:02 AM
|
#10
|
Human being with feelings
Join Date: May 2017
Location: Leipzig
Posts: 6,622
|
Quote:
Originally Posted by Travesty
Ah, brilliant, thanks. I did look through your API, I missed that somehow.
|
I had added it in the most recent version
|
|
|
09-11-2019, 08:41 AM
|
#11
|
Human being with feelings
Join Date: Nov 2014
Posts: 798
|
Ah, that must be why. Thanks
|
|
|
Thread Tools |
|
Display Modes |
Linear Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -7. The time now is 08:28 AM.
|