https://bugs.kde.org/show_bug.cgi?id=503029
--- Comment #6 from jmot...@proton.me --- (In reply to Andreas Joss from comment #5) > (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 > > Thanks, I have followed this instruction and I am able to open a PDF using > the newly created AppleScript app (which opens Okular). But I am unable to > change the default app for opening PDFs to this AppleScript app. The > following error message is produced: > > You can’t change the item “xxx.pdf” to always open in the selected > application. > The item is either locked or damaged, or in a folder you don’t have > permission to modify (error code 13). > > After having read some forums, it seemed the location of the AppleScript app > could be the culprit (saved by default in iCloud folder). I then copied the > app to my regular Applications folder, deleted the original, tried again and > I still get the aforementioned error message. That's weird; I don't think I did any further steps on my end. My .app is saved into the /Applications folder as well. FWIW I set it as default via right-click > Get Info > Open with > select .app > Change All (as opposed to the right-click > open with ... method) -- You are receiving this mail because: You are watching all bug changes.