Just wonder how I put this into effect I have added a screen shot hopefully this helps.
When I'm viewing images inside of Opus's popout viewer there's an a button called open files containing folder and when I press that it takes me to the folder as per intended.
However, what I want to happen instead is for the image file to be ignored and that instead it selects the next file after which if i've sorted the view for alphabetical it should select the video file as per my example pasted below.
I just want less clicks and basically the image im viewing when clicking open file location it instead opens my player with the video file that is next in the file display.
I also have 2 Delete buttons. The first Delete button acts like a normal delete and deletes whatever is being viewed. The second Delete (w/ Vid) deletes the image and it's associated video. Only 1 Delete button shows up at a time depending on whats being viewed.
Delete:
@hideif:=Exists(RegEx(selpath, "(.*)\..*?", "\1"))
Show VIEWERCMD=delete
Delete (w/ Vid):
@hideif:=!Exists(RegEx(selpath, "(.*)\..*?", "\1"))
Delete {file$|noext}
Show VIEWERCMD=delete
I'm pretty sure you need DOpus 13.12 or higher to use these buttons that auto hide. Or it's something higher than 13.7 because they stopped working when I went back to 13.7 for testing something else. Don't remember.
lxp also changed the hide code slightly for DOpus 13.12.1 and higher:
This was actually so amazing, and I understood your instructions and implemented the script/button its working as intended, and you've saved me so much time at work!
The most convenient way to create the thumbnails in the format you recommended.
Leaving these instructions in case someone wants to find a quick way to create thumbs in high quality (i.e set the dimensions) or adjust the amount of preview frames within the image.
Personally, I use 1920 for the width and 16:9 for aspect ratio... with auto width ticked since most of my content is in that resolution and if it's set to auto otherwise, I find the panels inside of the 4x4 thumb can stretch or look weird if its 4:3 or 21:9 etc...