DevUtilsApp / DevUtils-app

All-in-one Toolbox for Developers. Native macOS app.
https://devutils.com
Other
4.09k stars 222 forks source link

Devutils app coming to the foreground, even "open -g" is used #114

Open rajashekar opened 1 year ago

rajashekar commented 1 year ago

When running app with

open -g "devutils://json2csv?clipboard=1&copy=1"

-g Do not bring the application to the foreground.

Expectation:

  1. Copy content from clipboard
  2. Do the operation here, it is json2csv
  3. Copy the content back to clipboard
  4. Devutils app should not come to the foreground (should not steal focus of other app)

Current behaviour At step 4, Devutils app is coming to foreground.

Please refer this - https://superuser.com/questions/56589/is-there-a-way-in-mac-os-x-to-stop-applications-from-stealing-focus-especially