Is there a terminal command that will close quicktime player once a video is finished?

I'm running a python program that uses subprocess.call(['open', '-a', "Quicktime Player", filename]) to open a video and defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1 starts it automatically. I'm wondering if there's a terminal way or a python way to close the video once it's finished.

Hi, Thanks for the reply, I appreciate it.
What do you mean by "pick up"?
I mean to show what the DNS numbers are that the router is using.
They are not entered in the DNS server field in Networks, TCP/IP tab.
If you mean refresh the client settings, the DNS settings are obtained as part of the DHCP lease (or PPP connection in the case of PPP).
The user/ OP is actually using PPPoA, when i googled PPPoA.. seems he is using Cisco perhaps.
http://en.wikipedia.org/wiki/Point-to-PointProtocol_overATM (Asynchronous Transfer Mode)
"PPPOA or PPPoA, Point-to-Point Protocol (PPP) over ATM, is a network protocol for encapsulating PPP frames in ATM AAL5. It is used mainly with cable modem, DSL and ADSL services.
It offers standard PPP features such as authentication, encryption, and compression. If it is used as the connection encapsulation method on an ATM based network it can reduce overhead slightly (around 0.58%) in comparison to PPPoE".
Essentially the original poster removed the OpenDNS #s from his DNS server field in the TCP/IP tab (b/c they seem to make Adobe.com inaccessible to him)
removing them & allowing his router to "pick them up from the ISP" seems to solved his problem.
However he can not, find what the numbers are that are being utilized,
b/c they are not entered as usual in the Network, & part of the DHCP lease,
or in Airport admin Utility.
I/ we wondered, if there was a Terminal command that will show what the
numbers are that are being used .
Does that help clarify what I mean? Sorry to be so long winded.
Eme '~[ )♥♪

Similar Messages

  • Is there a Terminal command that will pick up DNS numbers?

    Hello all,
    Is there a Terminal command that will pick up the DNS numbers utilized by a router?
    The router options don't show any, though the router is set to use PPPoA to pick them up.
    I kindly TIA,
    Eme '~[ )♥♪

    Hi, Thanks for the reply, I appreciate it.
    What do you mean by "pick up"?
    I mean to show what the DNS numbers are that the router is using.
    They are not entered in the DNS server field in Networks, TCP/IP tab.
    If you mean refresh the client settings, the DNS settings are obtained as part of the DHCP lease (or PPP connection in the case of PPP).
    The user/ OP is actually using PPPoA, when i googled PPPoA.. seems he is using Cisco perhaps.
    http://en.wikipedia.org/wiki/Point-to-PointProtocol_overATM (Asynchronous Transfer Mode)
    "PPPOA or PPPoA, Point-to-Point Protocol (PPP) over ATM, is a network protocol for encapsulating PPP frames in ATM AAL5. It is used mainly with cable modem, DSL and ADSL services.
    It offers standard PPP features such as authentication, encryption, and compression. If it is used as the connection encapsulation method on an ATM based network it can reduce overhead slightly (around 0.58%) in comparison to PPPoE".
    Essentially the original poster removed the OpenDNS #s from his DNS server field in the TCP/IP tab (b/c they seem to make Adobe.com inaccessible to him)
    removing them & allowing his router to "pick them up from the ISP" seems to solved his problem.
    However he can not, find what the numbers are that are being utilized,
    b/c they are not entered as usual in the Network, & part of the DHCP lease,
    or in Airport admin Utility.
    I/ we wondered, if there was a Terminal command that will show what the
    numbers are that are being used .
    Does that help clarify what I mean? Sorry to be so long winded.
    Eme '~[ )♥♪

  • Is there any Terminal Command that will test how my RAM is running?

    Does anyone know how I can test my RAM efficiency? Because i just upgraded my MacBook Pro 13 inch (Mid 2009) from 4GB of RAM to 8GB of RAM and I'm not really telling any difference..

    Without knowing what you do, what software is running concurrently, I can't say. But here's some things that may help you. They are a little technical:
    About OS X Memory Management and Usage
    Using Activity Monitor to read System Memory & determine how much RAM is used
    Memory Management in Mac OS X
    Performance Guidelines- Memory Management in Mac OS X
    A detailed look at memory usage in OS X
    Understanding top output in the Terminal
    The amount of available RAM for applications is the sum of Free RAM and Inactive RAM. This will change as applications are opened and closed or change from active to inactive status. The Swap figure represents an estimate of the total amount of swap space required for VM if used, but does not necessarily indicate the actual size of the existing swap file. If you are really in need of more RAM that would be indicated by how frequently the system uses VM. If you open the Terminal and run the top command at the prompt you will find information reported on Pageins () and Pageouts (). Pageouts () is the important figure. If the value in the parentheses is 0 (zero) then OS X is not making instantaneous use of VM which means you have adequate physical RAM for the system with the applications you have loaded. If the figure in parentheses is running positive and your hard drive is constantly being used (thrashing) then you need more physical RAM.

  • Terminal command that will let me access old username files...

    ... including files saved by timemachine?  I've had a lot of computer problems, first wiped the drive.  It was a chore getting old folders like "desktop" and "downloads" to open for me with my new username and for some reason I wasn't permitted by the system to use the OLD username.  I had to go to every folder and every item in every folder and reset permissions.
    Now, it seems, I need a new drive.  Which means I have to do all those things AGAIN!  Plus re-install software.
    Is there a terminal command that will let me access old timemachine drives (plural) with (unfortunately) multiple usernames?
    Please don't lecture me!  I know I've been hopelessly stupid and inefficient.  I promise to do better.  At least I DID back up.

    what you type is
    man sudo
    I presented an example, which when executed will run as "username" and display the contents of their home directory - the meaning of "ls ~username"
    I suspect that this is going over your head.
    double-click Applications -> Utilities -> Terminal
    type and hit enter
    /bin/csh
    This command starts the C-Shell command line interpreter. The ~ (tilde) character is translated by the C-Shell as the users home directory. For example, "ls ~" will display the contents of my home directory (folder) which is /Users/disguise
    You man want to read up on C-Shell and UNIX commands.

  • HT3775 Dear Apple, i took 4 videos from my friend's windows 8 pc but all of them shown a error that To see if additional software is available that will enable QuickTime Player to open the movie, click Tell Me More." what should i do now? please help me A

    Dear Apple, i took 4 videos from my friend's windows 8 pc but all of them shown a error that To see if additional software is available that will enable QuickTime Player to open the movie, click Tell Me More." what should i do now? please help me Apple

    If the videos are .wmv files, VLC from VideoLAN will play them and pretty much any other media format.
    BTW, we are not Apple; we're just users like yourself.

  • HT204382 to see if additional software is available that will enable QuickTime Player to open the movie

    to see if additional software is available that will enable QuickTime Player to open the movie

    Generally, this requires installing Perian, or the free version of Flip4Mac if the movie is an unprotected WMV file, or using VLC. Some formats, such as protected WMV files, can't be played in Mac OS X.
    (84461)

  • HT204382 a .flv document could not be opened. The movies file format isn't recognised. Is there additional software available that will enable quicktime to open the movie

    I wanted to view a document with a .flv extention (0.1. Launchpad.flv) on my mac book pro. The following message came up
    The document "o.1. Launchpad.flv " could not be opened.
    The movie's file format could not be recognised
    Is there some  additional software is available that will enable quicktime to open the movie?

    I'd get VLC & try that, although Perian may still work to play within quicktime, but it's no longer being developed.

  • Is there a terminal command that shows the size of the VM swapfile?

    Something like the "uptime" command?

    Something like the "uptime" command?
    How about
    ls -l /var/vm/swap*
    ? Works for me.

  • Eject DVD? is there a terminal command?

    i get into situations where the DVD doesnt show on the desktop and it doesnt show up in finder nor will the eject key work etc.
    I can reboot but i dont want to stop everthing else i am doing.
    Is there a terminal command that will overide and get it to eject?

    Try using:
    drutil eject
    (20659)

  • Is there a Terminal command to eject disk?

    My MBP wont start up and I used my friends install disk to try and reboot it, bnut it would not work and I cannot eject the disk.
    Is there a Terminal command that will eject the disk.
    MY MBP won't boot so it os booting from teh Install disks.

    In researching this I discovered that you can put a permanent eject button on the top menu bar as follows:
    go to System->Library->Core Services->Menu Extras
    There you will find a veritable treasure-trove of extras, one of which is the eject.menu.
    Double-click on the item to install it on the top menu bar.
    Extra bonus:
    There are many other items in the Menu Extras folder that you can install on the menu bar the same way.
    To remove a menu bar item, hold down the Command key and drag the menu item onto the desktop. You will get a "poof" as it disappears. Only the link is "poofed" not the actual item.

  • Is there sort of SQL command that will make a sum

    Is there sort of SQL command that will make a sum of some of the data in one column provided that the data in other columns are the same -- for example, all of the sales from one month added up?

    user532580 wrote:
    Is there sort of SQL command that will make a sum of some of the data in one column provided that the data in other columns are the same -- for example, all of the sales from one month added up?use SUM() function
    post CREATE TABLE & INSERT statements so we have some sample to show actual solution

  • Command quit will close the iTunes window but won't quit the iTunes app

    iTunes 12.1.0.50
    Command quit will close the iTunes library window... but won't quit the iTunes app properly.
    The iTunes icon in the dock still says the app is live... click the icon in the dock and the library window pops up again.
    On the second try the app will always close properly.

    I had the same problem: after updating to iTunes 9.1 (no errors) I just couldn't launch it. In Task Manager I saw that the iTunes process was running but it never really opened.
    After nights of frustration of scanning the net for solutions I finally managed to get iTunes to run again.
    1) Firstly I deleted the new iTunes 9.1 and all programmes associated with it according to the directions given here: http://support.apple.com/kb/ht1923
    It also mentions you should remove the Bonjour service but I could never make that work (no privileges or something like that).
    2) After that I reinstalled a previous version of iTunes. In this case 9.0.3.15. I got the download here: http://www.oldapps.com/itunes.php
    3) Then I disabled the Bonjour service with the MSCONFIG method mentioned at http://support.apple.com/kb/HT2292?viewlocale=en_US
    There they state that you should check which service clashes with Windows by trying to disable one service at a time. I found out pretty quickly that it was just the Bonjour service that caused the problems. All other services could run normally.
    After the reboot iTunes finally started up again and I was able to restore my library.
    Only thing is that I can not use the Remote App on my iPod Touch. That apparently required the use of Bonjour.
    I hope this method helps for some of you!
    Cheers,
    Bart

  • HT4759 I want to use icloud mail on both iPhone 4s AND my pc. icloud mail on PC is mega glitchy and frustrating because my PC is ancient, I run XP, & these DO NOT MEET req's for iCloud.  Is there a email platform that will run well on both XP and iPhone?

    I NEED to use icloud mail on both iPhone 4s AND my PC. I need to use both. 
    Trying to use icloud mail on PC is mega glitchy (STOP SCRIPT WARNINGS EVERY FEW MINUTES) and frustrating because:
      1.  my PC is ancient (but nicely refurbished/fast)
      2.  I run XP  (with both Firefox and Chrome- newest versions)
      3.  thusly, I DO NOT MEET SYSTEM REQUIREMENTS for iCloud.
    In my passed attempts I found that
    1. Yahoo doesn't work well on iPhone
    2. Gmail doesnt work well on iPhone.
    I must be missing something... an app or... maybe a donated/ NEW FREE MAC!  (That would be sweet!  Ha.)
    Is there an email platform that will run well on both XP and iPhone?
    or... Please say it isn't true: I would love a Mac tablet or desktop. We have no money for a mac. SOL?   Is this iCloud apple tech only for wealthy middle class and above who can afford to have the newest and best of everything? 

    @Naiks, having suffered through unsuccessful synching attempts for Calendar and Contacts myself, l would suggest you try the following:
    UNINSTALL iCloud control panel from your PC. Seems silly, but do it.
    Go into Outlook, and look at the very top menu. Click FILE, then ACCOUNT SETTINGS, then click the popup box.
    You will see a list of all your email accounts. Make sure that ONE of them has a checkmark against it. If not, select the account your want as your default, and click "set as default.
    Exit out of Outlook and reboot your machine.
    Now reinstall iCloud, check CALENDAR and CONTACTS, and do as instructed when prompted.
    Reboot for good luck and now launch OUTLOOK. All that remains is to locate your iCloud Contacts and Calendar files, and make them your default.
    IMPORTANT: Don't panic if you can't find your contacts -- they're there. Click CONTACTS and you'll see you have several available contact files. Locate the one label "iCloud" in grey type. Right-click on it, select PROPERTIES, then click the Outlook Address Book tab. Check the box that says something like "Make this my default Outlook Address Book." Keep clicking "apply" and "okay" until you've exited out of the dialog box maze.
    You may have to do something similar with your Calendar files. I dd not, but if you need to, do it.
    Everything should now sync pretty seamlessly.
    I didn't have the exact same problem as you, but my dilemma was close enough. Good luck!
    Arthur P. Johnson

  • Is there a terminal command-...

    Is there a terminal command to dump the trash that is not only in the trash but also on a external hard drive?

    worksafe wrote:
    I have a old Backups.backupdb on the external drive that I want to get rid of.
    Is there anything else on the drive?  If not, just erase it with Disk Utility.
    If there is (not a good idea) see #E6 in Time Machine - Troubleshooting.

  • Is there a terminal command to disable the "Boing' sound ?

    Hello, Everyone
    I was wondering if any one knows if there is a terminal command that can
    be used to disable the "boing" sound that folders and files make (in Tiger)
    as they are being moved about the desktop and or into finder windows.
    A couple of people have looked in the System preferences,usual areas but
    can not locate the file for this "Boing" sound. If any one knows I would love
    the answer. TIA for reading this & any help.; )
    Regards , Eme
     Power PC G4 (3.3) ♥ iMac Flat Panel 10.3.9 ] 15 Alum.PowerBook Tiger   Mac OS X (10.4.6)   AEBS & iMac Intel Core Duo 2gb
    Message was edited by: Eme~

    Mine doesn't make a sound when I do this.
    I presume you have unchecked the "Play user interfacesound effects" > in System Preferences> Sound. The other OP wants to disable only the infamous boing. I found both the files you wrote of. Thank you very much !
    I just needed to summarize this & then undoing if so desired.
    Bill, please what would the command be for undoing this action ?
    Launch Terminal and type this: sudo gzip
    enter ~~
    password prompt,
    then this : /System/Library/PrivateFrameworks/ScreenReader.framework/Versions/A/Resources/S ounds/SpringForward.aiff
    Is this correct ?
    Thanks so very, very much for your expertise, patience and sharing it with me.~ Eme
     Power PC G4 (3.3) ♥ iMac Flat Panel 10.3.9 ] 15 Alum.PowerBook Tiger   Mac OS X (10.4.6)   AEBS & iMac Intel Core Duo 2gb

Maybe you are looking for

  • Creation of new field in RFX screen and populating item details

    Hi Experts, I have to create a new button in "Create RFX " screen where it should procure the shopping cart details and it should populate in table in RFX screen. Shopping cart number should be entered in this screen. Set up for this input field is a

  • Crystal report export to MAPI does not work in Windows 7

    I am using CR11 R2 SP4 in Windows 7. I tried to export a report to MAPI and got error: Error 2147500037 returned by function <MAPIResolveName> Any one see this error before?

  • Can't get Speech.X32 to access SAPI 5.4 on a 64-bit Windows 7 machine.

    I can't seem to get the Speech.X32 to work in a Director 10.1 projector or in Shockwave on a 64-bit Windows 7 machine. It works fine on XP and Windows 7 32 bit, but not on Windows 7 64 bit. I placed the following script in first frame of movie. On al

  • How to create a module for File Adapter

    Hi, I read somethings about module in Adapters. What I need to create a EJB? I need to generate a jar? Where I put it? Do they have anything about this or a step by step? I want to create a module fpr File Adapter Tks.

  • Using regular expressions for validation in i18n

    Can we use regular expressions for validation of inputs in a java application taking care of i18N aspects too. Zip code for different locales are different. Can we use regular expressions to validate zipcode inputs from different locales