https://bugs.kde.org/show_bug.cgi?id=503029
--- Comment #9 from [email protected] --- (In reply to LS from comment #8) > (In reply to jmot205 from comment #4) > > Saving the following in AppleScript as an app will allow you to set the > > default pdf application to this new app as a workaround. So that means that > > we can now open files in a more native way without the right-click menu. > > > > >on open droppedFiles > > > repeat with f in droppedFiles > > > set filePath to POSIX path of f > > > do shell script "/Applications/okular.app/Contents/MacOS/okular > > > " & quoted form of filePath & " >/dev/null 2>&1 &" > > > end repeat > > >end open > > I appreciate this solution, it works quite well for a single file. However, > I am struggling to find an elegant solution for opening multiple files. With > this solution, each file has its own instance of Okular, resulting in 10-15 > windows displayed, and no way to arrange them in tabs. From a quick search, > I found a suggestion to add a --unique flag, but it did not change the > outcome. Any workaround? Agreed on the bulkiness of this approach because it makes individual instances; unfortunately I didn't find any workaround for that part of it. That was one of the reasons why I've switched back to Foxit, at least for the time being. -- You are receiving this mail because: You are the assignee for the bug.
