Can I suspend plugin activity if app is not in focus?/How are 'file-edits' detected #746
-
Hello, I have a bit of a peculiar issue right now. This means I use both VS Code and Obsidian for working - Obsidian for writing, VS Code for scripting, automation, ... At the same time, Obsidian is running in the background, with the This poses a unique issue, because while selectively managing the project in VSCode, Would it be possible to only trigger the execution-routine if the obsidian-application is active/is in focus? In principle such an option would solve this issue - but I am also completely aware that this is a super niche issue. Thank you. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
I definitely want the backup to be run after the 5 minutes, even if Obsidian is in background. I could only think of ignoring modify events if Obsidian is in background, but I'm unsure whether this is a good idea or not. And probably wouldn't even solve your issue, right? So I don't think there's a solution to your problem other than closing Obsidian while doing that work or increasing the timers. |
Beta Was this translation helpful? Give feedback.
I definitely want the backup to be run after the 5 minutes, even if Obsidian is in background. I could only think of ignoring modify events if Obsidian is in background, but I'm unsure whether this is a good idea or not. And probably wouldn't even solve your issue, right? So I don't think there's a solution to your problem other than closing Obsidian while doing that work or increasing the timers.