How to prevent a window from showing up when a program is launched

Hi guys!
I'm looking for a way to make run a program in an invisible way..
I've managed to hide its icon from the dock, but I cannot avoid its maining window appearing when it opens...
Could I solve this trouble by deleting some lines in the info.plist file?
Thank you in advance!
PS Someone posted the same question some moths ago,
here:
https://discussions.apple.com/thread/2630616?start=0&tstart=0
but if I delete
<key>NSMainNibFile</key>
          <string>MainMenu</string>
the program doesn't work!!

please define what you mean by 'in an invisible way', and please tell us what application you're talking about.  and it's really not a good idea to delete the reference to the nib file, because the nib can store a lot of information the program needs.
you probably want to set either the LSUIElement key to 0 or the LSBackgroundOnly key to 1 in the info.plist file. The first can show windows at need, but doesn't otherwise show to the user; the second never shows anything to the user.  However, either might interfere with the operation of the app, depending on what the app is designed to do, and doing this might break the code signature for the app which will make the app un-openable until you reinstall the original.
if you just want an app to open invisibly at boot time, that's a different issue.

Similar Messages

  • Preventing AIR Windows from showing up in the taskbar

    Is it possible to prevent a normal type window from showing
    up in the taskbar? I would like the normal window systemchrome on
    my windows but want them to act like a utility type window. Any
    help is appreciated.
    Mike

    bump

  • How to prevent New Window from offsetting location from previous windows?

    I'm anal retentive. I like a tidy screen. I place all Firefox windows at top left corner of the screen. Each successive New Window arrives offset a small distance to the right, so that it does not cover the previous window. That's terrific, except... I do not want that behavior. I am constantly repositioning the New Window so that it too starts at the top left corner of the screen. It would be delightful if there were a Preferences option to allow New Windows to NOT be automatically offset to the right of the previous Firefox window.

    Try submitting your idea to https://www.mozilla.org/en-US/contact/spaces/ . Try any of the ways listed to contact Mozilla and suggest this! (feedback, facebook, forums,...)

  • I have several gmail ids that I deleted with gmail. How do I stop Firefox from showing them when I go to log into surviving gmail ids?

    I have 5 or 6 Gmail account IDs. Several have been deleted via Gmail so no longer exist. However, every time I want to log into one of my remaining Gmail IDs, Firefox shows a list of every Gmail ID I've had in the past. How do I delete the ones I no longer use??
    Related question: How do I export my bookmarks so that I can completely eliminate Firefox and start fresh with a new Firefox that hopefully doesn't remember all my Gmail IDs???

    On the logins, you can try clearing the obsolete ones here:
    orange Firefox button > Options > Security > "Saved Passwords"
    ''or''
    Tools menu > Options > Security > "Saved Passwords"
    On bookmarks, there are several methods to import. You can export to an HTML file and store that outside of the Mozilla folders (e.g., in your Documents folder) or you can copy the bookmark backups folder.
    Before making changes, I recommend backing up your Firefox settings in case something goes wrong. See [https://support.mozilla.com/en-US/kb/Backing+up+your+information Backing up your information]. (You can copy your entire Firefox profile folder somewhere outside of the Mozilla folder.)
    Then, see:
    [https://support.mozilla.com/en-US/kb/Exporting%20bookmarks%20to%20an%20HTML%20file Exporting bookmarks to an HTML file | How to | Firefox Help]
    [https://support.mozilla.com/en-US/kb/Lost%20Bookmarks#w_restoring-bookmark-backups Lost Bookmarks - Restoring Bookmark Backups]
    Finally, rather than uninstall/reinstall, you could create a new Firefox profile. It will look as though you just installed Firefox, and then you can copy important settings to the new profile at your leisure.
    To create a new (blank) profile: [https://support.mozilla.com/kb/Managing+profiles Managing profiles]
    To move key settings to the new profile: [https://support.mozilla.com/en-US/kb/Recovering+important+data+from+an+old+profile Recovering important data from an old profile].
    Hope this helps.

  • How to prevent video playback from getting paused when switching to another tab on Firefox for Android?

    In Firefox for Android 27.0, if you play video in one tab and while it's playing you switch to another tab, the video gets paused. I want the video to continue to play while I'm viewing another tab (so I can at least hear its sound!).
    How can I do that?
    How can I prevent Firefox for Android from pausing video playback when switching to another tab?
    Thank you very much.

    Hi hamid_ss,
    Currently Firefox for Android does this by default with embedded players. Some sites go automatically to full screen too which may be what you are running into. Try it.

  • How to prevent the logo from cutting off when making a pdf from a powerpoint presentation.

    The descender of the "g" cuts off a bit on the pdf, although it's fine on the ppt doc. Any suggestions on how to correct this? Thanks.

    Might be better to post this in the Acrobat or Indesign forums.

  • [Flex 4.5.1] How to prevent Radio Button from being selected when clicked on? No Changing Event?

    I have a very common use case where you have a few radio buttons and only one can be selected at a time. Some of them are basic and on click should be selected right away, but other are more complex and open a pop up which requires some additional user selections after which the user selected OK or CANCEL for example and only after that the selection of the radio button should be applied programatically.
    So to solve this issue I've come up with 2 workarounds:
    1) make the entire group, that holds the radio button, act as a button with buttonMode="true" mouseChildren="false" and programatically change the radio button within it.
    2) hold the current radio button selection in a variable and in the changeHandler of that radio button return the selection back to what was selected before. But this also causes a small flickering of the radio button which gets selected and deselected immediately after that.. not cool.
    So my question is... is there something I am missing that could do the job without these workarounds... like a Changing event which I use for the ButtonBar but I can't find on the RadioButton or RadioButtonGroup... thanks!

    Hi,thanks for the reply. Actually that was my third option, but not sure if it's very good also..
    Here is a simple scenario:
    User must select between 2 radio buttons:
    1) no volume -> sets variable volume=0 and selects the radio button (that is the normal use case)
    2) set volume -> opens up a pop up with a list that has a X button to close and 4 options: 25% volume, 50% volume, 75%, 100%
    At this point the set volume radio button should not be selected and the user has 2 choices:
    -> hit the X button to close - nothing changes and no volume radio button is still selected and volume is still = 0
    -> hit one of the volume % buttons -> the set volume radio button gets selected and the variable volume=25/50/75/100 depending on the button selected by the user.
    That's a pretty common scenario and it's bugging me that I can't easily alter the radio button selection logic since whenever I click it, it gets selected and I can't put a logic in between in a standard way. This should apply to any component with selection, just like ButtonBar has it with the Changing event.
    So is there any other more convenient way to accomplish this scenario that you could recommend?
    Thanks!

  • How do i retrieve photos from my iPhoto when the program has become unreadable?

    Its a 9.3.2 verson of iPhoto and has suddenly become unreadable.
    I am unable to open the program, so i cannot retrieve all my photos off it!
    please help!!!!

    what happens? What version of the OS?
    Back up your iPhoto library, Depress and hold the option (alt) and command keys and launch iPhoto - rebuild your database
    LN

  • How do I install windows from USB on Macbook pro 3,1

    How do I install windows from USB on Macbook pro 3,1 ?
    My Superdrive is far from super anymore, So I managed to make an extern drive with both Snow Leopard Partition, Lion Partition (Since I thought Boot Camp 4,1 would bypass my problem), and Time Machine partition, Since I got 1. USB drive that works.
    - My general issue is that Boot camp Refuse to see the USB drive - (Many "how to"´s though show how they install windows perfectly through the USB port, but they use airbooks!, and somehow the Macbook will not ?)
    I fix that issue with >> rEFIt <<, that suddenly makes it possible for the Mac to see the USB drive, and partitions.
    Which was very strange since I could use an extern HD with the whole installation to start up wipe the whole disk, and then use my extern drive with partitions to install Snow Leopard and get everything as before with timemachine. Very smart with timemachine, but very lucky that I have a extern drive that runs the whole system and that I made the partitionsdrive before. DVD-drives are the past!
    Point: So the original system could see the Snow Leopard installation USB disk, but boot camp cannot find the USB drive ?????????
    After rEFIt I booted and then I got this error:
    Starting bootmgr.efi
    Error: Unsupported while loading bootmgr.efi
    I read it could be a problem with the Windows software, so I purchased an extern DVD drive, Used Disk Utility to make an image (.DMG), then used another program to convert the .dmg to .ISO.
    Then downloaded a trialversion of vmWare fusion, and installed windows from the iso. Everything worked brilliant, except and that is why I want to use boot camp, Running windows in another program while running the mac system is a little hacky and slow.
    Point: Nothing is wrong with the windows software, and windows runs fine.
    I then downloaded the Windows DVD / USB Tool, reformatted a USB drive as Master Boot Partition, MS-Dos Fat partition, then after lots of struggling got Vmware, windows to recognise the USB drive. And installed the windows software on the USB drive, as all the walkthroughs recommend.
    Then I tried for "fun"! to just install windows form the extern USB drive, and with rEFIt it will see the drive and start to do something, but then when it starts to boot, the screen just turns into black and nothing happens, and you can see the drive does NOTHING. (I think it is because I only have 1 USB drive and the Extern DVD drive does not get enough power, but again the mac refuse to see the USB drive unless it is a Snow Leopard installation USB-drive!
    Well trying to install Windows Ultimate 64 Bit, which worked great in vmware, because that program installed from the .ISO file that I had on the desktop, but trying with Boot Camp did not get anywhere, what kind of **** program is this boot camp anyway!?, but then I try the new USB disk with windows made from windows, thorugh rEFIt, it sees the disk and then starts and then I get this ERROR:
    rEFIt - Booting Legacy OS
    Starting legacy loader
    Using load option ´USB´
    Error: Not found returned from legacy loader
    Error: Not found from LocateDevicePath
    (x 9 times)
    Error: Load Error while (re)opening our installation volume
    The firmware refused to boot from the selected volume. Note that external hard drives are not well-supported by Apple´s firmware for legacy OS booting
    (Hey Apple please send out a updated firmware that fix this issue?!)
    So how do I do it ? - or is the only option to fix the partition running the system from the extern disk. Format the whole drive in 2 from the "bottom" and install windows and then afterwards install Mac on the other partition ?  Or just run windows on the mac and forget about mac software ? What a stupid solution...

    There are strings in the pliist file to add other Macs so that you can use some USB-DVD drives.
    This is 5 page thread, so a little more 'meat' to it:
    https://discussions.apple.com/thread/3410900?start=60&tstart=0
    And on PC booting Windows from a USB DVD to do the install is usually a piece of cake, sometimes you just need to specify that USB in the BIOS boot order and sometimes select via F12 (or another Fkey) and that is it.
    What you have here seems to be everything and everyone is excluded unless there is a  mac-model device ID string that specifies yes.  An unnecessary hurdle.

  • How to stop the dock from showing all hidden images when hiding then showing applications

    How to stop the dock from showing all hidden images when hiding then showing applications

    It's not really something to snap a screen shot of. I believe it would need to be a video clip. For instance, when I am working on multiple images in Photoshop, I often need many images open at the same time, but I only have one image viewable and active. The hero image is active on screen while I hide the other images in the dock by hitting the yellow - button on the images. Then I "Hide" Photoshop to do something in the Finder. When I go back to Photoshop, every image that is hidden in the dock will pop open again in the active window, not just the image I was currently working on. I want these images to stay in the dock until I need them, no matter how many times I Hide the Show Photoshop.

  • How do I stop applications from coming up when I power up my computer. If this were a Windows system I would be able to take the app out of the start up folder. On the Mac I don't know how.

    How do I stop applications from coming up when I power up my computer. If this were a Windows system I would be able to take the app out of the start up folder. On the Mac I don't know how.

    The app (Excel) is in the dock. When I left click on it there is no check next to open at login.
    Lets go back to the beginning when I installed ms office both word and excel were in the dock. then one day excel dissapeared. I put it back in the dock and that is when it started opening during login. There is only one X showing in the dock.
    Maybe I have little gremlins.

  • How do i delete songs from my iphone when they don't show up in itunes? Swiping across the song on the iphone does not give me a delete button.

    How do i delete songs from my iphone when they don't show up in itunes? Swiping across the song on the iphone does not give me a delete button.

    Hello audreywisc,
    Songs can be removed from your iPhone by tapping 'Songs,' then swiping the song, then tapping Delete.
    Remove a song from iPhone. Tap Songs, swipe the song, then tap Delete. The song is deleted from iPhone, but not from your iTunes library on your Mac or PC, or from iCloud.
    iPhone User Guide - Playlists
    http://help.apple.com/iphone/8/
    Cheers,
    Allen

  • How do i delete songs from my iphone when they don't show up in itunes?

    How do i delete songs from my iphone when they don't show up in itunes?

    Hello audreywisc,
    Songs can be removed from your iPhone by tapping 'Songs,' then swiping the song, then tapping Delete.
    Remove a song from iPhone. Tap Songs, swipe the song, then tap Delete. The song is deleted from iPhone, but not from your iTunes library on your Mac or PC, or from iCloud.
    iPhone User Guide - Playlists
    http://help.apple.com/iphone/8/
    Cheers,
    Allen

  • How to cpoy a window from one smartform to another smartform

    Hi experts,
    can u please help me .
    how to copy one window from one smartform to another smartform..
    Thanks
    Sai

    Hi,
    we can copy the window from one smartform to other.
    first select the window what you want to copy then go to utilities-> download subtree.
    and save the xml file as local file.
    Go to another smartform  and select the page and upload the window by goto utilities->upload it will ask the file you have to give the name of the file what ever you saved earlier.
    Then you got the success message as window <win> copied to clipboard.
    then right click on the page choose paste. You will get the the window of another smartform.
    Regards,
    Jagadeesh.

  • How to prevent a file from stripping?

    I'm building vacation for Arch64 but should be the same for 32bit. PKGBUILD looks like this:
    # $Id: PKGBUILD,v 1.1 2004/01/21 15:43:15 dale Exp $
    # Maintainer: dale <[email protected]>
    pkgname=vacation
    pkgver=1.2.6.1
    pkgrel=1
    pkgdesc="an automatic mail-answering program"
    depends=(gdbm)
    url="http://www.tosn.org/projects/vacation/"
    source=(http://www.tosn.org/projects/vacation/files/$pkgname-$pkgver.tar.gz vacation.patch)
    build() {
    cd $startdir/src/$pkgname
    mkdir -p $startdir/pkg/usr/{bin,man/man1}
    # keeps binary from building
    rm -rf vacation
    # fixing the Makefile - not only for arch64
    sed -i -e 's: -m486::; s:CFLAGS.*= (.*):CFLAGS += 1:' $startdir/src/$pkgname/Makefile
    sed -i -e "s:/usr/bin:$startdir/pkg/usr/bin:g" $startdir/src/$pkgname/Makefile
    mv vacation.man vacation.1
    make install
    These file have been created:
    [andyrtr@workstation64 vacation]$ ls -lRA pkg/
    pkg/:
    insgesamt 0
    drwxr-xr-x 4 andyrtr users 96 2006-01-28 09:32 usr
    pkg/usr:
    insgesamt 0
    drwxr-xr-x 2 andyrtr users 96 2006-01-28 09:32 bin
    drwxr-xr-x 3 andyrtr users 72 2006-01-28 09:32 man
    pkg/usr/bin:
    insgesamt 24
    -rwxr-xr-x 1 andyrtr users 16864 2006-01-28 09:32 vacation
    -rw------- 1 andyrtr users 470 2006-01-28 09:32 vaclook
    pkg/usr/man:
    insgesamt 0
    drwxr-xr-x 2 andyrtr users 48 2006-01-28 09:32 man1
    pkg/usr/man/man1:
    insgesamt 0
    [andyrtr@workstation64 vacation]$
    I get this error:
    ==> Starting build()...
    gcc -march=x86-64 -O2 -pipe  -Wall  -Xlinker -warn-common -D_PATH_VACATION="/var/abs/extra/system/vacation/pkg/usr/bin/vacation" -o vacation vacation.c -lgdbm
    install -s -m 755 vacation /var/abs/extra/system/vacation/pkg/usr/bin/vacation
    install -s -m 755 vaclook /var/abs/extra/system/vacation/pkg/usr/bin/vaclook
    strip: /var/abs/extra/system/vacation/pkg/usr/bin/vaclook: File format not recognized
    install: strip fehlgeschlagen
    make: *** [install] Fehler 1
    ==> ERROR: Build Failed.  Aborting...
    Krusader detects it as a Perl program. Any idea?
    AndyRTR

    Posted: Sat Jan 28, 2006 8:45 am    Post subject: How to prevent a file from stripping?
    I'm building vacation for Arch64 but should be the same for 32bit. PKGBUILD looks like this:
    Code:
    # $Id: PKGBUILD,v 1.1 2004/01/21 15:43:15 dale Exp $
    # Maintainer: dale <[email protected]>
    pkgname=vacation
    pkgver=1.2.6.1
    pkgrel=1
    pkgdesc="an automatic mail-answering program"
    depends=(gdbm)
    url="http://www.tosn.org/projects/vacation/"
    source=(http://www.tosn.org/projects/vacation/files/$pkgname-$pkgver.tar.gz vacation.patch)
    build() {
       cd $startdir/src/$pkgname
            mkdir -p $startdir/pkg/usr/{bin,man/man1}
            # keeps binary from building
            rm -rf vacation
       # fixing the Makefile - not only for arch64
       sed -i -e 's: -m486::; s:CFLAGS.*= (.*):CFLAGS += 1:' $startdir/src/$pkgname/Makefile
       sed -i -e "s:/usr/bin:$startdir/pkg/usr/bin:g" $startdir/src/$pkgname/Makefile
       mv vacation.man vacation.1
       make install
    These file have been created:
    Code:
    [andyrtr@workstation64 vacation]$ ls -lRA pkg/
    pkg/:
    insgesamt 0
    drwxr-xr-x  4 andyrtr users 96 2006-01-28 09:32 usr
    pkg/usr:
    insgesamt 0
    drwxr-xr-x  2 andyrtr users 96 2006-01-28 09:32 bin
    drwxr-xr-x  3 andyrtr users 72 2006-01-28 09:32 man
    pkg/usr/bin:
    insgesamt 24
    -rwxr-xr-x  1 andyrtr users 16864 2006-01-28 09:32 vacation
    -rw-------  1 andyrtr users   470 2006-01-28 09:32 vaclook
    pkg/usr/man:
    insgesamt 0
    drwxr-xr-x  2 andyrtr users 48 2006-01-28 09:32 man1
    pkg/usr/man/man1:
    insgesamt 0
    [andyrtr@workstation64 vacation]$
    I get this error:
    ==> Starting build()...
    gcc -march=x86-64 -O2 -pipe -Wall -Xlinker -warn-common -D_PATH_VACATION="/var/abs/extra/system/vacation/pkg/usr/bin/vacation" -o vacation vacation.c -lgdbm
    install -s -m 755 vacation /var/abs/extra/system/vacation/pkg/usr/bin/vacation
    install -s -m 755 vaclook /var/abs/extra/system/vacation/pkg/usr/bin/vaclook
    strip: /var/abs/extra/system/vacation/pkg/usr/bin/vaclook: File format not recognized
    install: strip fehlgeschlagen
    make: *** [install] Fehler 1
    ==> ERROR: Build Failed. Aborting...
    Looks like its tring to install to /var/abs/extra/system/vacation/pkg/usr/bin....... ????
    try make DESTDIR=$startdir/pkg/usr install

Maybe you are looking for

  • JAXB marshaling and unmarshaling

    I used JAXB to generate nine classes (one is simply a type-safe enum) to correspond to my XML DTD. I then wrote the code to instantiate the root and some child elements which are all added to the root content. Then I am able to call validate() and ma

  • Media Sync doesn't offer option to sync Camera Photos.

    I was trying to setup Link to sync my camera photos back to my desktop via wifi.  When I get in range the mapped drives of my Z10 appear as Y: and Z:.  My camera photos are then accessible via Y:\camera (which is TOO COOL by the way). But, when I go

  • XML and Flash

    I recently got interested in flash and dove right into with a flash template. I have been editing it having some success, but now I am having problems. I'm trying to use a simple photo gallery and the template didn't come with a caption for the pictu

  • Connect to COM(OBJECTS/METHODS) FROM ABAP

    Dear all. How can I connect to COM objects/methods from abap? Could give me link to example.

  • Exporting a .mov below 25MB for email? With some quality?

    Is there anyway to set the size limit of an exported quicktime movie? I need it to be 25MB or below but still have some quality to it. And if there is can you please walk me threw it? Again, thank you.