💻 Software
How to update Preview.app from the command line without losing focus on Mac OS X?
Fresh7 days ago
Mar 15, 20263110 viewsConfidence Score0%
0%
Problem
I want to update Preview.app in the background from the command line without losing focus of my current window. I know that I can use the following to open/update the view of a file, but then I lose focus to the Preview.app. I guess there might be some clever AppleScript commands to do so but so fa…
Error Output
open -a Preview foo.pdf
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How to update Preview.app from the command line without losing focus on Mac OS X?
Low Risk
Meanwhile i was told the solution by a nice person called Guillermo commenting on my blog. The solution is to use: to update the pdf in the background.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix