Is it possible to get my Mac to automatically eject all of my HD's before shutting off?

I have about five HD's plugged into my mac at all times with my iTunes library and pictures saved on to them. I want to know if there is away to get all of the programmes to quit and then for all my HD's to be ejected before the computer turns off.
The reason i ask is because when my computer was switched off my HD's remained on, and recently the one with all my pictures and music just went crazy, deleted everything and decided that self-harm was the way forward and pretty much commited suicide in about 5 minutes. i believe that it was because of the constant use of my iTunes library and the fact it never seemed to turn off.
Any help will be much appreciated!

Write an Automator action for this. Very basic:
Add the disks you want to eject to the list of the first step. The second step will eject them all. It took between 6 and 7 seconds to complete for the 3 items in the list I used to test the script.

Similar Messages

  • Is it possible to get a mac virus?

    Hey,
    I was using a pc and I decided to get a mac, because you can do lots of creative work with it and I was sick of viruses. I was able to clean my pc up after I had a virus and I know how to reprogram it. And I still don't know why I always had a computer virus, because I had a fire wall/anti virus programs and surfed on safe intenet sites.
    Now, after buying a mac book I never feel safe, because I was used to have computer viruses
    Is it possible to get one on my mac?
    (I never download any suspicious stuff from the internet ex.:songs, videos etc I only use my mac for my writing at university, editing pictures and making music)
    Thank you

    1. This comment applies to malicious software ("malware") that's installed unwittingly by the victim of a network attack. It does not apply to software, such as keystroke loggers, that may be installed deliberately by an intruder who has hands-on access to the victim's computer. That threat is in a different category, and there's no easy way to defend against it. If you have reason to suspect that you're the target of such an attack, you need expert help.
    2. All versions of OS X since 10.6.7 have been able to detect known Mac malware in downloaded files, and to block insecure web plugins. This feature is transparent to the user, but internally Apple calls it "XProtect." The malware recognition database is automatically checked for updates once a day; however, you shouldn't rely on it, because the attackers are always at least a day ahead of the defenders.
    The following caveats apply to XProtect:
    It can be bypassed by some third-party networking software, such as BitTorrent clients and Java applets (see below.)
    It only applies to software downloaded from the network. Software installed from a CD or other media is not checked.
    3. Starting with OS X 10.7.5, there has been another layer of built-in malware protection, designated "Gatekeeper" by Apple. By default, applications and Installer packages downloaded from the network will only run if they're digitally signed by a developer with a certificate issued by Apple. Software certified in this way hasn't actually been tested by Apple (unless it comes from the Mac App Store), but you can be reasonably sure that it hasn't been modified by anyone other than the developer. His identity is known to Apple, so he could be held legally responsible if he distributed malware. For most practical purposes, applications recognized by Gatekeeper as signed can be considered safe.
    Gatekeeper doesn't depend on a database of known malware. It has, however, the same limitations as XProtect, and in addition the following:
    It can easily be disabled or overridden by the user.
    A malware attacker could get control of a code-signing certificate under false pretenses, or could find some other way to evade Apple's controls.
    For more information about Gatekeeper, see this Apple Support article.
    4. Beyond XProtect and Gatekeeper, there’s no benefit, in most cases, from any other automated protection against malware. The first and best line of defense is always your own intelligence. All known malware circulating on the Internet that affects a fully-updated installation of OS X 10.6 or later takes the form of so-called "trojan horses," which can only have an effect if the victim is duped into running them. The threat therefore amounts to a battle of wits between you and the malware attacker. If you're smarter than he thinks you are, you'll win.
    That means, in practice, that you never use software that comes from an untrustworthy source. How do you know whether a source is trustworthy?
    Any website that prompts you to install a “codec,” “plug-in,” "player," "extractor," or “certificate” that comes from that same site, or an unknown one, is untrustworthy.
    A web operator who tells you that you have a “virus,” or that anything else is wrong with your computer, or that you have won a prize in a contest you never entered, is trying to commit a crime with you as the victim. (Some reputable websites did legitimately warn visitors who were infected with the "DNSChanger" malware. That exception to this rule no longer applies.)
    Pirated copies or "cracks" of commercial software, no matter where they come from, are unsafe.
    Software of any kind downloaded from a BitTorrent or from a Usenet binary newsgroup is unsafe.
    Software with a corporate brand, such as Adobe Flash Player, must be downloaded directly from the developer’s website. If it comes from any other source, it's unsafe.
    5. Java on the Web (not to be confused with JavaScript, to which it's not related, despite the similarity of the names) is a weak point in the security of any system. Java is, among other things, a platform for running complex applications in a web page, on the client. That was never a good idea, and Java's developers have had a lot of trouble implementing it without also creating a portal for malware to enter. Past Java exploits are the closest thing there has ever been to a Windows-style "virus" affecting OS X. Merely loading a page with malicious Java content could be harmful. Fortunately, Java on the Web is mostly extinct. Only a few outmoded sites still use it. Try to hasten the process of extinction by avoiding those sites, if you have a choice.
    Java is not included in OS X 10.7 and later. Discrete Java installers are distributed by Apple and by Oracle (the developer of Java.) Don't use either one unless you need it. Most people don't. If Java is installed, disable it — not JavaScript — in your browsers. In Safari, this is done by unchecking the box marked Enable Java in the Security tab of the preferences dialog.
    Regardless of version, experience has shown that Java on the Web can't be trusted. If you must use a Java applet for a specific task, enable Java only when needed for the task and disable it immediately when done. Close all other browser windows and tabs, and don't visit any other sites while Java is active. Never enable Java on a public web page that carries third-party advertising. Use it only on well-known, password-protected, secure websites without ads. In Safari 6 or later, you'll see a lock icon in the address bar with the abbreviation "https" when visiting a secure site.
    Follow these guidelines, and you’ll be practically as safe from malware as you can be.
    6. Never install any commercial "anti-virus" or "Internet security" products for the Mac, as they all do more harm than good, if they do any good at all. If you need to be able to detect Windows malware in your files, use the free software ClamXav — nothing else.
    Why shouldn't you use commercial "anti-virus" products?
    Their design is predicated on the nonexistent threat that malware may be injected at any time, anywhere in the file system. Malware is downloaded from the network; it doesn't materialize from nowhere.
    In order to meet that nonexistent threat, the software modifies or duplicates low-level functions of the operating system, which is a waste of resources and a common cause of instability, bugs, and poor performance.
    By modifying the operating system, the software itself may create weaknesses that could be exploited by malware attackers.
    7. ClamXav doesn't have these drawbacks. That doesn't mean it's entirely safe. It may report email messages that have "phishing" links in the body, or Windows malware in attachments, as infected files, and offer to delete or move them. Doing so will corrupt the Mail database. The messages should be deleted from within the Mail application.
    ClamXav is not needed, and should not be relied upon, for protection against OS X malware. It's useful only for detecting Windows malware. Windows malware can't harm you directly (unless, of course, you use Windows.) Just don't pass it on to anyone else.
    A Windows malware attachment in email is usually easy to recognize. The file name will often be targeted at people who aren't very bright; for example:
    ♥♥♥♥♥♥♥♥♥♥♥♥♥♥!!!!!!!H0TBABEZ4U!!!!!!!.AVI♥♥♥♥♥♥♥♥♥♥♥♥♥♥.exe
    ClamXav may be able to tell you which particular virus or trojan it is, but do you care? In practice, there's seldom a reason to use ClamXav unless a network administrator requires you to run an anti-virus application.
    8. The greatest harm done by anti-virus software, in my opinion, is in its effect on human behavior. It does little or nothing to protect people from emerging threats, but they get a false sense of security from it, and then they may behave in ways that expose them to higher risk. Nothing can lessen the need for safe computing practices.
    9. It seems to be a common belief that the built-in Application Firewall acts as a barrier to infection, or prevents malware from functioning. It does neither. It blocks inbound connections to certain network services you're running, such as file sharing. It's disabled by default and you should leave it that way if you're behind a router on a private home or office network. Activate it only when you're on an untrusted network, for instance a public Wi-Fi hotspot, where you don't want to provide services. Disable any services you don't use in the Sharing preference pane. All are disabled by default.

  • How do I get the computer to automatically eject a drive before it enters Sleep?"

    I have an external eSATA drive connected via PCI Express card to my Mac Pro.  When I wake the computer, I get a complaint about not correctly ejecting the disk.  How can I get the computer to eject the drive before entering Sleep?  There are two partitions on the drive, so the answer will need to include "Eject All."  Perhaps an Apple Script could tell the drive to eject, but how to automatically run it?  If I could schedule it to run five or ten minutes before the scheduled Sleep, that should work.
    The reason for the external drive is to back up my TiVo recordings...WARNING...If you have a DVR Expander connected to your TiVo and EITHER fails, you lose everything!  I now transfer all my recordings from my TiVos to this drive so I won't lose recordings in the future.  Plus I can take the drive with me and connect it via a Thunderbolt wire and watch them on my laptop.

    Hello,
    http://hints.macworld.com/article.php?story=20120211184732735
    http://irwinkwan.com/2013/06/27/eject-all-mac-os-x-disks-with-a-script/

  • I think there is a problem with the latest version of Firefox. When you minimize one window (doesn't matter how many tabs) on Mac, it automatically minimizes all of the other open windows. This never used to happen.

    Whenever you have multiple windows open - say one is your Gmail account and the other is a bunch of pages you're using at work - and then you go to minimize the window with Gmail but intend to continue working on the other open windows. Using Command-M (the minimize shortcut for Macs) unfortunately now sends all open windows to the minimize bar in the lower right. Which means - every time I go to look at Gmail, then put it away, I have to reclick to open all of the other windows I was working in. Can this be fixed? It never used to happen.
    == This happened ==
    Every time Firefox opened
    == I upgraded to the latest version of Firefox

    Because OS X 10.4* does not have what is needed by Firefox 4.0 and newer.
    Linux users are in a similar boat also as they need certain package versions within the last few years as LTS distros (with outdated packages from 4+ years ago) like CentOS is a bit screwed on newer applications like Firefox 4.0. By your logic Mozilla should also support Linux packages from 10 years ago also which would be a really ridiculous thing to do.
    I think only the 64-bit Windows Vista and Windows 7 is really supported or will be rather when it comes to 64-bit builds (still not officially supported yet).
    Mozilla is still supporting Firefox 3.6 with updates, in which 3.6.16 can be found at http://www.mozilla.com/en-US/firefox/all-older.html

  • Is it possible to get ReadWrite Mac HFS+ drivers for windows 7 so I can manage my Mac formatted Backups through windows bootcamp?

    Hello!
    I was just curious if there was a driver or something I can install so that I can read and write my mac OSX formatted [HFS+] external drives in Windows 7,
    using the windows file explorer [the equivalent for finder].
    This is essential for me because I need the windows explorer copy/file transfer dialog box with all it's options and functionality.
    Any suggestions relating either to windows bootcamp, or running windows through vmware fusion next to mountain lion [I would much prefer to be able to do this with VMWare Fusion, but either way is absolutely fine.]
    I need this because I need to do HEAPS of file management,  
    and I find finder's file transfer / copy dialog box to be totally inadequate, hopeless and almost useless, [a nightmare in fact] next to the excellent functionality of Windows 7 file transfer dialog.
    This has been my most hated issue with OSX for years now.
    File management is a total nightmare in OSX.
    I may make another post / feature request detailing my hatred of this lack of functionality, because it kills me every time I have to manage and backup large folders filled with lots of files and subfolders.
    Sorry for the end-rant.
    Thanks so much for any help! (:

    Hello Alberto and Woodmeister50,
    thank you for both your answers.
    I have to try and remember to state things I have tried previously or am aware of; my bad!
    Alberto:
    Thanks for your ideas.
    I'm aware of ex-fat format.
    Unfortunately, my external drives are quite full and a reformat or EXFAT partition is out of the question.
    I'm formatted them OSX extended journaled a couple of years back before I was aware of exfat.
    I could buy yet another drive, but I don't really want to do that until SSD's come down in price and expand in size.
    [also, while not a big issue, I hear EXFAT can't handle files bigger than 4gb. Not that I have many such files, so that's not really a big concern].
    So doing my file organization through windows explorer is, to my knowledge, the best option,
    if it is possible. [I hope!]
    This would be a perfectly satisfactory solution for me if I can use Windows Explorer through VMware to manage and organize the files and folder on my HFS+ external drives.
    I'm not sure if paragon HFS+ or Macdrive allow you to use windows explorer to manage files?
    Or only through their own file manager and dialogs?
    A costly gamble if they do not, and if their file/folder transfer dialog also happens to be inadequate.
    Woodmeister :
    Thanks.
    Actually, my problem is both HFS+ / windows compatibility AND that I hate finder
    [the HFS problem being a result of the fact I hate finder]
    I have tried Pathfinder [the demo version though, maybe it has limited functionality],
    and I have found it's file transfer dialog / options / functionality to be very totally lacking as well.
    Others I have tried.
    Mac Explorer.
    MoveAddict doesn't seem to work for me presently, although I hear it might be good.
    Total finder is fantastic for other reasons but does nothing for the copy dialog.
    Um.... there were a bunch of others I tried, but all no good.
    So I guess my question is still the same, with a bit more specific information now
    For a very in-depth review/analysis of the hatred of finder's lack of features in this area,
    there are many threads on many forums, such as can be found if you google for the thread on this forum
    GOOGLE : MacRumors OS X: how to merge folder contents, not replace
    Please ignore the fact that some ex-windows people are just not used to the fact that "replace" in finder means to replace a whole folder, as this is not the issue.
    The lack of functionality is, and there are many pages of mac-loving people complaining about it.

  • When Firefox crashes and I restart my Mac, it automatically restores the pages I had open before the crash. I don't want it to restore sessions. How can I disable that?

    When Firefox gets hung up, I do a force quit. Then when I restart my Mac, it tries to restore all the sessions I had open before the crash. It doesn't crash often but every time it crashes, it does the automatic session restoration. The crash happens when I haven't shut down my computer for a day or two; it's like Firefox just gets tired and needs to be refreshed. It doesn't seem to matter what windows I had open. I have a MacBook Pro 10.6.8.

    We close all applications before we power down the system.  There is nothing open before we turn it off yet the same boxes open when we turn it back on.

  • Mac keep automatically changing ALL CAPS to lower case in Pages.

    MacBook Pro automaticaly changes all CAPS to lower case in Pages. It will automatically revert and I can't make the CAPS stay, regardless if I hold 'shift' and type or press the 'caps lock' key. Is there a setting where I can disable this feature?

    You have not said where you are copying this from but it sounds like what you have is text that is styled by CSS on a web page or ATSUI (Apple's typographic type engine) to appear ALL CAPS.
    The actual text is actually U&lc or lowercase.
    You can restyle it using:
    Menu > Format > Font > Capitalization > All Caps
    Peter

  • How to get the MAC address of the additional 10G NIC with ILO command line

    how to get the MAC address of the additional 10G NIC with ILO command line?
    thanks.
    This question was solved.
    View Solution.

    Hi Bruce,
    Out from what I can find on this network card is it not possible to get the mac address without a OS. I would recommend you to get/burn a Linux/Ubuntu live CD/DVD and run a Ifconfig in there.
    Hope it helps you.
    Best regards
    Zincas
    I work on behalf of HP

  • Data recovery, possible to get the file structure back as well?

    Hi Apple Smarties,
    I closed my laptop lid on my external LaCie drive without ejecting the drive first (smart one!). After that the external drive wouldn't mount. I've used Data Rescue 3 to recover all the files from the drive... however it's just lumping all the files into one big batch :-( ...anybody know if it's possible to get the files into the correct files structure they were at before the drive got corrupted?
    Assistance would be HUGELY appreciated.
    Many thanks
    Kind regards
    Doug

    Thank you Barry. Yes, Comcast is my mail provider. It is a POP account.
    Now, if you could point me in the right direction to do that re-build, I would be ever so grateful. I did use the "rebuild" button on the Mail tool bar for that box and it did not help. Perhaps there is something else I could do?
    As I mentioned, I am very new to the Mac world, and I get a little lost. Well, at age 73, I guess that's not hard to do! Been on Windows forever so lots of the terminology in Apple is quite different for me.
    Message was edited by: JanJones

  • How do i get a mac book pro to out of the box

    how do i get my mac book pro to out of the box.  clear everything off it and start over

    Boot with your original system installation DVD: with the disc in the drive, restart the MBP while holding the C key. From the Utilities menu, select Disk Utility. Erase the internal disk.
    Quit Disk Utility and install OS X. Install the applications that came with the MBP from the Applications DVD.

  • Is it possible to get a list of open Actionscript documents in Flash CC?

    I am looking at the javascript API of Flash CC. I can register an event listener for documentNew, documentOpened, documentClosed, etc, and I can get a list of open documents. Those seem to be only for .fla documents, not for .as. Is it possible to get the .as files somehow? I guess I could try to search for the classes in the classpath myself, but I want to limit this to only the documents that are edited at the moment. Is there any API for the text editor?

    DaveRines wrote:
    I specifically want to be able to programmtically save and close an open excel workbook that has not yet been saved and I don't know the name of. From Labview.
    I know how to manipulate workbooks that I open from a saved location, but don't know how to take whichever workbook is open on my computer and save it to a known location.
    Thanks!
    I saw this post and thought there might be a similar method for ActiveX objects that there is for vi's:
    http://forums.ni.com/t5/LabVIEW/Is-it-possible-to-get-a-list-of-refnums-to-all-VIs-loaded-into/td-p/...
    This should work:
    If you want to change the path or have more control on the options, you could replace the '_Workbook/Save' method with
    In this case, if you want to avoid additional pop-ups, make the 'Visible' and 'DisplayAlerts' properties FALSE when you open the Application in the first ActiveX node

  • How do I get Mac to finish start-up...it shuts off when bar loads 1/3 of the way.

    During start-up, the load bar will get about 1/3 of the way, and then the computer just shuts off. I cannot get it to reboot all of the way.
    Can anyone help with this???
    Thanks a lot!

    Hi. See if you can boot in safe mode. Hold down the  shift key at startup and release a the apple logo.  If it boots this way then shut down and try normal boot.You could also do a pram reset. Hold down Command/Option/P/R keys for three chimes at startup and continue boot. If you still have problems startup holding down option or option r to go to recovery and run disk permissions repair and disk repair. If non of this helps Spudnutty may have some other options for you.

  • Is it possible to get a virus on the Mac OS X v10.6.4 Snow Leopard?

    Hi, I was just wondering if it is possible to get viruses on the new system and I was also wondering if someone could give me some help/suggestions on what I should do about a problem I had with my iMac today. When I turned on my computer from sleep today a page popped up onto my iMac computer screen saying I had trojans and viruses on my computer. It also stated I needed to download software in order to fix the problem, luckily while I was in the middle of downloading this software I noticed that the page was not from apple but it was from the internet.. thankfully I cancelled the download just on time and none of the software downloaded... I am new to Mac and I'm now really paranoid that there is viruses on my computer.. should I be worried? What should I do? If anyone has any suggestions/advice/ or help to give to me on iMac computer's -viruses-protecting them etc..I would really appreciate it
    Thanks,
    kateos9

    These 'warnings' are usually pop-unders from a web page you've visited (i.e. they stay behind the page you're viewing so you don't see them until later).
    They claim to have scanned your computer and found viruses: this is complete rubbish and a scam - aimed really at Windows users (the details given are often applicable only to windows).
    You don't have any viruses: there are no Mac viruses in the wild. There are trojans and malware, but in all cases you have to actually install them (usually they try to make you think you are installing something else) and you would have had to give your admin password to do so.
    You were right to stop the download. Never ever download or click any links on anything of this nature. Unless you have specific anti-virus software installed (which would identify itself in any warning) no warning of this nature can be genuine: it's an attempt to get you to install malware, some of which can be very nasty.

  • Is it possible to get airplay mirror capability on Mac OS X Lion 10.7.5?

    Is it possible to get the Airplay mirroring capability on Mac OS X Lion 10.7.5? If not what are the best options for obtaining the mirroring feature?

    Hello! It's not possible to get Airplay Mirroring. There are 3rd-party options, the most well-know being Airparrot. http://www.airsquirrels.com/airparrot/

  • How do I update the browser on the MacBookPro?  I would like to get newer version of Safari; however, if that is not possible, is there a version of anything that I can get for MAC OS 10.5.8?

    How do I update the browser on the MacBookPro?  I would like to get newer version of Safari; however, if that is not possible, is there a version of anything that I can get for MAC OS 10.5.8?

    Hi kwalker08865,
    It would appear that the most recent version of Safari that is compatible with OS X 10.5.8 would be Safari 5.0.6. If this would meet your needs, you can find more information and a download link on the following page:
    Safari 5.0.6 for Leopard
    Regards,
    - Brenden

Maybe you are looking for

  • Can I use my external HD for Time Machine and still use it for storage?

    I have a 1TB external HD and my computer has yet to arrive. I was planning on backing it up via Time Machine and I'm wondering if my external HD will still be useable as a storage device once I pair it with Time Machine. There's no way the backup wil

  • Def a value in sear help of select screen generated by HR  report category

    Hi all, Ive developed a HR report in which Ive used LDB  PNP.. Now they are going to use this report for a particular company. so in the report selection screen when they choose f4 help of personnel area i.e. field PNPWERKS, I need to default a value

  • How Do I Reset Indicators in User Interface?

    I have a VI that has got out of control.  I have created several test sequences that were developed, proven and built into individual VIs.  I created a Main VI and placed (cut and paste) each invidual test VI into a sequencial Frame.  Long story shor

  • M7332 Power Supply-How can I tell if it works?

    I have a power book G3 Lombard, I believe. I have purchased a brand new power supply from ebay. But my computer won't start. The battery is dead too. It has been sitting idle for nearly a year. My question is- shouldn't I be able to test the output o

  • Creating User Alias in Flash Air Application

    I am trying to create an Flash Air application whereby users are able to change their user alias on the application anytime they want. This will be saved and when users sign in the application again, it will show the "new" user alias instead of the p