How do I get my boot applescript to quit once it has finished?

I have a script set up to boot Google Chrome on Login in fullscreen mode in Mountain Lion
The problem is that the script is left in my dock and it needs to force quitted to exit.
The script seems fairly simple but I'm not sure how to get the .app script to close once its finished doing its business!
The script I am using is pasted below:
do shell script "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --kiosk"
Thanks!

your script is waiting for a response from Chrome.  you should release the command as a separate process like so:
do shell script "/Applications/Google\\ Chrome.app/Contents/MacOS/Google\\ Chrome --kiosk &> /dev/null &"

Similar Messages

  • How can I get my Boot Camp partition off my old drive?

    I swapped out the stock 160gb drive that came in my MacBook Pro since it was acting up. I installed a new drive and restored it with Time Machine, but now my Boot Camp partition is still on my old drive. I slipped my old drive into a usb sata enclosure and tried booting from it in hope I could back it up with Winclone. When I went into the startup disk selector the drive would not show up (but it sounded like it was trying to spin up). Earlier when I pulled the drive out of my MacBook Pro it was still functioning fine, so I do not think the drive has failed.
    Any ideas on how I can get the Boot Camp partition off the old drive? Thanks for your help.
    -Ryan

    Some drives require more current to spin-up from a "cold start" than most USB ports put out, even if the port supplies. Additionally, if the drive is failing, it may require even more power for the startup.
    I have a couple USB enclosures with external AC power that I keep around in case I run into drives like this. Failing that, I also have a couple of USB cables which use 2 ports to provide additional current. Also the cable length, and gauge makes a difference.

  • How can I get a boot-disk for a Compaq P2500 laptop Windows XP Home Edition?

    I'm already in another forum with a eerily similar question, but that's for the HP Media Center Pavilion m8000e desktop system (Windows Vista Home Premium) I was just given; I've ordered a new hard drive for that. I assume the directions to create a boot disk with the *.iso file (using Imgburn) is going to work; I have the 25-digit code for that.
    This question here now is for my wife's older Compaq P2500 2596US laptop running Windows XP Home Edition. This too needs a new hard drive, but I also am missing the boot disc for this; I do have the 25-digit product code.
    How can I get a boot disk for this laptop? I tried the Ubuntu method outlined in a few posts; geez, what a headache ... never could get it managed. Does HP not make any boot disks available? Microsoft told me to check with HP.
    I can furnish the product code; model #; serial# ... gee, maybe the oroginal receipt is even laying around somewhere ...
    I need a boot disk to get the new hard drive up on board (if I end up ordering that).
    Thanks for any help!
    Michael

    Hi 
    Please find the link given below might be helpful for your.
    http://www.computersurgeons.com/productdetails.aspx?ID=4219
    Let us know how it goes!
    "I work for HP."
    ****Click the (purple thumbs up icon in the lower right corner of a post) to say thanks****
    ****Please mark Accept As Solution if it solves your problem****
    Regards
    Manjunath

  • I'v got the latest macbook pro 13" and it dose not come with the lion os disk so how do i get the boot camp drivers for windows 7 without an os disk

    i'v got the latest macbook pro 13" and it dose not come with the lion os disk so how do i get the boot camp drivers for windows 7 without an os disk

    Page 5, step 2, #2, 2nd bullet.
    http://manuals.info.apple.com/en/Boot_Camp_Install-Setup_10.7.pdf

  • How do i get back my stateful session bean after it has been passivated

    hi ,
    How do i get back my stateful session bean after it has been passivated by container.
    i'm confused that is it possible or not .......give me answer
    i've one stateful sessionbean which i'm accessing throgh my normal java client . now what i'm doing is when i first time call a method it is running ......then i'm shutting down the server jboss .......it is calling my ejbPassivate() method ... at this particular time client program doesn't do anything.....
    now after i restart my server i'm again calling back that business method with that last object reference.......it gives me the exception given below.....
    java.rmi.NoSuchObjectException: no such object in table
    java.rmi.NoSuchObjectException: no such object in table
         at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source)
         at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source)
         at sun.rmi.server.UnicastRef.invoke(Unknown Source)
         at org.jboss.invocation.jrmp.server.JRMPInvoker_Stub.invoke(Unknown Source)
         at org.jboss.invocation.jrmp.interfaces.JRMPInvokerProxy.invoke(JRMPInvokerProxy.java:118)
         at org.jboss.invocation.InvokerInterceptor.invokeInvoker(InvokerInterceptor.java:227)
         at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:167)
         at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
         at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
         at org.jboss.proxy.ejb.StatefulSessionInterceptor.invoke(StatefulSessionInterceptor.java:106)
         at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86)
         at $Proxy1.makeNewAcc(Unknown Source)
         at client.GanJavaClient.main(GanJavaClient.java:46)so pls tell me that is it possible to get back that session besn or not

    Stateful session beans are not persisted across restart of the EJB server instance(s) hosting them. You can't treat a Session bean as one would an entity bean.
    Chuck

  • How can I get an inserted  video (FLV) in Presenter 7 to stay on the screen once it has finished pla

    How can I get an inserted  video (FLV) in Presenter 7 to stay on the screen once it has finished playing? Right now it disappears once it is done. I'd like it to remain on the screen, or loop if possible, until the user manually moves the presentation forward.

    Hi,
    You may set the slide setting as 'Advance by user'.
    So,
    a. Insert flv on a slide.
    b. On presenter ribbon goto Slide Manager .
    c. Select the slide on which flv is inserted and set Advance by user 'Yes'
    Hope this solves your purpose.
    Thanks,
    Alpi

  • How do I get iCloud to work with my mac that has snow lepard and is pre intel?

    How do I get iCloud to work with my mac that has snow lepard and is pre intel?

    Richard Kerns wrote:
    And it kills me that a friend who has pc computers and just has an iphone and ipad can breeze through all this with no problem and he still has XP.  So Apple goes back and helps old OS for pc but not for it's own kind!!!
    Richard, I agree with you 1,000%. I wrote this in a forum a few weeks ago, when a user was complaining about Snow Leopard not supporting iCloud:
    Why is it that if I bought a Mac before July of this year, I must pay to upgrade my operating system in order to take advantage of iCloud? Meanwhile, a Windows Vista SP2 user, who bought a new computer in May 2009, already has everything they need on their computer to use iCloud.
    Why was it possible for Apple to write a free iCloud Control Panel that was compatible with existing versions of Windows, but Mac users must buy an entirely new operating system?
    If Apple gave Mac users the same amount of backwards compatibility that it gives to Windows users, people with OSX 10.5 (Leopard) would be able to use iCloud. That's something to think about the next time you go to purchase a new computer.
    (P.S. Something else to think about: If you bought a Mac before October 2007 (when OSX 10.5 was introduced), your computer won't run iTunes 10.5 unless you buy an upgrade. But a PC user, who purchased their computer as long ago as Sept. 2004(!), can run iTunes without an OS upgrade.)
    I got so angry thinking about this, that I ended up writing an angry note to Apple on their feedback page. After repeating what I just wrote here, I asked them to commit to providing at least the same level of support to Mac users that they do for PC users when it comes to their cross platform products (iPhone, iPad, iCloud, Apple TV, Safari, iTunes, etc.) And, really, is that so much to ask?
    I wish I knew how to start a petition requesting that Mac users get comparable treatment as PC users. But then again, shouldn't that go without saying?
    Please leave feedback about this revolting double standard on the Apple feedback page. They should be thinking long and hard about why their own customers are treated worse than the customers of their competition.

  • How do I get confirmation that an email I've sent has been received by the recipient?

    How do I get confirmation that an email I've sent has been received? I am using OS X 10.7.5.

    Not sure if this will work with your release of Mac OS X and Mail but some Google search for "Mac OS X Return Receipts" turned up this:
    <http://email.about.com/od/macosxmailtips/qt/et_request_recp.htm>

  • How can i get ride od duplicates as all my mac has sinced so i have thousends of photos

    how can i get ride od duplicates as all my mac has sinced so i have thousends of photos

    Katrina...
    Try the links posted by Old Toad here >  https://discussions.apple.com/thread/3122008

  • How can I get clip art on Pages like MS Word has?

    How can I get clip art on Pages like MS Word has?

    Pages will use any old graphics, of which there are bucket loads on the internet.
    You just drag, paste or import it or bring it in via the Media Browser:
    Menu > View > Show Media Browser
    If you want WordArt then you will need to create that in another program and bring it in.
    Peter

  • How do you reassign a device to Mac OS once it has been assigned to the Windows OS using Parallels?

    How do you reassign a device to Mac OS once it has been assigned to the Windows OS using Parallels?  I've tried ejecting device and plugging in again.  I've tried restarting Mac and shutting down Mac completely, but never get the device window to pop up to select the Mac for the device.

    See:
    http://download.parallels.com/desktop/v5/docs/en/Parallels_Desktop_Users_Guide/2 6819.htm
    That is one topic from the guide, not the whole guide

  • How do i get my boot camp windows7 internetconnection to work with usbadapter

    How do I get my internetconnection via usbadapter (twisted pair TP) to work on my Boot Camp windows7. I run OS LION. WiFi works good on both windows and Lion. On Lion does it also work good with the USBadaper to TP connection. I have the latest Brodacom driver installed on Windows7.

    I do not know the answer myself, but I bet if you post in the boot camp forum, someone will be able to help you in a more timely manner.  https://discussions.apple.com/community/windows_software/boot_camp.  Good luck.

  • How can I get itunes to play one album from start to finish, especially when there are different artists on it?

    How can I get itunes just to play albums from beginning to end? Often if an artist has a guest artist, or there are 'various artists' on the album, it stores them all separately, so listening from beginning to end becomes not one click away, but a multitude of clicks away just to make a play list which returns the album to its original state. Why can't Apple do this as a default?

    If your music is sorted by "Albums", even a compilation is a single click.
    'various artists' on the album, it stores them all separately,
    That happens when you sort your music by "Artist".

  • After opening Firefox & getting my info, I go into another application but am unable to open Firefox without Quitting it first. I have the latest update of Firefox. How can I get back into firefox without quitting Firefox?

    After opening Firefox, I was always able to in & out of it till I shut down my computer. Now, after opening Firefox, I go to another application then back to Firefox, I have to "Quit" Firefox and reopen. How can eliminate the back & forth of starting & quitting Firefox before I shutdown my computer?

    uninstalled firefox ....deleted all files still remaining under mozilla firefox directory in program files ... to avoid having to reprogram all my settings, reisntall all addons as well .. I did not remove anything from mozilla firefox that is stored in either appdata or under the windows users directory (if any)
    ... the as suggested reinstalled the latest version of the firefox browser using the link you provided in the email ..; tested and several issues still remain present and unresolved ....
    so please this is urgent or I will have to jump browsers and start using chrome .. because we work 14 hours a day 6 (sometimes 7) days a week, to get ready for the launch of our newest venture and we cannot lose that much days on browser related issues ... so please instead of putting me through week long step process .. of do this .. do that .. can you please actually look into the issue from your end .. I use firefox for so many, many years thta I deserve this kind of support .. thnx Robert

  • How do i get this hp eprint to quit comimg up on my desk top when i go to print?

    I JUST INSTALLED NEW INK CARTRIDGE IN MY PRINTER WHICH IS A HP OFFICEJET4635, AND NOW I KEEP RECEIVING THIS MESSAGE ABOUT HP EPRINT ON MY DESK TOP AND IS STOPPING ME FROM PRINTING ANYTHING. HOW DO I GET RID OF THIS SCREEN?

    Hello Trish3,
    Welcome to the HP Support forums.  I understand that after replacing an ink cartridge in your Officejet 4635  you are getting a pop-up message about HP ePrint.
    Would you please post a screen shot of the error that you are receiving?  I have included a link to the "How to take and post a screenshot on HP Support Forum". 
    That will help me in ensuring you get the correct answer for your issue.
    Regards,
    Happytohelp01
    Please click on the Thumbs Up on the right to say “Thanks” for helping!
    Please click “Accept as Solution ” on the post that solves your issue to help others find the solution.
    I work on behalf of HP

Maybe you are looking for