Script for automatically copying DVDs/CDs to disk on insert?

I just started to copy about 500 Data-DVDs (and some CDs) to an external FAT32 USB-disk. I do that by dragging the mounted disk from the desktop to the drive while holding down the option-key.
Is there a way to automate that? Would be easier if the Mac started the copying whenever a new DVD/CD is mounted on the desktop. And ejecting the disk by itself would be nice too. That way I'd be sure to notice that another copy is done and could put in the next disk ...

Udo Schmitz wrote:
Hi,
I want to copy DVDs/CDs to a harddisk as well. But to an external USB drive.
So, when "/dev/disk1" is my MacBooks internal optical drive, how do I address the external USB-HD?
Apple-Script doesn't want me to use the path: "/Volumes/FILME/" ...
You'll want to leave the superdrive path the same but change the duplicate to desktop part to your own external hd. I'm pretty sure you get it just making sure.
Applescript doesn't mind the path you chose just the UNIX style slash format oppose to mac colon delimintated. Try this
(/Volumes/FILME/...) as POSIX path
--or
:Volumes:FILME:...

Similar Messages

  • I Mac is not reading from DVD drive. Disk will insert, then some noises but after a few seconds, nothing.

    I Mac is not reading from DVD drive. Disk will insert, then some noises but after a few seconds, nothing. I am trying to install Broterh printer disks. Any ideas? I am on Mavericks.

    Reset the NVRAM/PRAM and Reset the SMC, then try again.

  • VBA script for automatically indexing topics

    A big disadvantage with InDesign's indexing system is that you cannot automatically index all occurences of topics currently in the index.
    Instead, you have to find an occurence of each topic in the document itself and go to the Index menus and then click New Page Reference...Add All, for each index topic individually.
    To get around this, I have been trying to produce a VBA script to automatically index all occurrences in a document of the topics currently in the document index.
    I have been using the MS Excel VBA development environment but find the definitions of the object model in the Excel VBA browser rather inadequate and ambiguous .
    Is there a more thorough reference work for these?
    The plan was to start by taking each individual topic in the index which I tried to access with something along the lines of:
    MyDocument.Index.Topic(1)
    This hasn't worked.
    The plan then was to take each index topic and use it to find an occurence in the document of that topic and then use that occurence to invoke the New Page Reference...Add All option to index all occcurences of that selected term, using something like:
    MyDocument.PageReferences.Add
    Again, without success.
    Any guidance or suggestions would be appreciated.

    Dear Peter,
    Many thanks for your posting, that was very helpful.
    This is the state of the script so far (I have added a large number of MsgBox entries - these aren't needed, they are just for debugging purposes during development):
    'VBA script which tries to work through all of the topics in the index and automatically index each occurence of them in the current text frame:
    main
    Function main()
    Set MyInDesign = CreateObject("InDesign.Application.CS4")
    If MyInDesign.Documents.Count > 0 Then
        Set MyDocument = MyInDesign.ActiveDocument
        Set MyPage = MyDocument.Pages.Item(1)
        Set MyTextFrame = MyPage.TextFrames.Item(1)
        Set MyStory = MyTextFrame.ParentStory
        Set MyIndex = MyDocument.Indexes(1)
        Set MyTopics = MyIndex.AllTopics
        MyIndexesCount = MyDocument.Indexes.Count
        MsgBox "Current indexes Count: " & MyIndexesCount
        MyIndexTopicsCount = MyTopics.Count
        MsgBox "Current index topics Count: " & MyIndexTopicsCount
        For i = 1 To MyTopics.Count Step 1 'work through the topics
    MyIndexTerm=MyTopics(i)
    MsgBox "Current indexes Topic: " & MyIndexTerm
    'search for MyIndexTerm :
            'Clear Find preferences:
            MyInDesign.FindTextPreferences = idNothingEnum.idNothing
            'Set up search paramaters:
            If MyIndexTerm <> "" Then
                MyInDesign.FindTextPreferences.FindWhat = MyIndexTerm
                'Set search options:
                MyInDesign.FindChangeTextOptions.CaseSensitive = False
                MyInDesign.FindChangeTextOptions.IncludeFootnotes = False
                MyInDesign.FindChangeTextOptions.IncludeHiddenLayers = False
                MyInDesign.FindChangeTextOptions.IncludeLockedLayersForFind = False
                MyInDesign.FindChangeTextOptions.IncludeLockedStoriesForFind = False
                MyInDesign.FindChangeTextOptions.IncludeMasterPages = False
                MyInDesign.FindChangeTextOptions.WholeWord = False
                'Search for the string:
                Set MyFoundItems = MyDocument.FindText 'this ought to be limited to the Story, not the Document eg MyStory
             MsgBox "Found index terms:" & MyFoundItems.Count
                For j = MyFoundItems.Count To 1 Step -1
                   MyTopics(i).PageReferences.Add MyFoundItems(j)
                Next
               'Clear preference:
                MyInDesign.FindTextPreferences = idNothingEnum.idNothing
                'Having found it, add page reference:
             'MyDocument.PageReferences.Add
            Else
                MsgBox "No search term specified"
            End If
    Response=MsgBox ("Continue?", vbYesNo)
    If Response = vbNo then
      Exit For
    End If
       Next
    'Set up Index options:
    MyIndex.IndexOptions.Title = "Index"
    MyIndex.IndexOptions(1).TitleStyle="Chapter Head"
    MyIndex.IndexOptions(1).ReplaceExistingIndex = True
    'Generate the index:
    MyIndex.Generate
    Else
        MsgBox ("Please open a document, select an object, and try again.")
    End If
    End Function
    There are a couple of problem areas still:
    1. Index terms appear to be added irrespective of whether or not that particular page reference already exists in the index.
    This can result in duplicate page references under each topic - especially if the script is run several times.
    Is there any way of avoiding these duplicate references?
    2. I haven't yet suceeded in getting the script to generate the index - so far I've had to do it manually after the script has run.
    The problem lies somewhere in the code to set up the index options and then generate the index.
    3. It might be useful to be able to limit the indexing to the curent story rather than the whole document - but I haven't yet got it to do that.
    Best wishes.

  • Shell script for Automatic Awr Report

    Hi Good Morning,
    I have a requirement to generate the AWR report daily between (10AM - 06PM , 10AM - 01PM , 01PM - 10PM) . I have the below script for this . But the issue is this script is working only when i run it two times and before running i have to delete snap_list.lst file. Please let me know what is the problem in this script and how to resolve it.
    Script :
    dt=`date +%d%m%Y`
    cd /orabkp/awr_report
    chmod 777 *
    rm -rf snap_list.lst
    touch snap_list.lst
    #rm -rf snap_list.lst
    #rm -rf snap_list.lst
    sqlplus -s " /as sysdba " <<EOF > snap_list.lst
    host sleep 10
    @/oracle/scripts/cron_scripts/rpt1.sql;
    @?/rdbms/admin/awrrpt.sql
    HTML
    1
    `cat snap_list.lst | grep "10:0" | awk '{print $1}'`
    `cat snap_list.lst | grep "13:0" | awk '{print $1}'`
    awrrpt\_$dt\_10AM\-01PM.html
    prompt 2
    @?/rdbms/admin/awrrpt.sql
    HTML
    1
    `cat snap_list.lst | grep "13:0" | awk '{print $1}'`
    `cat snap_list.lst | grep "18:0" | awk '{print $1}'`
    awrrpt\_$dt\_01PM\-06PM.html
    @?/rdbms/admin/awrrpt.sql
    HTML
    1
    `cat snap_list.lst | grep "10:0" | awk '{print $1}'`
    `cat snap_list.lst | grep "18:0" | awk '{print $1}'`
    awrrpt\_$dt\_10AM\-06PM.html
    @?/rdbms/admin/addmrpt.sql
    `cat snap_list.lst | grep "06:0" | awk '{print $1}'`
    `cat snap_list.lst | grep "12:0" | awk '{print $1}'`
    ADDM_REPORT\_$dt\_10AM\-06PM.txt
    EOF
    exit
    cat /oracle/scripts/cron_scripts/rpt1.sql
    host echo 1
    host sleep 10
    @?/rdbms/admin/awrrpt.sql
    HTML
    1
    `cat snap_list.lst | grep "10:0" | awk '{print $1}'`
    `cat snap_list.lst | grep "13:0" | awk '{print $1}'`
    awrrpt\_$dt\_10AM\-01PM.html
    Regards
    Rajasekar

    Hi,
    Modify & Try this script used for rac awr ..
    #!/bin/ksh
    set -x
    ORACLE_SID=DBSID
    ORACLE_HOME=/u01/app/ora11g/product/11.2.0/db_1
    export ORACLE_HOME
    TERM=vt100
    export TERM
    PATH=/usr/bin:/etc:/usr/sbin:/usr/ucb:/usr/local/bin:/usr/bin/X11:/bin:/sbin:.
    PATH=$ORACLE_HOME/bin:$PATH
    export DT=`date '+%d_%b_%Y_%HH_%MM'`
    export ORACLE_BASE ORACLE_SID ORACLE_HOME PATH DT
    echo $DT
    MAIL="[email protected]"
    CMAIL="[email protected]"
    AWRR="/u01/DBA_Scripts/AWR_REPO"
    sqlplus -s "/ as sysdba"<<EOFSQL
    set head off
    set feed off
    spool /tmp/bsnap.lst
    select max(SNAP_ID)- 3 from dba_hist_snapshot;
    spool off
    spool /tmp/esnap.lst
    select max(SNAP_ID) from dba_hist_snapshot;
    spool off
    spool /tmp/iname.lst
    select instance_name from v\$instance;
    spool off
    spool /tmp/dname.lst
    select database_name from v\$database;
    spool off
    spool /tmp/inum.lst
    select instance_number from v\$instance;
    spool off
    spool /tmp/dbid.lst
    select dbid from v\$database;
    spool off
    EOFSQL
    BSNAP=`cat /tmp/bsnap.lst | tail -1 | awk '{ print $1}'`;export BSNAP
    ESNAP=`cat /tmp/esnap.lst | tail -1 | awk '{ print $1}'`;export ESNAP
    INAME=`cat /tmp/iname.lst | tail -1 | awk '{ print $1}'`;export INAME
    DNAME=`cat /tmp/dname.lst | tail -1 | awk '{ print $1}'`;export DNAME
    INUM=`cat /tmp/inum.lst | tail -1 | awk '{ print $1}'`;export INUM
    DID=`cat /tmp/dbid.lst| tail -1 | awk '{ print $1}'`;export DID
    echo "Begin Snap  : $BSNAP"
    echo "End Snap    : $ESNAP"
    #echo "InstanceName: $INAME"
    echo "DB Name     : $DNAME"
    #echo "InstanceId  : $INUM"
    echo "DB ID       : $DID"
    sqlplus -s "/ as sysdba"<<EOFSQL
          define  inst_num     = $INUM;
          define  num_days     = 12;
          define  inst_name    = 'ALL';
          define  db_name      = '$DNAME';
          define  dbid         = $DID;
          define  begin_snap   = $BSNAP;
          define  end_snap     = $ESNAP;
          define  report_type  = 'html';
          define  report_name  = $AWRR/Awr_report_$DT.html
          @@?/rdbms/admin/awrgrpti
    EOFSQL
    cat /u01/DBA_Scripts/mail_body.txt | mailx -a $AWRR/Awr_report_$DT.html -c $CMAIL -s "DB Report - DB "  $MAILThanks,
    Ajay More
    http://www.moreajays.com

  • Trouble copying DVD-R using Disk Utility

    Hi there. I am trying to copy a DVD-R that I created with my standalone Sony DVD recorder using the Disk Utility program. I am following the instructions I found here:
    http://docs.info.apple.com/article.html?artnum=42724
    Unfortunately, every time I attempt this, I get an 'Invalid Argument' error message while it is trying to create the duplicate image. Can anyone tell me how I can get this to work? Thanks in advance-
    Adam

    I have burned DVDs before, and I am also experiencing this problem in trying to copy a non-copyrighted DVD to my hard drive.
    I select the DVD in Disk Utility, click 'New Image,' choose an innocent name with only letters, select "CD/DVD Master" and "No encryption," and then wait. A window with a progress bar opens and says something like, "Reading Apple_ISO" for a few minutes while the blue bar is getting filled. After the progress bar is completed, Disk Utility displays a pop-up window with the message "Invalid argument." No image was created.
    Is there any way around this? For example, is there a manual way or some other way of creating a disk image that is a copy of a DVD?
    Again, the DVD is non-copyrighted. In fact, the makers explicitly encourage or authorize copying.
    Thanks for any help,
    Chris
    1.5 GHz 15 PowerBook G4   Mac OS X (10.3.9)  

  • Need a script for archive/copy IMAP Emails older than 25 days to local mailbox

    Hi there,
    I am really troubling with archiving my IMAP mails. So far I was using standard rules, which have a major drawback - they only work on incoming mails. But I want to copy only mails to my local mailbox that are older than 25 days. The reason is that by copying all incoming mails, mail also copies all spam and unimportant mails into the local mailbox. However I only want to copy the mails that I was able to read and consider to be important, which I am able to do within a couple of days. However, I am not able to to that on a daily basis and that is why I chose the 25 days window, because my hoster deletes them automatically after 30 days. I read in a lot of forums that rules wont help, since they only work for incoming mails, therefore I am guessing that I would need a script because I want this to be automated and only applied to mails that passed the 25 day timeframe. Is the anybody that could help me out? Thank you so much in advance.

    Hi adayzdone,
    thanks for your reply but I am not a Gmail user, I am using Strato. Therefore the handy Google Scripts won't help.
    I need a script in Apple, that only copies or moves the mail from my inbox to a local mailbox once they are past the 25 days line. Within those 25 day I have deleted all unnessecary mails, marks or higlighted the important once and know only the remaining once are worth keeping. But I still want them to be available in Mail and none of those archiving solutions that create pdfs or import them into their one database will help.

  • Shell Script for automatic backup

    Hello Every one,
    We have windows network and sun solaris sparc box. (both from Sun Box and from Windows machine I can communcate using Telnet.)
    I wish to take data backup of a system having windows operating system, into
    the sun solaris sparc box automatically by week end .
    Can anyone help me with the shell script which does this operation.
    Regards,
    Dwarak

    first of all, is there nfs running? and on windoze box, do u have any nfs client program running?
    you cant transfer files frm the windoze machine via telnet..
    once you can settle the above, what you can do is a simple copy script and put it in your crontab.

  • Script for automatic delete of archive logs/redologs

    Hi Experts,
    Do you have any idea on how to create a shell script. Actually the function of it, is to automatically deletes the archive logs/redologs if reaches the limit. Or is there any parameter to change to set the automatic deletion of archive logs/redologs.
    Regards

    Hi,
    at first, archivelogs should always be saved to tape before you delete them. If you don't want to backup them, may be for a test system, you can suppress them in ORACLE instead to delete them later.
    You can run the database in "NOARCHIVE LOG MODE". If you do so, the online redologs are not archived, they are still reused and overwritten. You can not run an online Backup, when the database is in noarchive log mode. If you want to backup the database, you have to run an offline backup.
    Do not use the NOARCHIVE LOG MODE for production or developemet systems.
    To change the archive log mode:
    shutdown the database
    startup mount;
    alter database noarchivelog;
    alter database open;
    archive log list       will show the actual status
    regards Ulrich

  • Script for automate export of idml for many docs (perhaps using hot folder)

    Hi all,
    I am looking for a solution to automate export many INDD docs to IDML. Did anyone have done such a solution?
    Thanks in advance!

    HI,
    You will be certainly interested in Peter Kahrel's Batch Exporter Script.
    Not related to HotFolder though for what I know of.
    Free script Batch convert/export InDesign documents | Peter Kahrel
    Best,
    Loic
    http://www.ozalto.com

  • VB script for file copy

    Hi 
       Im a beginner and this is a basic vb script to copy a file from a network location.  This works sometimes but  fails at times with error " File not Found" .  I don't understand why it should fail sometimes.
     The below is the code.
    Function Main()
    dim fso, f
    Set fso = CreateObject("Scripting.FileSystemObject")
    set f = fso.getfile("\\servername\X$\jobs\my file copy.mdb")
    f.delete
    set f = fso.getfile("\\servername\my-folder$\my data\access files\folder\Databases\my file.mdb")
    f.copy ("\\servername\X$\jobs\my file Copy.mdb")
    set fso = nothing
    Main = DTSTaskExecResult_Success
    End FUNCTION
    Mli.a | Mark the answers if it helps to solve your problem |

    For SQL server ActiveX scripts you need to post in the MSSQLServer developers form or the SSIS forum.  Are you running this under DTS or SSIS.  Some controls are not allowed under SSIS.
    The scripts wil work as a VBS so test them as a VBS first.
    The account running SSIS/DTS does nto have access to shares or Admin shares so this will likely never work.
    The error say you are using parenthesis and you cannot when calling a sub so the code posted is not what you are running.
    Function Main()
    Set fso = CreateObject("Scripting.FileSystemObject")
    fso.CopyFile "\\servername\my-folder$\my data\access files\folder\Databases\my file.mdb", "\\servername\X$\jobs\my file copy.mdb",True
    Main = DTSTaskExecResult_Success
    End Function
    Be sure you are set to run VBScript and not Jscript.
    ¯\_(ツ)_/¯

  • Script for automatically shutting flapping interface

    dear all,
    I am looking for a eem scrip  so that when interface flap up/down for atleast five times, script should shutdown this interface and no shut another interface  based on logs generated. and after three hours or so it should again no shut the flaping link.
    Thanks
    Saju

    Hello,
    I wrote a similar script to passive-interface EIGRP if it is flapping.  The logic remains the same.  Just change the trigger and what actions you want it to take.
    event manager applet CIRCUIT_STABILITY authorization bypass
    event syslog occurs 3 pattern " %DUAL-5-NBRCHANGE: EIGRP-IPv4 10: Neighbor 10.51.2.1 .*down" period 45000 maxrun 120
    action 1.0 cli command "enable"
    action 1.1 syslog priority errors msg "%EEM-ACTION-ENGAGED% due to Multiple EIGRP Flaps"
    action 2.0 cli command "conf t"
    action 3.0 cli command "router eigrp 10"
    action 4.0 cli command "passive-interface tunnel 512"
    action 4.1 syslog priority errors msg "Tunnel 512 has been made passive by TEST"

  • Apple Script for deleting podcasts

    I subscribe to a lot of podcasts, but I don't want to keep them in my iTunes library after I'm done listening to them. Is there an Apple Script for automatically deleting podcasts? Thanks.

    Thanks - once I'm in Automator and select Music, I don't see any options for finding Podcasts. Any suggestions which item/step I should select next in Automator? Thanks.

  • Rc script, for activate numlock on ttys

    Hello, and sorry for my bad English...
    I've made a script, for automatically turn on numlock on ttys (Script is little edited version of gentoo script)
    You just add 'numlock' to DAEMONS in rc.conf
    can You test it works for everybody? And submit me any suggestions?
    PKGBUILD in AUR, name 'numlock'
    EDIT -- Sorry for bad forum, mod please move topic to: [PKGBUILDs & ABS Support]
    Last edited by canni (2007-09-08 19:17:46)

    I usually use screen(1) to capture info/debug msg from the tunnel. For example:
    screen -d -m -S ntc-tunnel ssh -YNMS /tmp/ssh-%r@%h:%p -D $socks_port -L $ntcgrid_bind_port:ntcgrid:22 ntc

  • [SOLVED] advanced shell script for mount and unmount samba share

    Good morning guys,
    Today I've a very long question....
    Hope in your help....:
    I usually move from different network.
    For one of those I need to mount some share that are under an ActiveDirectory server.
    To do that I use samba.
    Especially I've made and use the below  shell script.
    I know that it's so stupid but I'm a very newbie:
    #!/bin/sh
    echo "This is a custom script for mount my citrix share"
    echo "Please insert user password (must a sudoer user)"
    echo " "
    sudo mount -t cifs -o username='myusername',password='mypassword' //host_ip/TsHome$/myusername /home/myuser/samba_share/TsHOME
    sudo mount -t cifs -o username='myusername',password='mypassword' "//host_ip/direction" /home/myuser/samba_share/direction
    echo " "
    read -p "Press ENTER key to close this terminal"
    exit
    As I say the script work but it's so crude...!
    I want/need to implement it whit the follow addictions:
    1. print a feedback on mount: somenthing like "TsHOME is now mounted" or "unable to mount TsHOME"
    2. check if the share are already mounted: to prevent accidentally multiple mount. If a share is already mounted I want to print something like "TsHOME is already mounted on /home/myuser/samba_share/TsHOME"
    3. ask for share password  (now it's in clear on script) - This is optinal
    4. un-mount the share before reboot or shutdown command. That because I've notice that If i reboot or shutdown without manually un-mount the share the step of unmounting network file system became very slow
    If it's no extremely difficult, can someone help me to write this script?
    I know that man exist but I'm not a programmer and it's so difficult for me approch it.
    Thank you in advance.
    Ale
    Last edited by Alexbit (2010-09-23 21:29:13)

    Thank you very (VERY) much!
    I've follow your information and.. it work!
    If can be usefull to other this is the complete script:
    #!/bin/sh
    echo "This is a custom script for mount citrix share"
    echo "****************************************"
    echo " "
    echo "Please insert domain password:"
    read -s mypassword
    echo " "
    echo "|checking mount state...in share are not mounted mount it!|"
    echo "+-------------------------------------------------------------------------+"
    if grep "TsHome" /etc/mtab &>/dev/null; then
    grep "TsHome" /etc/mtab | awk '{print "TsHome is already mounted on " $2}'
    else
    sudo mount -t cifs -o username='yourusername',password="$mypassword" //ipaddress/TsHome$ /home/Samba_share/TsHOME && echo "TsHOME is now mounted" || echo "unable to mount TsHOME"
    fi
    echo " "
    if grep "direction" /etc/mtab &>/dev/null; then
    grep "direction" /etc/mtab | awk '{print "direction is already mounted on " $2}'
    else
    sudo mount -t cifs -o username='yourusername',password="$mypassword" '//ipaddress/direction' /home/Samba_share/direction' && echo "direction pat is now mounted" || echo "unable to mount direction"
    fi
    echo " "
    if grep "Area" /etc/mtab &>/dev/null; then
    grep "Area" /etc/mtab | awk '{print "Area is already mounted on " $2}'
    else
    sudo mount -t cifs -o username='yourusername',password="$mypassword" '//ipaddress/Area' /home/Samba_share/Area && echo "Area is now mounted" || echo "unable to mount Area"
    fi
    echo " "
    echo "All DONE!"
    echo " "
    read -p "Press ENTER key to close this terminal"
    exit
    I don't really well understand what I've to put in rc.local.shutdown....
    I think somethings like:
    #!/bin/bash
    # /etc/rc.local.shutdown: Local shutdown script.
    echo "This is a custom script for UN-mount citrix share"
    echo "********************************************"
    echo " "
    echo "|check mount state: if mount then un-mount!|"
    echo "+-------------------------------------------------------+"
    echo " "
    if grep "TsHome" /etc/mtab &>/dev/null; then
    grep "TsHome" /etc/mtab | awk '{print "TsHome is NOT mounted -> going on..." $2}'
    else
    sudo umount /home/Samba_share/TsHOME && echo "TsHOME is now UN mounted" || echo "unable to UN-mount TsHOME"
    fi
    echo " "
    if grep "direction" /etc/mtab &>/dev/null; then
    grep "direction" /etc/mtab | awk '{print "direction is NOT mounted -> going on.." $2}'
    else
    sudo umount /home/Samba_share/direction && echo "direction is now UN mounted" || echo "unable to UN-mount direction pat"
    fi
    echo " "
    if grep "Area" /etc/mtab &>/dev/null; then
    grep "Area" /etc/mtab | awk '{print "Area is NOT mounted - Finished" $2}'
    else
    sudo umount /home/Samba_share/Area && echo "Area is now UN mounted" || echo "unable to UN-mount Area"
    fi
    echo " "
    echo "going shutdown"
    echo " "
    sleep 5
    I've try but it seems to ignore the IF statement... this is the output when ALL share are UNmounted:
    $ sh /etc/rc.local.shutdown
    This is a custom script for UN-mount citrix share
    |check mount state: if mount then un-mount!|
    +-------------------------------------------------------+
    umount: /home/Samba_share/TsHOME: not mounted
    unable to UN-mount TsHOME
    umount: /home/Samba_share/direction: not mounted
    unable to UN-mount direction
    umount: /home/Samba_share/Area: not mounted
    unable to UN-mount Area
    going shutdown
    Tomorrow I will test again when I'm at office.
    Meanwhile can you check if I made a macroscopic mistakes?
    Thank you again!
    Last edited by Alexbit (2010-09-23 17:34:49)

  • Script to auto copy everything on DVD insert

    Hi,
    I have about 150-200 back up DVD's that I want to transfer to hard disk. The hard disk is on a headless server. I would like to have the server auto copy everything from the DVD to a certain folder when I insert it and, if possible, eject the tray when finished. Can someone give me some pointers on where to start? Can autofs start a script when I insert the DVD? Or am I going to have go about it a different way?
    Thanks for any suggestions you might have.

    Captivate won't create your auto detect script out of the box.  You'll need to look into this option elsewhere.  It's possible to use sniffer scripts with JavaScript, but this is probably the wrong forum to ask about it.  You need to find a forum full of JS gurus.
    Once you DO find the code, you can perhaps think about modifying the HTM templates that come with Captivate to include the extra sniffer code you need so that every time you publish it will automatically be included and redirect the user as needed.  However, my personal suggestion is that you place the sniffer code into a page all by itself and then have it redirect to the HTML5 or HTM/SWF version of published content as required.  That way, if you ever need to make changes to how this code works, you only have to make the code in one place.  If the code is nailed into the published HTM of each and every Captivate module you upload, it's going to be a bear to maintain.
    I Googled for "sniffer scripts for HTML5" and found several promising sites.  But the thing you need to remember is that HTML5 is very much still in its infancy at the moment and anything you build for it is likely to need a lot of maintenance for the foreseeable future to keep up with all the new devices, formats, and semi-functional technologies.

Maybe you are looking for

  • Passing Dynamic Values to a Stored Procedure

    I have a stored procedure to create a Table. How to I pass a value to the procedure to name the Table. This SP works except the name of the table is @newcomm not the value I am trying to pass in. What is the proper syntax to make this happen. CREATE

  • How do i find the serial number on my ipod touch 4th generation?

    i droped my ipod and nthe bottom right screen wont work. the ipod is disabled. the serial number oin the back is rubbed off. i NEED TO FIND THE SERIAL NUMBER!!!!!!

  • Help! R5770 Hawk - No display from wake-up

    No display from wake-up (Fans, lights are on, HDD spinning...). Latest ATI CCC 11.3 installed. To get displaying on monitor, I have to long press power button to shutdown (?), then press power button to restart (?). However, Win 7 stated "Resuming wi

  • Apple's new wireless keyboard

    Is it possible to 'easily' remove the keys on one of the new Apple, wireless keyboards - and replace them in other positions? The reason is that I now live in a small, remote village in the French Alps. When I was down at the coast I bought one of Ap

  • Fillable form added to existing pdf??? how???

    I just signed up the trial adobe form central - not sure if that's what i need - i have a do already - i just want to make the blank - fillable? can i use this to do that and if yes, how do i upload the existing form? Thanks, Mandy