switching browser to grid when viewer is hidden

Discussion regarding all scripting related questions
Please DO NOT post to this thread anything that is not directly related to scripting of Capture One.

switching browser to grid when viewer is hidden

Postby dsroka » Thu Dec 05, 2019 3:58 pm

I wanted to set up a Lightroom-like workspace, with two different working modes:
  • viewer visible, with the browser below set to filmstrip
  • viewer hidden, and the browser set to grid, filling the screen

If you have the browser set to filmstrip and hide the viewer, IMO the browser should switch to grid on its own (since a fullscreen filmstrip makes no sense). Also, I'd love it if the when the viewer is hidden, the thumbnail size would grow to take advantage of the extra space. But since C1 doesn't work this way, I created these simple scripts that lets me quickly switch between the two modes.

Code: Select all
--Viewer On, Filmstrip Browser Below
tell application "Capture One 20" to tell current document
   set the visible of the viewer to true
   set the placement of the browser to bottom
   set the mode of the browser to filmstrip
end tell


Code: Select all
--Viewer Off, Grid Browser
tell application "Capture One 20" to tell current document
   set the visible of the viewer to false
   set the mode of the browser to grid
   set the thumbnail zoom of the browser to 65
end tell
dsroka
 
Posts: 8
Joined: Mon Aug 19, 2013 4:52 pm

Re: switching browser to grid when viewer is hidden

Postby Eric Nepean » Tue Dec 10, 2019 1:34 am

Interesting idea. But can't you do this by saving two workspaces?
Eric Nepean
 
Posts: 637
Joined: Sat Oct 25, 2014 8:02 am
Location: Ottawa

Re: switching browser to grid when viewer is hidden

Postby dsroka » Tue Dec 10, 2019 3:06 am

You could do it via workspaces, but then if you ever updated one of them (added a panel etc) they'd no longer match. Plus this will work for all workspaces.
dsroka
 
Posts: 8
Joined: Mon Aug 19, 2013 4:52 pm


Return to Scripting



Who is online

Users browsing this forum: No registered users and 2 guests