Can you edit "info.plist" to start an app. "minimized"?

Discussion in 'macOS' started by lip5016, Dec 7, 2014.

  1. lip5016 macrumors regular

    Joined:
    Jul 11, 2014
    #1
    Hello.. I recently came upon a CNET article which detailed how to "remove" annoying apps. from showing up in the dock whenever opened, by simply adding 2 short lines to the end of the "info.plist" for each application..

    In my case, 2 dock icons would open and need to stay open in the dock whenever I connected my audio device, which was very unnecessary considering they were icons with very minimal purpose..

    This actually worked out great, but I'm still facing the issue that the 2 windows are still opening whenever the device is initially connected (albeit, no longer in the dock).. It would be much better if I could add another similar edit to their "info.plist" files that would cause these applications to start minimized, which would basically result in me not having to deal with them anymore at all..

    Here is the CNET article detailing how to prevent an applications dock icons from showing for any interested:

    http://www.cnet.com/news/prevent-an-applications-dock-icons-from-showing-in-os-x/

    So now, I'm hoping somebody could maybe provide me with a similar set of instructions on something I can add to those "info.plist"s so that, in addition, they will start minimized (which would result in them not showing up at all anymore)..

    Is this possible? thanks!
     
  2. chown33 macrumors 604

    Joined:
    Aug 9, 2009
    #2
    No. There are no info.plist keys for this.

    Apps aren't minimized; windows are. There aren't any info.plist keys for this, either.


    You could try creating an Automator application that does the following sequence:
    1. Launch your desired application.
    2. Tell the application to minimize every window.

    An AppleScript application could also do that.

    Then when you want the "launch fully minimized" feature, run your customized Automator or AppleScript application.

    You could replace "minimize every window" with "hide", and then the app's windows won't appear on the Dock.
     
  3. lip5016 thread starter macrumors regular

    Joined:
    Jul 11, 2014
    #3
    well see the thing is.. is that I never purposefully "start" these apps.. as soon as my USB audio device is plugged in, they start automatically, with 2 small opened windows.. mildly infuriating
     
  4. Pdmes macrumors newbie

    Joined:
    Sep 22, 2014
    #4
    You can use this as the most similar option, these apps will run only in background. Only cons is that they will not appear on dock

    An automator or apple script would be a nice option too

    <key>LSBackgroundOnly</key>
    <true/>
     

Share This Page