Unloading pdf files after specific time (counteracting high ram usage)

Is there a way to set the time after which a pdf gets unloaded? I often have a lot of pdf files open in my Brave, and some I might not use for a few hours or days (but keep them so that I can quickly go back to them). This leads to high ram usage of Brave, so I would like to set a timer after which a pdf file gets unloaded.

You might learn AppleScript. You could write an AppleScript that manages the number of tabs.

To give you an example of an AppleScript, search online for:

applescript count every browser tab

You will find AppleScripts that count every tab.


Some Guidance and Reference materials

“AppleScript - The Language of Automation”

http://macosxautomation.com/applescript/firsttutorial/index.html

“AppleScript Lexical Conventions”

https://developer.apple.com/library/archive/documentation/AppleScript/Conceptual/AppleScriptLangGuide/conceptual/ASLR_lexical_conventions.html

MacScripter.net

https://www.macscripter.net/

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.