Popup worked in RH9 but doesn't in RH10

Hello,
Is there a reason that a popup that worked in RoboHelp HTML 9 would generate an ehlpdhtm.js error after the project was converted to version 10? Whether there's a reason or not, how can I get it working again? The only difference between this particular popup and other similar ones on the page is that it was added to the project later and resides in the project root folder, while the others are in subfolders. This is the same organization that existed when the project was in RH9, and no changes have been made to the topic or the popup itself. OS is Win 7, output is chm.
Thanks!
Beth

Hi there
Perhaps try clicking Tools > Update DHTML Effects in Topics...
Cheers... Rick

Similar Messages

  • IPod Shuffle 2nd Gen. not working, music plays but doesn't sync\

    Hello,
    I have an iPod Shuffle 2nd Gen since a long time and it always worked perfectly. But now it has stopped working well. It has music stored inside and it plays it, it evencharges from the pc, but doesn't sync in iTunes, nor it shows up on Desktop. On iTunes the message in Italian says idt couldn't be identified and to reconnect the iPod and retry. I tried the Reset Utility but it says my iPod isn' supported even if it is a 2nd Gen iPod. The only positive thing is it shows up on System Profiler.
    I tried also turning off the iPod for 5 seconds and turning it again on, but the issue is still there.
    Have you got any suggestions?
    Thankyou

    Actually it turns out I can't even add to it. It claims it's synced to another library (which apparently is true, being as it was last used with my Macbook Pro). Somewhat new question, How do I combine the two libraries, as it's all mine, just on two different computers, one of which doesn't work unless it's in Hard Disk Mode.

  • JDev3.0's JSP and Applet works on NT but doesn't work on Win98, why?

    JDeveloper3.0 works fine on WindowNT machine when I run JSP files and Applet, but at home the JDeveloper3.0 cannot trigger the browser to display the result on my Windows98 machine when I run the JSP files or Applet. Why? How can I make it works for me at home. Other tools, such as J++6.0 and JBuilder work with Applet on the same machine. Who can help me?

    James,
    The JDeveloper 3.0 design time environment is not supported on Windows98. Some functions might work under Win98 but they are not supported.
    Sorry!
    Regards,
    Arun

  • Webdynpro ABAP called from IView JAVA works over http but doesn't over http

    Hello gurus, like I said in the subject, we have integrated inside our JAVA portal a WebDynpro ABAP and it's working good over http protocol (http://<servername>:<http_port>/irj/portal), but when you browse the portal over https protocol (https://<servername>:<https_port>/irj/portal), everything works fine exept the WebDynpro ABAP, is like if the javascript components didn't be loaded completly, because the buttons doesn't make anything, and only half of the table that is supossed to be loaded is showed.
    Do you know what kind of configuration I'm missing?
    Thanks and best regards

    You have to note here that for webdynpro ABAP applications, the http/https request is actually served by the backend server.
    So, while accessing your webdynpro ABAP application, the request will be like:
    https://<mybackendserver>:<backendport>/bc/sap/.....
    While creating a system object in your portal (System landscape), you will need to adjust the protocol to https and also set the appropriate https port of the backend server. Also, HTTPS/SSL communication should be enabled on your backend server.
    Please check the definition of your system object.
    You can find more information by turning on a HTTP trace and checking how the request is routed to the backend server upon accessing the WD4A application.
    Thanks,
    Shanti

  • Popups work in preview but not in compiled help

    Hello,
    I am using Robohelp 8 and have been having problems displaying popups in my compiled help. When I view a topic that contains popup links in the WYSIWYG, I can preview the popup topics with no problem, but when I compile and click on a link that contains a popup, nothing happens. I get a warning in the bottom of the browser window that says "Error on page" with no further details. Is there a setting somewhere that I need to adjust. I have never had this problem before.
    Thank you in advance for any input.
    Adrienne

    Hi there
    The popup functionality depends on the ehlpdhtm.js file. Years ago I had a large project where popups broke in topics that were heavily buried in a deep folder structure. I managed to make them work by amending the path to the js file so it was shorter. This also meant I had to copy the js file to the folder where the popups were broken.
    Cheers... Rick
    Helpful and Handy Links
    RoboHelp Wish Form/Bug Reporting Form
    Begin learning RoboHelp HTML 7, 8 or 9 within the day!
    Adobe Certified RoboHelp HTML Training
    SorcerStone Blog
    RoboHelp eBooks

  • Noise reduction works in preview but doesn't apply to file

    I have a file that I would like to apply noise reduction to. So in the tasks menu I click Clean Up Audio, then under Noise I click Noise... From there I can play with the Noise settings and get it to clean up nicely. But when I hit OK, it doesn't apply the noise reduction. It seems to be doing something to the audio because the waveform changes.. just not reducing the noise as previewed. Anybody know why it wouldn't be applying the effect? Other audio editing options seem to work just fine.

    It is a 16 bit 44.1 kHz mono sound effect.. it is noisy and sounds like it could have been 8 bit at some point in its life cycle.

  • Dreamweaver CS6 - Popups work in Chrome but not Explorer

    I am working with the "Open Browser Window" attribute. The popups open *almost* perfectly in Google Chrome (separate window, correct size, scrollbars, etc.), but when I click the same link in Internet Explorer it goes a bit haywire opening a couple other popup links from the page AND opening the initial link in a new tab. 
    My internet options are set correctly to "Always open popups in a new window".  My question is, is there a petition to have Internet Explorer removed from our existence?  (Kidding!)  If someone has a solution for this Explorer condition, I will appreciate the guidance.
    Regarding *almost* perfectly, my popup scrollbars seem to be frozen in Google Chrome - they are present, but they don't move.  Any ideas?

    The site is not on a server yet, so no link.  I'm kind of learning as I go, so can you tell me, specifically, which code you need and I'll copy it here if the code below isn't it?
    This is the code for the links:
        <table width="250" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td width="95" height="300"> </td>
            <td width="155" valign="top" class="navtext" onclick="MM_openBrWindow('extras.html','Extras','scrollbars=yes,resizable=yes,width=650,h eight=620')" onfocus="MM_openBrWindow('extras.html','Extras','scrollbars=yes,resizable=yes,width=650,h eight=620')"><a href="projector.html" target="new" onclick="MM_openBrWindow('projector.html','projector','scrollbars=yes,width=650,height=62 0')" onmouseover="MM_swapImage('servicesmain','','images/services/1projector.jpg',1)">Custom Projector Package</a><br />
              <a href="ceremonies.html" target="new" onclick="MM_openBrWindow('ceremonies.html','ceremonies','scrollbars=yes,resizable=yes,wid th=650,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/2ceremonies.jpg',1)">Wedding Ceremonies</a><br />
              <a href="receptions.html" target="new" onclick="MM_openBrWindow('receptions.html','receptions','scrollbars=yes,resizable=yes,wid th=650,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/3receptions.jpg',1)">Wedding Receptions</a><br />
              <a href="facades.html" target="new" onclick="MM_openBrWindow('facades.html','facades','scrollbars=yes,resizable=yes,width=650 ,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/4facades.jpg',1)">Facades and Scrims</a><br />
              <a href="lighting.html" target="new" onclick="MM_openBrWindow('lighting.html','lighting','scrollbars=yes,resizable=yes,width=6 50,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/5lighting.jpg',1)">Custom Lighting</a><br />
              <a href="corporate.html" target="new" onclick="MM_openBrWindow('corporate.html','corporate','scrollbars=yes,resizable=yes,width =650,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/7corporate.jpg',1)">Corporat e Events</a><br />
              <a href="life.html" target="new" onclick="MM_openBrWindow('life.html','life','scrollbars=yes,resizable=yes,width=650,heigh t=620')" onmouseover="MM_swapImage('servicesmain','','images/services/6life.jpg',1)">Life Celebrations</a><br />
              <a href="school.html" target="new" onclick="MM_openBrWindow('school.html','school','scrollbars=yes,resizable=yes,width=650,h eight=620')" onmouseover="MM_swapImage('servicesmain','','images/services/8school.jpg',1)">School Events</a><br />
              <a href="photobooth.html" target="new" onclick="MM_openBrWindow('photobooth.html','photobooth','scrollbars=yes,resizable=yes,wid th=650,height=620')" onmouseover="MM_swapImage('servicesmain','','images/services/9photobooth.jpg',1)">Photo Booth</a><br />
              <a href="props.html" target="new" onclick="MM_openBrWindow('props.html','props','scrollbars=yes,resizable=yes,width=650,hei ght=620')" onmouseover="MM_swapImage('servicesmain','','images/services/10props.jpg',1)">Party Props</a><br />
              <a href="extras.html" target="new" onclick="MM_openBrWindow('extras.html','extras','scrollbars=yes,resizable=yes,width=620,h eight=620')" onmouseover="MM_swapImage('servicesmain','','images/services/11extras.jpg',1)">Extras</a> </p></td>
          </tr>
        </table>
    This is the code for an individual popup window:
    <body>
    <div id="popup">
      <table border="0" cellspacing="0" cellpadding="15">
        <tr>
          <td align="center" valign="bottom"><img src="images/popuplogo.png" width="196" height="75" /></td>
          <td align="center" valign="bottom"><img src="images/pop7corporate.png" width="334" height="36" /></td>
        </tr>
        <tr>
          <td colspan="2"><img src="images/7corporate.png" width="590" height="299" /></td>
        </tr>
        <tr>
          <td colspan="2" class="textwhite"><p>There&rsquo;s nothing like the pressure of planning a corporate party. You work with these people day in and day out and now you have to put an outing or event together that will be fun, memorable, and universally accepted. You might as well as well be asked to solve world hunger!</p>
            <p>WE&rsquo;RE HERE TO HELP!!</p>
          <p>With experienced emcees, state-of-the-art sound systems and well-rounded music libraries, we are the best choice for the next event you are planning.</p></td>
        </tr>
            <tr>
          <td colspan="2" align="center" class="textwhite"><span class="navtextsmall">© 2013 xxx All Rights Reserved</span></td>
        </tr>
      </table>
    </div>
    </body>

  • Related Topic Popups Worked in RH6 but now do not in RH8

    I am sorry if this is elsewhere but I haven't found it yet.
    ISSUE:  I just upgraded to RH8 from RH6 and the related topic popups that were converted over (from RH6 top RH8) as well as all graphic popups are not working.  The only links I can get to generate are links to another topic within my project.  All of these links and popups where working the last time the project was generated in RH6.
    Thanks.

    Hi there
    Perhaps try clicking Tools > Update DHTML Effects in Topics?
    Cheers... Rick
    Begin learning RoboHelp HTML 7 within the day - $24.95!
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

  • I-work 09 installs but doesn't open on my macbook pro 10.5.8

    I recently had the trial version but that ran out, so i bought the boxed version......1st i installed the dvd and it still asked me for the serial number.  As there is no serial number i went to applications, dragged the i-works folder to the trash and emptied it.....when i tried to reinstall the DVD it seemed to install ok and told me instalation complete......now everytime i try to open any part of i-works, numbers, pages or keynote it tells me "that it quit unexpectedly".  i have tried dragging it to the trash, emptying it and then reinstalling the DVD.......but i get the same response......
    Please help, not only is this annoying, but i need it to complete work
    any help will be greatly appreciated
    Thanks
    Dave

    You need to COMPLETELY eliminate the demo version:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=105&mforum=iworktips ntrick
    Peter

  • Apple ID works on iPhone, but doesn't work on iPad

    Hello everyone,
    my Apple ID was always sync among all my devices, but today iPad, when I tried to install new app, showed a window with "this apple id cannot be used for the itunes store. please try another apple id". It has never happened before and I never changed my apple ID. For iPhone in iTunes store it works fine.
    I've tried rebooting iPad, registering on apple id via apple.com - nothing helps.
    What to do with that? SOS!

    Check Settings > iTunes & App Stores on your iPad.  If the Apple ID is incorrect, then correct it.  If the Apple ID is correct, try signing out of it and signing back in.

  • When I external edit an aperture photo using Photoshop Elements 9 and then get out, the changes are not reflected in Aperture when I return - this used to work for me but doesn't seem to have for some time - help please?

    Have used Aperture for some time - at some point this stopped working - not sure when
    workflow:
    click photo and elect to use the external editor (Photoshop Elements 9)
    Copy of the photo is created in Aperture with the "O" badge and I am rolled out to Photoshop
    Have to change the type to 8-bit in Photoshop to start making changes
    When done and I exit I am prompted to save the photo
    On returning to Aperture however the "O" badged photo does not get updated/reflect my changes
    Other Things:
    I can find a changed photo sitting in the Aperture Library using finder or Photoshop itself - so I know changes have been made a new file saved (TIFF).
    I am wondering if I am missing some (new) preference such that the changes are not proerly being saved for re-display/storage in the Aperture Library
    I am running Lion OSX at the moment but the behaviour was the same under Snow Lepoard versions.
    Current version of Aperture is 3.1.3, Elements is 9.0
    Any help/suggestions greatfully received

    Try using psd.  Some rerports indicate some confustion between the apps with TIFF.  See:
    https://discussions.apple.com/message/15921933#15921933
    I cannot confirm, nor test, since I use PS CS5, and not Elements.
    Ernie

  • RTMP works on Android, but doesn't work on iOS!

    Hi guys,
    I'm really stuck, don't know why recently my app can't play some rtmp streamers, it can only work with some others. Previously there was no issue.
    Could you see the below peice of code. This one works fine on PC and Android, but not on iOS.
    import flash.events.*;
    import flash.media.Video;
    import flash.net.*;
    var client:MediaClient = new MediaClient();
    var connection:NetConnection = new NetConnection();
    connection.client = client;
    // connection.proxyType = "best";
    connection.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
    connection.addEventListener(SecurityErrorEvent.SECURITY_ERROR, securityErrorHandler);
    connection.connect("rtmp://66.160.142.198/live");
    var stream:NetStream;
    var video:Video = new Video(480, 320);
    addChild(video);
    function netStatusHandler(evt:NetStatusEvent):void
       switch(evt.info.code)
           case "NetConnection.Connect.Success":
               stream = new NetStream(connection);
               stream.client = client;
               stream.addEventListener(NetStatusEvent.NET_STATUS, netStatusHandler);
               stream.addEventListener(AsyncErrorEvent.ASYNC_ERROR, asyncErrorHandler);
               stream.play("vtv11");
               video.attachNetStream(stream);
               break;
           default:
               // output evt.info.code on screen
               break;
    function securityErrorHandler(evt:SecurityErrorEvent):void
       // output evt.toString() on screen
    function asyncErrorHandler(evt:AsyncErrorEvent):void
       // output evt.toString() on screen
    and here is MediaClient class:
    package
       public class MediaClient
           public function onBWDone(...args):void
               // ouput args
           public function onFI(...args):void
               // ouput args
           public function onMetaData(...args):void
               // ouput args
           public function close(...args):void
               // ouput args
    I tried to output some debug text, I saw it netconnecton was connected, the server invoked onFI() every about 2 seconds, but there's no video and sound. (tested on iOS 4, both 3G and wifi).
    I also tried alot of options of the video, netstream and netconnection classes and tried with OSMF, but can't get it work. (I'm using AIR 3.0 sdk).
    Thank you so much!

    Can you post what type of stream you're trying to view? 
    There are compatibility issues with H.264 and iOS over RTMP/RTMFP.  If your video stream is H.264, then you won't be able to view it on iOS over RTMP.  In that case, though, you *should* still be able to hear the audio (depending on what audio codec you're using).

  • Impdp work with system but doesn't work with another user

    Hi,
    We have troubles with import of transportable tablespace, when i try to import it with system the import is done currectly, when i try to use another user we receive this message :
    impdp bmcese/***** directory=TTS_DIR dumpfile=RMCCO_RMC_ANA_STS_ABB_CO121001.dmp TRANSPORT_DATAFILES=/data/TTS/RMCCO_RMC_ANA_STS_ABB_CO121001.dbf logfile=tts_imp_proc.log
    ORA-31626: il job non esiste
    ORA-31633: impossibile creare la tabella principale "BMCESE.SYS_IMPORT_TRANSPORTABLE_05"
    ORA-06512: a "SYS.DBMS_SYS_ERROR", line 95
    ORA-06512: a "SYS.KUPV$FT", line 1020
    ORA-00959: tablespace 'RMCCO_RMC_UTZ_PP080531' inesistente
    this happens only on development server and it work into test server, so i don't think that the problem is in grants(i controlled that are the same and i have tried with DBA grant too and we received the error).
    Another strange thing is that tablespace 'RMCCO_RMC_UTZ_PP080531' is not included into the dump that i try to import and it doesn't exist in the database.
    Thx
    Edited by: user11272630 on 10-ott-2012 8.40

    I've extraced the role/privs granted to BMCESE using this query
    select granted_role from DBA_ROLE_PRIVS where grantee='BMCESE'
    union
    select privilege from DBA_SYS_PRIVS where grantee='BMCESE';
    Result on Server where the impdp doesn't work:
    GRANTED_ROLE
    CONNECT
    CREATE ANY TABLE
    CREATE PROCEDURE
    CREATE SESSION
    CREATE TABLE
    CREATE TABLESPACE
    CREATE TRIGGER
    CREATE VIEW
    DATAPUMP_IMP_FULL_DATABASE
    DROP TABLESPACE
    EXECUTE_CATALOG_ROLE
    EXPORT FULL DATABASE
    IMPORT FULL DATABASE
    IMP_FULL_DATABASE
    QUERY REWRITE
    RESOURCE
    UNLIMITED TABLESPACE
    results on server where the impdp work:
    GRANTED_ROLE
    CONNECT
    CREATE PROCEDURE
    EXECUTE_CATALOG_ROLE
    IMP_FULL_DATABASE
    UNLIMITED TABLESPACE
    BMCESE has more grant and privs on the server where the impdp doesn't work.
    I've controlled the grant of read, write on the directory.
    I've tried to give DBA priv too to the user.
    So i don't think in a priv problem, i think that the problem is in the unexistent tablespace reported in the error.
    Someone has another suggest to give.
    Thx

  • MS Access 2010 Iscurrentwebuseringroup function works in desktop but doesn´t in web

    Hi,
    i have a web DB in sharepoint online.  I need to know who is the current user to show a specific form.  The Iscurrentwebuseringroup("name of the group") function works fine in the desktop app (I use the function in a textbox) but when
    the app is open from the web browser don´t show the value (true or false).
    can you help me? 
    Thanks!!

    I have discovered the solution to this problem and am posting here in case anyone else experiences this issue.
    Under network preferences, I changed the service order of my network interfaces.
    The VPN interface is now placed above my everyday Airport interface.
    When not in use, VPN automatically places itself below the Airport service. When I connect with VPN, this service automatically returns to the top and I can connect correctly to my place of work (including network-restricted areas).
    Hope this helps anyone in a similar situation.

  • "Create .dmg" - worked in Tiger, but doesn't in Leopard?

    Can anyone help me troubleshoot this? I don't remember where I found it, but I had an Automator plugin that worked beautifully in Tiger, taking a selected item in the Finder, created a .dmg of it (prompting you for the preferred title first), then asking you whether or not to delete to original file when done. In Leopard, it silently fails. What gives?
    Here's the details:
    First, there's the "Get Selected Items" step.
    Then, an AppleScript:
    on run {input, parameters}
    -- Set some basic details about the file
    tell application "Finder"
    set noFiles to count input
    set fileKind to kind of item 1 of input
    end tell
    -- If there is nothing selcted, cancel action
    if noFiles = 0 then
    display dialog "There are no files or folders selected. Please select some and try again" buttons {"OK"} default button 1
    -- Is it a folder, or a group of files?
    else if noFiles = 1 and fileKind is "Folder" then
    tell application "Finder"
    -- Get the folder
    set theFile to item 1 of input
    -- Pick a name for the image
    set imageName to name of theFile
    set imageName to text returned of (display dialog "Please choose a name for the Disk Image" default answer imageName)
    -- Pick location for image
    set imageLocation to container of theFile as string
    set imageLocation to POSIX path of imageLocation
    set imageLocation to quoted form of (imageLocation & imageName & ".dmg")
    -- Original Location
    set originalFile to theFile as string
    set originalFile to quoted form of POSIX path of originalFile
    end tell
    -- Now make it!
    do shell script "hdiutil create -srcfolder " & originalFile & " -volname " & quoted form of imageName & " " & imageLocation
    -- Ask if I want the folder deleted
    tell application "Finder"
    set deleteOriginal to display dialog "The Disk Image was successfully created. Do you wish to delete the original folder?" buttons {"Keep", "Delete"} default button "Delete"
    if button returned of deleteOriginal is "Delete" then delete theFile
    end tell
    else
    tell application "Finder"
    -- Pick a default name for the image
    if noFiles = 1 then
    -- If there is only one item set default to its name
    set imageName to name of item 1 of input
    else
    -- Otherwise use "My Disk Image"
    set imageName to "My Disk Image"
    end if
    -- Ask the user for the disk's name
    set imageName to text returned of (display dialog "Please choose a name for the Disk Image" default answer imageName)
    -- Where the Image will end up
    set imageLocation to container of (item 1 of input) as string
    set imageLocation to POSIX path of imageLocation
    -- Set up the temp folder
    set tempFolder to imageLocation & ".DiskImageTemp/"
    end tell
    -- Attempt to remove any previous temp folders
    try
    do shell script "rm -r " & quoted form of tempFolder
    end try
    -- Copy the files for the disk image to the tmp folder
    do shell script "mkdir " & quoted form of tempFolder
    repeat with i from 1 to noFiles
    tell application "Finder"
    set originalFile to quoted form of POSIX path of (item i of input as string)
    set newfile to quoted form of (tempFolder & name of item i of input)
    end tell
    -- Copy the files
    try
    do shell script "cp " & originalFile & " " & newfile
    on error
    do shell script "cp -R " & originalFile & " " & newfile
    end try
    end repeat
    -- Create the disk image
    do shell script "hdiutil create -srcfolder " & quoted form of tempFolder & " -volname " & quoted form of imageName & " " & quoted form of (imageLocation & imageName & ".dmg")
    -- Delete the temporary files
    do shell script "rm -r " & quoted form of tempFolder
    tell application "Finder"
    -- Delete the original?
    set deleteOriginal to display dialog "The Disk Image was successfully created.
    Do you wish to delete the original file(s)?" buttons {"Keep", "Delete"} default button "Delete"
    if button returned of deleteOriginal is "Delete" then
    repeat with i from 1 to (count (input))
    delete item i of input
    end repeat
    end if
    end tell
    end if
    end run
    Since I'm not an AScript expert, I have no clue where to even begin testing that stuff. I know some things have changed in Leopard's AppleScript routines though, so I'm guessing that's where the problem lies...
    Anyone have any clues as to what needs fixing?
    TIA,
    John

    John I. Clark wrote:
    Okay, V.K., you figured it out! Although it seems like an extremely unintuitive solution...
    Not really.
    the reason is that apple script proper uses slightly different structure.
    If you want to use your script from Script Editor, use this:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 335px;
    color: #000000;
    background-color: #ADD8E6;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    on run
    -- Set some basic details about the file
    tell application "Finder"
    set input to selection
    set noFiles to count input
    set fileKind to kind of item 1 of input
    end tell
    -- If there is nothing selcted, cancel action
    if noFiles = 0 then
    display dialog "There are no files or folders selected. Please select some and try again" buttons {"OK"} default button 1
    -- Is it a folder, or a group of files?
    else if noFiles = 1 and fileKind is "Folder" then
    tell application "Finder"
    -- Get the folder
    set theFile to item 1 of input
    -- Pick a name for the image
    set imageName to name of theFile
    set imageName to text returned of (display dialog "Please choose a name for the Disk Image" default answer imageName)
    -- Pick location for image
    set imageLocation to container of theFile as string
    set imageLocation to POSIX path of imageLocation
    set imageLocation to quoted form of (imageLocation & imageName & ".dmg")
    -- Original Location
    set originalFile to theFile as string
    set originalFile to quoted form of POSIX path of originalFile
    end tell
    -- Now make it!
    do shell script "hdiutil create -srcfolder " & originalFile & " -volname " & quoted form of imageName & " " & imageLocation
    -- Ask if I want the folder deleted
    tell application "Finder"
    set deleteOriginal to display dialog "The Disk Image was successfully created. Do you wish to delete the original folder?" buttons {"Keep", "Delete"} default button "Delete"
    if button returned of deleteOriginal is "Delete" then delete theFile
    end tell
    else
    tell application "Finder"
    -- Pick a default name for the image
    if noFiles = 1 then
    -- If there is only one item set default to its name
    set imageName to name of item 1 of input
    else
    -- Otherwise use "My Disk Image"
    set imageName to "My Disk Image"
    end if
    -- Ask the user for the disk's name
    set imageName to text returned of (display dialog "Please choose a name for the Disk Image" default answer imageName)
    -- Where the Image will end up
    set imageLocation to container of (item 1 of input) as string
    set imageLocation to POSIX path of imageLocation
    -- Set up the temp folder
    set tempFolder to imageLocation & ".DiskImageTemp/"
    end tell
    -- Attempt to remove any previous temp folders
    try
    do shell script "rm -r " & quoted form of tempFolder
    end try
    -- Copy the files for the disk image to the tmp folder
    do shell script "mkdir " & quoted form of tempFolder
    repeat with i from 1 to noFiles
    tell application "Finder"
    set originalFile to quoted form of POSIX path of (item i of input as string)
    set newfile to quoted form of (tempFolder & name of item i of input)
    end tell
    -- Copy the files
    try
    do shell script "cp " & originalFile & " " & newfile
    on error
    do shell script "cp -R " & originalFile & " " & newfile
    end try
    end repeat
    -- Create the disk image
    do shell script "hdiutil create -srcfolder " & quoted form of tempFolder & " -volname " & quoted form of imageName & " " & quoted form of (imageLocation & imageName & ".dmg")
    -- Delete the temporary files
    do shell script "rm -r " & quoted form of tempFolder
    tell application "Finder"
    -- Delete the original?
    set deleteOriginal to display dialog "The Disk Image was successfully created.
    Do you wish to delete the original file(s)?" buttons {"Keep", "Delete"} default button "Delete"
    if button returned of deleteOriginal is "Delete" then
    repeat with i from 1 to (count (input))
    delete item i of input
    end repeat
    end if
    end tell
    end if
    end run</pre>
    Many, many thanks;
    No problem. Good luck!

Maybe you are looking for

  • How do i connect my apple  tv to my tv but it doesnt have an hdmi input

    How do i connect my apple tv to my tv if my tv doesnt have an hdmi input ??? i have the apple tv  2 and didnt realize when i bought it so what cord do i need to make it work ???

  • Can no longer print with Laserjet 1018 under Yosemite (10.10.1)

    Hello all, I used to be able to use the HP Laserjet 1020 driver from Apple's HP Print Drivers 3.0 kit to print documents on my Laserjet 1018. It worked like a charm. Now that I have done a clean install of Yosemite, updated to 10.10.1, and installed

  • How to Import/Export database tables from one server to other in oracle8i

    Hello friend, Please can any one tell me how to import/export groups of database tables from one server with oracle to another using VB.net. It would be nice if some one can provide some code of it. I am a software developer and I am in middle of a l

  • Reg: Split Valuation

    Hi All, I have a Problem I activated the split valuation for a specific plant now in MM master for that plant alone the valuation category in accounting view is in display mode i couldn't enter any thing here where as if i check for any other plant i

  • What's my name

    I feel a little sillit asking this question but. If I choose the base station (with connected USB Disk) from my network list, I get the usual connect to server dialogue box. I have the password to be the same as the network password, so I guess it's