A keyboard shortcut can be directly assigned (via System Preferences -> Keyboard -> Shortcuts -> App Shortcuts) to the script, using its name as it will appear in the menu (e.g. Save All Documents if the script is saved as "Save All Documents.scpt")

(btw in the script, "end repeat" is meant, in place of the first "end tell")

On 5 Mar 2021, at 12:38, Peter Olin wrote:

Wow! Wonderful.

Automator, your script and a keyboard shortcut and I'm in heaven. :-D

Thanks for the help, and for the flexible and powerful application!


On Fri, Mar 5, 2021 at 11:24 AM Christiaan Hofman <cmhof...@gmail.com>
wrote:



On 5 Mar 2021, at 11:16, Christiaan Hofman <cmhof...@gmail.com> wrote:



On 5 Mar 2021, at 09:27, Peter Olin <peter.o...@gmail.com> wrote:

Dear users and experts,

I have searched "everywhere" to the best of my ability, but have not found anywhere whether there is a way to save all unsaved open files in Skim.

When quitting or closing all files, there is a sequence of confirmation dialogs for each unsaved file, where I as a user can decide to *Save* or *Don't save *(or *Cancel*) for each modified file. This is pretty convenient.

Is there a way to preemptively, or whenever I just feel like it, manually *save all changes, *similar to the sequence initiated by a *Quit* or *Close
all *files, and preferably defaulting to "save", without opening the
dialogs prompting for Cancel/Don't save options?

--
—
Kind regards,
Peter Olin


No, a Save All function does not exist. Note that the various save
functions are system standards.

Christiaan


A way you could implement this yourself is add an AppleScript to the menu top to this. See the Wiki for details about adding script actions to the
menu. This AppleScript would do it:

tell application “Skim”
    repeat with aDocument in documents
        save aDocument
    end tell
end tell

Christiaan

_______________________________________________
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users



--
—
Kind regards,
Peter Olin


_______________________________________________
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users
_______________________________________________
Skim-app-users mailing list
Skim-app-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/skim-app-users

Reply via email to