Script to open and close CD and DVD

Hi everyone,
My MAC has an internal CD burner and an external DVD burner. I would like to know if it could possible to create two scripts that, by clicking , it would open or close (depending of the status) my CD and another one for my DVD burner.
I look at the list of functions, and I could find only eject. I new to Automator.
Thanks a lot

Bruno,
I believe you will find what you want at the following discussion forum item:
http://discussions.apple.com/thread.jspa?messageID=1337938

Similar Messages

  • Open/Transfer/close Dataset and delimiting

    Hi people hi have a situation regarding open/transfer/close dataset and delimits.
    I have a submit program that calls any other via variants. It works fine with using list_to_memory, convert to ascii, and open dataset. I can download the report in excel format to an application server.
    Problem is that the reports arent delimited properly in the excel report. Usually there is a vertial line "|" placed after each column and it would be eazy to mauiplate it during viewing the actual file.
    However I want this done automatically. My question is, is there a way to delimit the list before/during using open/transfer/close dataset?
    My solution before was to convert the vertical lines to a comma and just save the file as a CSV file. Problem here is the data could be affected as comma is being used normally. So the excel report would get messed up.
    Hope I get some help soon. Thanks guys and good day.

    Lets say you have fields A, B, C and D to be transfered to the dataset. You can use the below logic.
    concatenate a b c d into l_text separated by '$'.
    transfer l_text to dsn.
    Now, when you open the text file in excel it would ask you whether the file is delimeted or fixed width...if you select delimited..in the next screen you would be able to select the delimiter.
    Regards
    Anurag

  • When i change bookmarks and close firefox and open it up again changes to my bookmarks have gone back to what they were before i changed them?

    when i change my bookmarks and close firefox and open it up again changes to my bookmarks have gone back to what they were before i changed them?

    hi chris thanks for your help, the start in safe mode and reset tools solved the problem, ive spent days trying to solve it, you'v saved me a lot of frustration, thanks again,

  • Why there is some of my games that I try to open but it just close and close again and also my facebook twitter and youtube can't open

    Why there is some of my games that I try to open but it just close and close again and also my facebook twitter and youtube can't open

    (A) Try reset iPad
    Hold the Sleep/Wake and Home button down together until you see the Apple Logo.
    Note: Data will not be affected.
    (B) Close all apps in the multi-task window
    1.Double-click the Home button.
    2. Swipe the app's preview up to close it.
    3. Preview will fly off the screen.

  • Script to open mail at login and then hide app

    I've been messing around with apple script lately and found it useful in being able to do various tasks etc, I've even written a few basic scripts myself
    I use my computer primarily at home with a wireless network and i just leave my mail app open to check my mail more easily. I have the program set up to open at login, which works and then leaves the inbox window open.
    I'm wondering if there is a way with apple script to tell mail to open at login and then hide it self once it's open so that it seems like it opened in the background.
    any ideas?

    Have you considered using the hide option in 'login items' tab in system preferences/accounts?
    Go to system preferences, then to accounts, and then use the 'login items' tab with your account name. Now you can specify Mail to open as you login and then there is an option for you to hide Mail once it opens.
    The net effect is that you will have Mail open once you login and then have it hide itself after login.
    Hope this helps.
    eviscerationer

  • Every once in a while, a black box will cover the windows minimize, maximize, and close buttons, and then I can't minimize firefox quickly or easily.

    After a bunch of browsing, a black window takes over the windows caption bar and covers the minimize, maximize, and close buttons. When this happens, I can't close firefox except by accessing the firefox menu. And there is no way to minimize or maximize the window.

    Try the Firefox SafeMode to see how it works there. <br />
    ''A troubleshooting mode, which disables most Add-ons.'' <br />
    ''(If you're not using it, switch to the Default Theme.)''
    * You can open the Firefox 4.0+ SafeMode by holding the '''Shft''' key when you use the Firefox desktop or Start menu shortcut.
    * Or use the Help menu item, click on '''Restart with Add-ons Disabled...''' while Firefox is running. <br />
    ''Don't select anything right now, just use "Continue in SafeMode."''
    ''To exit the Firefox Safe Mode, just close Firefox and wait a few seconds before using the Firefox shortcut (without the Shft key) to open it again.''
    '''''If it is good in the Firefox SafeMode''''', your problem is probably caused by an extension, and you need to figure out which one. <br />
    http://support.mozilla.com/en-US/kb/troubleshooting+extensions+and+themes
    ''When you figure out what is causing that, please let us know. It might help other user's who have that problem.''

  • Not able to get the minimize maximized and close button and its running with full screen mode.

    Hi
    My Thunderbird is running with ubuntu OS and while using some shortcut key my thunderbird mailbox switched to full screen mode. now i am not able to resize it's view and also not able to see minimize, maximize and close buttons on top left corner.
    Please help me out.
    Thanks

    I'm also running Ubuntu. Not sure how you got there, but you can try a Control-Q to quit. Then restart it and hope in comes back normal.

  • Applications stops and closes automatically and re...

    Apps like Facebook,cosmopolitan stops working and closes/exits automatically.How do I fix this error?My phone model is Lumia 625 with black update and OS version 8.0.10517.150
    Solved!
    Go to Solution.

    My questions are: 1) I have a lumia 520 do i need to change my phone to the new latest version or is my phone good enough to stay with (as i love this phone) and wait for the windows 8.1 software update? 2) Every time i go on Facebook the app closes and i go back to my start up screen, its such a nightmare to uninstall and reinstall it, is there another way of sorting the problem out? 3) My text is lagging and making ALOT of mistakes, I'm constantly checking and changing wrong words overriding my texts, its NEVER been a problem before? 4) how do i take photos (with no flash) in dark places, i missed out on taking many epic photo memories because the pictures are too dark, what do i do? 5) I cant go into my NOKIA SUPPORT DISCUSSIONS account using my alias, it keeps saying HTTP STATUS 405 REQUEST METHOD 'GET' NOT SUPPORTED, it doesn't matter how much i refresh and try it gets frustrated and nowhere. What's going on?

  • After closing Firefox and trying to open a new session, I get periodic pop ups telling the program is still running. I open the task manager and close it, and everything's fine. What's the issue, and how do I get it to stop?

    Problem doesn't happen every time, and I've tried to leave it alone to see if there's an update that needs to finish loading. After being left overnight, I still had to use the task manager to close the Firefox program. I have no idea what it's doing, and I'd like to know. Is Firefox taking over my computer so it can move on to my house, and then go on to rule the Tri State Area?

    See - [https://support.mozilla.com/en-US/kb/Firefox%20hangs#w_firefox-hangs-when-you-quit-it Firefox hangs when you close it]

  • When i open or close tabs and when i scroll up down ......some blinkings of firefox are there.... tell me what to do???

    Laptop Acer aspire 5732Z
    Windows 7
    2 GHZ dual core
    2 GB RAM
    160 GB hard disk

    Hi elamothe! It sounds like you just have VoiceOver turned on for your Mac. You can find VoiceOver by going to ''System Preferences->Universal Access->Seeing'' on your Mac, not in Firefox. This will allow you to disable VoiceOver.
    CMD + F5 will toggle the setting as well.
    Hopefully this helps!

  • My drive is ALIVE. OPENS AND CLOSES ALL ON IT'S OWN ??!!

    Hi. If I put in a disc and close the drive, DVD burner, it opens itself in 3-4 seconds. When left open, it closes and opens itself after some minutes. Got a mind of it's own. Any you guys a mind reader?
    Also, is the Pioneer 117D the drive of choice for this machine:
    867MHz G4 1.5GB memory, two 120GB hard drives RAID 1 mirrored OS X 10.5.6 Superdrive DVD burner, 4 port USB PCI card.
    Thanks. dennis

    Hi-
    Sometimes dying drives do that.
    Stuck eject, F12 or C keys can cause that too.
    The Pioneer drives are always highly recommended.

  • IO6 battery discharges quickly and every time I open an application, it crashes and closes

    I upgraded to iOS 6 and since then the phone battery discharges quickly and every time I open an application, it crashes and closes. And finally, back to the home screen. I can not send messages, listen to music. And when my friends call me, the link is silent and then back to normal again and then is silent. Can anyone help me? I have an Iphone 4.

    Restore your phone as a NEW device, not from backup.

  • Ichat opens and closes repeatedly then shows an error

    When I go to log into Ichat, it opens and closes over and over again until finally an error comes up saying that I tried to log in too many times, and to try and log in again later.
    However, after a few minutes, it still does not let me log in.. Please help !

    I looked further into the discussions and found this thread. I tried it and it worked. It might work for you.
    http://discussions.apple.com/thread.jspa?threadID=1825154&tstart=60
    Good luck!

  • Adobe Premiere Elements 10 - Is there an alternative to 'delete and close gap?'

    There are two scenes on the same track (not sure if they're called scenes, just not sure what else to call them), I want to put them right next to each other on the timeline, with no gap in between. If I use delete and close gap, everything in front of these two scenes will move as well. I don't want everything else to move, I only want to move the lone scene next to another scene. If I just try to drag it next to it, it'll either slice the scene in half if I don't drag it 100% perfectly next to it, or there will be a single frame of black space on the video. The only way I can successfully do this is if I zoom in and pain stakingly drag them precisely next to each other. Is there some way I can use something like 'delete and close gap' without making all the other tracks move as well? I think it might've been like ripple delete back in the older versions of Premiere if I remember correctly.

    Xebarsus
    Whenever you are adding clips to the Timeline, try holding down the Alt key of the computer main keyboard to avoid disturbing the existing Timeline content including splitting of audio.
    Have you tried right clicking the Timeline file for deletion and selecting "Delete" instead of "Delete and Close Gap" and then use the Alt modifier as you drag the clip(s) around with the mouse cursor?
    Please give all that a look and let us know the outcome? But that Alt Key maneuver should work for you as it has for many others.
    Thanks.
    ATR

  • How can I get my trash to empty?  Window opens but closes immediately.

    How can I get my trash to empty?  Window opens but closes immediately and there are nearly 9000 items there.

    Hold your click a little longer on the Trash in dock and a popup will appear. Choose Empty Trash.

Maybe you are looking for