Launchin an application and waiting until it has quit

Hi,
I'm trying to use automator to swap different users settings before launching an application. This much is straight forward. What I would like to do is to save the settings when the application is closed.
But I can't work out how to launch the application and then have the workflow wait until it closes again before backing up the user settings. Is this possible just using automator or do I need to start using apple scripts?
Thanks
Nic

Well, yes, you could have a workflow wait until an application closes. The workflow would loop forever checking to see if the app is running, and if isn't then backup the settings and stop looping. Hmm, you'd want to use some AppleScript for that. I used "TextEdit" as the application to test this, so you'd want to change that to the name of the app you are checking. It pauses for 5 seconds, but feel free to adjust that to whatever.
repeat
if application "TextEdit" is not running then exit repeat
delay 5
end repeat
Add the action "Run AppleScript" (Utilities category, or Automator app) as the first action before your actions that backup the settings. Just delete everything in the "Run AppleScript" action and then add the above script. The default script in "Run AppleScript" is for passing stuff from a previous action to the next action, but since this is the first action you don't need the default script. (It shouldn't hurt to leave it, either, but you don't need it.)
When the workflow is run, it'll stay stuck in the first action waiting for TextEdit (or your app) to quit. When it finally does, the workflow will move to the next actions you've provided for backing up the settings.
Hmm. Thinking a bit...
One alternative to this would be to create a workflow to quit the application, and then have it backup the settings. You would have to use the workflow instead of quitting the app normally, that is you couldn't quit from the menu nor use Cmd-Q. There's an action called "Quit Application" in Utilities category (or Finder action). Use that as your first action, then possibly the "Pause" action (Utilities category, Automator app) set to 5 or 10 seconds to make sure the app has quit, and then
your actions to make the backup for the settings.
A couple of ideas there.

Similar Messages

  • Applescript to launch an application and wait till it exits

    I have written the applescript to launch an application and wait till it exits and but it is not working. Here is the code for that
    tell application "/Applications/Pages.app" to activate
    tell application "/Applications/Pages.app"
        repeat until it is not running
        end repeat
    end tell
    But when I tried to close the app, the script is still running. I think the reason is , even though I closed the window, that process is still running. Can you please help me to solve this problem?

    Trying to make this kind of thing work from the script editor is going to give you headaches. A better approach is to create a script application.  Copy the following code into the Script Editor, and then save it as an application with the "Stay open after run handler" checkbox checked. Then run the resulting script application directly.
    on run
      tell application "Pages" to activate
      -- add a longish delay to allow the application to start
      delay 5
    end run
    on idle
      if application "Pages" is not running then
      -- the application has quit, so go to the 'on quit' handler
      quit
      end if
    end idle
    on quit
      -- do whatever you want to do after the application has quit
      -- allow the app to quit itself
      continue quit
    end quit

  • Bought Premier Elements yesterday. EVERY time I try to open a set of clips with Editor, I am told I have to sign into my Adobe first. I do this and wait for several minutes for the password dialogue box to open, enter my password. then wait and wait until

    Bought Premier Elements 13 yesterday. EVERY time I try to open a set of clips with Editor, I am told I have to sign into my Adobe first. I do this and wait for several minutes for the password dialogue box to open, enter my password. then wait and wait until my pw is recognized. Accept agreement. Agreement screen disappears and I'm back where I started. Try to open video clips with editor again and get the same demand to log in. Please advise asap. thx

    Oldcameraman
    Please do not duplicate a thread. The threads are answered as soon as possible. We are not Adobe. Just user to user.
    I have answered your most recent of the duplicates
    Premier Elements 13 Organizer Works. Editor doesn't. Log in doesn't work
    It is uncertain just how far we can go to help you since you do not appear to have Premiere Elements any
    longer.Seems you demanded a refund from Adobe Chat, got it, and now are left with a non purchased program which I
    am not sure can be used.
    Duplicates tend to confuse the person asking the question as well as those attempting to reply. As I suggested in the
    above mentioned thread, try to sort out your situation with Adobe via its Adobe Chat.
    ATR

  • Yesterday I ran Disk Utility and came up with hundreds of permissions that needed repair.  I hit the "repair permissions" button and waited until it said they were repaired, but just for fun I hit the v

    Yesterday I ran Disk Utility and came up with hundreds of permissions that needed repair.  I hit the "repair permissions" button and waited until it said they were repaired, but just for fun I hit the "verify permissions" button again, and they all came back!  I did this several more times and every time I would hit "verify permissions" I would get the same list.  What's up?  I've always suspected diagnostic programs, but this is Apple's own!

    Ignore them. They aren't errors. You will keep seeing the same ones. As long as you get the message "Permissions repair complete," you're OK.
    http://support.apple.com/kb/TS1448?viewlocale=en_US

  • How to make a slide wait until user has answered a question correctly, even after activating a smartshape?

    Background:
    I have created a quiz in which the user must answer each question correctly before proceeding to the next slide. This is what I did:
    Set preferences to Settings > Required > Answer All - The user must answer every question to continue
    Set the number of attempts on the question level to Infinite
    Made the Next button invisible and disabled the playbar
    This way, the user can only proceed to the next question slide with the Submit process – and, since attempts are infinite, that means only after successfully answering the question.
    Current goal: 
    I want the user to be able to click on a prompt for a hint. To set this up, I did the following:
    Created a smartshape labeled “click_for_hint” displaying text that says, “Click here for a hint”
    Created a smartshape labeled “hint” displaying text hint
    Set “click_for_hint” to show “hint” on success
    Now, when the user clicks on the text that says, “Click here for a hint,” the hint pops up. So, that works – awesome! However, once the hint is activated, I would like for the user to be able to continue infinite attempts until successfully answering the question… and only then, after answering correctly, proceed to the next slide.
    The problem:
    If the user has submitted one or more incorrect answers and then activates the hint, the slide no longer waits until the user has answered the question correctly. Instead, it automatically resumes playing, proceeding to the next slide. I tried setting the smartshape “hint” to pause on success, but that did not work.
    Is there a way to make the slide wait until the question is answered correctly before proceeding to the next slide, even after the hint has been activated?

    Are you aware of the fact that your Required setting can cause problems, blocking the user? It is also totally unnecessary, because you have infinite attempts on question level, and did hide the Next button (hope you don't need Review, otherwise I would recommend not to hide that button but to drag it under the Clear button: Question Question Slides in Captivate - Captivate blog)
    The hint problem is linked with the fact that a simple action will release the playhead. I would like to see the timeline of the slide, to compare the pausing points of the shape button and the question slide. And maybe this blog post can also clarify difference between simple/advanced: Why choose Standard over Simple action? - Captivate blog
    As for shape buttons on question slides: Buttons on Question/Score Slides in Captivate 6? - Captivate blog

  • Return Code value using 'starting new task' and 'wait until'

    I'm having a minor issue with some return code values in my ABAP.
    This is what part of it used to look like before I modified it:
    With Code in version 1, the sy-subrc was not always zero, sometimes it would be 4.
    That was fine, and my abap would do something based on the non-zero RC.
    had a need to implement an RFC timeout, the only way I could see to do it was to use 'starting new task' etc as seen in Version 2.
    However, with my changes, sy-subrc is always zero.
    The ABAP runs fine but I know that sy-subrc should sometimes be 4, even when it returns within the allotted 60 seconds.
    Maybe I've coded it incorrectly.
    Can someone point me in the right direction?
    #>> Start of VERSION 1
      call function 'MY_FUNCTION_MODULE'
           destination RFCDEST
           tables
                orders_list          = t_orders_packet
                apo_orders_list      = t_apo_orders
                apo_resources        = t_apo_resources
           exceptions
                COMMUNICATION_FAILURE    = 1 MESSAGE MSG_TEXT
                SYSTEM_FAILURE           = 2 MESSAGE MSG_TEXT
                NO_ORDERS_SUPPLIED       = 3
                NO_PEGGED_ORDERS_FOUND   = 4
                ORDERID_CONVERSION_ERROR = 5
                OTHERS                   = 6.
    if sy-subrc is initial.
      * do some stuff as RC was 0
    else.
    * log non-zero return code etc
    endif.
    * << End of Version 1

    And now Version 2.
    I didn't put this into the 1st post as the formatting goes bonkers.
    #>> Start of VERSION 2
      call function 'MY_FUNCTION_MODULE'
           destination RFCDEST
           starting new task 'taskname'
           performing receive_result on end of task
           tables
                orders_list          = t_orders_packet
                apo_orders_list      = t_apo_orders
                apo_resources        = t_apo_resources
           exceptions
                COMMUNICATION_FAILURE    = 1 MESSAGE MSG_TEXT
                SYSTEM_FAILURE           = 2 MESSAGE MSG_TEXT
                NO_ORDERS_SUPPLIED       = 3
                NO_PEGGED_ORDERS_FOUND   = 4
                ORDERID_CONVERSION_ERROR = 5
                OTHERS                   = 6.
      WAIT UNTIL results_received = 'X' UP TO 60 SECONDS.
    if sy-subrc is initial.   << Now this is always ZERO
      * do some stuff as RC was 0
    else.
    * log non-zero return code etc
    endif.
    FORM receive_result USING iv_taskname.
      RECEIVE RESULTS FROM FUNCTION 'MY_FUNCTION_MODULE'
           tables
                orders_list          = t_orders_packet
                apo_orders_list      = t_apo_orders
                apo_resources        = t_apo_resources
           exceptions
                COMMUNICATION_FAILURE    = 1 MESSAGE MSG_TEXT
                SYSTEM_FAILURE           = 2 MESSAGE MSG_TEXT
                NO_ORDERS_SUPPLIED       = 3
                NO_PEGGED_ORDERS_FOUND   = 4
                ORDERID_CONVERSION_ERROR = 5
                OTHERS                   = 6.
      results_received = 'X'.
    endform.                    "receive_result
    * < End of Version 2

  • When downloading course materials from Moodle, why do new Firefox windows open repeatedly and indefinitely until I FORCE QUIT?

    I use Moodle for my University courses. Moodle recommends using Firefox. Lately, when I download materials for my courses, Firefox begins to rapidly open new blank windows and will not stop until I Force Quit. I also am left with as many blank documents in my Downloads Folder as the amount of opened windows. Occasionally, when my required materials are successfully downloaded, the document will cause the aforementioned problem to begin again. I have removed Firefox and then reloaded and it is still occurring. I have attempted to use Safari and have not had the same problem. I would prefer to use Firefox but am reaching the limit of my patience and am about to say goodbye forever.

    See [[Firefox keeps opening many tabs or windows]].

  • Need ajax to make user wait until server has performed task.

    Admittedly I'm a total noob to ajax AND somewhat even javascript and have in fact been avoiding it, despite having been a CF dev for nearly ten years.  But here I am wondering if someone would be gracious to help point me in the right direction since I can't seem to escape it this time.
    Here's the scenario.  This is for an ecommerce site that sells downloads.  Once the purchase clears, the application begins the creation and placement of the purchased files.  The user is given the success page with a link to the download area.  They click into the download area.  Now the creation of their files may or may not yet be complete.  SO what I must do is load the page which then displays *wait, this file is being created* images next to the link of each file until the file is complete.  Then the link becomes active.
    I've created my cfc that receives the ID of the record to check and returns its status (1 or 0).
    Well, now what?  I know I need to put some code on the page so it can display the wait image, make those calls to the database until it gets a 1 then change the image to a link but ?!?!? I'm at a total dead stop here.  I can't even find any similar apps on the net to work off of.
    Can you help me know the steps/tags to use?
    I have CF8 Enterprise and own the server/site so have complete control over any all setttings.
    TIA!

    Thanks for the added info, ValC!
    Okay, this is but a suggestion/thought on how one could approach such a task.
    Note: I use jQuery for my Ajax library but other libraries (MooTools, Prototype, Dojo, etc.) should have similar solutions and work equally well. I simply prefer jQuery.
    Since we're dealing with multiple CFM pages, I might take the following approach:
    Hold off creating the files to the success page (if this process is not there already)
    Use an Ajax call to the appropriate CFM/CFC, from the success page, to start the file generation process
    Add an event listener to this Ajax call
    While the call is in progress, show your wait image
    When the call reports back, display the link to the download page
    Here's a very basic way jQuery might be used with such an approach.
    Success page's JavaScript:
    <script src='load_jquery_lib.js'></script>
    <script>
      // jQuery fires this function when the DOM is loaded and ready to use/manipulate
      $(document).ready(
         function(){
            // set the path to your 'action' page or CFC
            _url = 'path/to/mycfc.cfc?method=doFileGeneration&returnformat=json';
         // .getJson gets data from the specified URL (above), passing the params (data)
            // via an HTTP GET action, and sets a function (callback) to run when it receives
            // a message back from the server
            $.getJSON(
              _url,
              { var1: #some_var#,
                      var2: #some_other_value# },
              doReturnAction
            // the following will set an image to display in the div with matching id attribute
            $('#my_div_with_wait_image').html( 'show wait image: <img src="" />' );
      function doReturnAction( data, status ){
         if( data.FILE_CREATED == true ){
              // we're good. code below clears image set above and adds a download link, etc.
              $('#my_div_with_wait_image').html( 'now show download link: <a href=""></a>' );
         else{
              // danger! something went wrong. show error message.
              $('#my_div_with_wait_image').html( 'some error message' );
    </script>
    The cfc method called from the JS above:
    <cffunction name="doFileGeneration" output="true" access="remote" returntype="void">
         <cfargument name="var1" required="true" />
            <cfargument name="var2" required="true" />
         <cfscript>
              results = StructNew();
                    // we'll assume that the generation method returns a boolean
              results.file_created = method_to_generate_files( arguments.var1, arguments.var2 );         
              theJSON = SerializeJSON( results );              
         </cfscript>
         <cfoutput>#theJSON#</cfoutput>         
    </cffunction>
    This is all just a basic skeleton of one way you could go about handling your tasks. I hope it helps get you started.
    Best,
    Craig

  • Schedule reports and wait until the report complete

    I have wrote a java program to call BO SDK to schedule several crystal reports (same report, run at once with different parameters) to an unmanage disk. The program run successfully and can generate the reports. I would like to add an email notification function once all the reports are generated. How can I know the status of all the reports is completed?
    Does anyone know the answer? Many thanks.

    Hi Grace,
    BO CMC has feature for e-mail notification
    goto CMC
    navigate to that report.
    rigth click>> Manage->>Default Settings-->>Notification. (Email Notification: )
    Email notification based on:
          A job has been run successfully .
                      Configure notification message
                                               Use the Job Server's defaults
                                               Set the values to be used here:
        A job has failed to run 
                       Configure notification message
                                            Use the Job Server's defaults
                                            Set the values to be used here:
    I dont know about doing all this through SDKs but you can try doing this step by step frist through CMC and then going for infovie and then your java program.
    See if this could achieve your reqiurements
    Thanks,
    Praveen.

  • Compiling out of process... and wait until run app problem

    Hi
    jdev 11.1.1.5
    When I run my app in sometimes it is very time consuming and in log I see
    12:25:37 PM] Appc compilation begin
    Compiling out of process...
    C:\Oracle\Middleware\jdk1.6.0_30\jre\bin\javaw.exe -Xms128m -Xmx512m -Xverify:none -client -classpath C:\Oracle\Middleware\jdk1.6.0_30\lib\tools.jar;C:\Oracle\Middleware\wlserver_10.3\server\lib\weblogic.jar -Dweblogic.jsp.diagnosticWithAbsolutePath=true -Dweblogic.classloader.noJarSigners=true weblogic.appc "@C:\Users\M_Ahari\AppData\Local\Temp\appcCommandList9207331811198721392.txt"
    In some cases for example 1 hour till application run and we found if we end process javaw.exe in process explorer then application go up very fast .
    what is the problem ??
    Thanks

    Check this if its helpful.
    http://jobinesh.blogspot.com/2011/08/compiling-large-projects-from.html
    https://cn.forums.oracle.com/forums/thread.jspa?threadID=990499
    Error: compilation aborted by user

  • Adobe InDesgin CS6 "The networks connection was lost for the file, name of file, or the file was modified by another process. Then the document just spins and spins until we force quit. Very frustrating. What can we do to fix this?

    Running on Mac OS X 10.9.4 and InDesign CS6.

    Are you opening a file from a file server? It sounds like you connection with the server was broken, or there is a problem with the server configuration.
    When happens if you reboot, reopen InDesign, and open a file on your local hard drive?

  • Upgrade to Lion and then to Mountain has caused me problems

    After upgrading to Lion a year ago or so I developed a problem on my MB Pro that I'd never had before. (1) My Mail app starting acting funny. I'd compose an email then click send, but it would sit in the Outbox--for hours, even days. I had to login to MobileMe to send mail and to get Mail. And (2),  my system would frequently crash. If I left 3-4 apps open and then went and had lunch, for example, when I came back, my system had crashed. The screen was blanked out, and I had to move the mouse, kind of use it like an eraser to erase a part of the crap in the foreground of the screen so that I could see my login, after which I would enter my password and then login. After login in I would find that all of my apps had either crased or were frozen. I thought it might be that I needed to upgrade my Memory, so I upgrade from 4 GB to 8 GB, but this didn't do any good.
    So...after Mountain Lion came out, I upgraded, hoping by some miracle this might solve the problem. But no, the problem persisted. I had AppleCare and so I called Apple three times about this problem, but they couldn't solve it either, although one senion tech adviser did manage to get my Mail app working again. He went to some folder (I wish I'd noted what this folder was at the time but I didn't), found there was sever gobbly-gook or junk files inside it, and then proceeded to delete them. After this my Mail app worked OK but the other problem persisted.
    A week ago I backed up everything on my MB Pro to my Time Machine BU, bought a new Mac Mini, and then used Migration Assistant to import all my data from the  Time Machine BU. I was hoping for a miracle--i.e., hoping that this problem would disappear. But not only has the problem not disappeared, I now can't even use my Mail app on the new Mac Mini. It is completely disabled...plus I still get the random crashes. I am getting by using my old MB Pro. I've transfered back to my MB Pro my essential files and I am using it while I try to figure out what in the **** is going on with the original data on my Mac Mini.
    Any ideas would be much appreciated.

    Install or Reinstall Lion/Mountain Lion from Scratch
    Be sure you backup your files to an external drive or second internal drive because the following procedure will remove everything from the hard drive.
    Boot to the Recovery HD:
    Restart the computer and after the chime press and hold down the COMMAND and R keys until the menu screen appears. Alternatively, restart the computer and after the chime press and hold down the OPTION key until the boot manager screen appears. Select the Recovery HD and click on the downward pointing arrow button.
    Erase the hard drive:
      1. Select Disk Utility from the main menu and click on the Continue button.
      2. After DU loads select your startup volume (usually Macintosh HD) from the left side list. Click on
          the Erase tab in the DU main window.
      3. Set the format type to Mac OS Extended (Journaled.) Optionally, click on the Security button and set the Zero
            Data option to one-pass. Click on the Erase button and wait until the process has completed.
      4. Quit DU and return to the main menu.
    Reinstall Lion: Select Reinstall Lion/Mountain Lion and click on the Install button.
    Note: You will need an active Internet connection. I suggest using Ethernet if possible because it is three times faster than wireless.

  • How can i get program to wait until file is loaded?

    Hi all,
    I keep getting a null pointer exception error thrown when it shouldn't. I'm 99% certain that its being generated because the program speed is faster than the load file time. Is there any way to make the program wait until the file is finished loading? I know you can set up a for loop that will take up some time but I wanted it to be more accurate so that no errors will occur on any machine. Here is the code
    RunMainProg();
              String[] TempHolder = new String[HowMany*2];
              try
                  BufferedReader readerOne = new BufferedReader(new FileReader("TempMDLFile.txt")); // file just save from RunMainProg()
                  String lineOne;
                  int i=0;
                       while ((lineOne = readerOne.readLine()) != null)
                            if(i>=TempHolder.length)
                            break;
                             TempHolder=lineOne;
                             i++;
              readerOne.close();
                   catch (IOException f)
                        MakeDialog ErrorDialog = new MakeDialog(TopWindow, "Load Error", "Error - The file you entered does not exist", "Error", "OK", "OK", 0, 0);
                   for(int i=0; i<TempHolder.length; i++)
                        if(TempHolder[i] == null)
                        i=0;
                   FormatData TestSequences = new FormatData(TempHolder); // problem occurs at this line
    I have looked all over and can't seem to find a way to verify if the file is loaded, or to get it to wait until it has. Any help would be much appreciated. Especially if you can supply some code snippets :)
    Much obliged
    Drb2k2

    okay, I added some test code that I was using to try and iron out the problem. Perhaps its best if I run through what happens.
    1. I get the data from the text box, and an external program is run which generates some text files. These files are then loaded and examined and some new data is appended to the old. This is the process
    FormatData TestSequences = new FormatData(TempHolder); Now every time its run first time around its fine.
    2. When I try and do exactly the same thing with the new appended set of data the null exception is thrown. Now Dr Clap, I thought exactly the same as you did, but... If i add the following bit of code before the FormatData call..
    for(int i=0; i<TempHolder.length; i++)
    System.out.println(TempHolder);
    It will produce the data without the appended info, and some null sequences.
    The size of TempHolder is adjusted depending on the amount of data submitted, so somewhere along the line its just not working.
    3. Now for the fun part, eventually if you put the call in a loop it will correct itself and produce the outcome, but needless to say i'd rather not have my program catching a load of nullpointerException errors.
    Finally as for the code
    for(int i=0; i<TempHolder.length; i++)               {                    if(TempHolder[i] == null)                    i=0;               }That was an attempt to stall the program until no null sequences were found. Sort of getting around the problem in 3.
    Dr Clap is a legend on these posts and his advice is well recieved but I have no idea how to view a stack trace or what benefit it has. Any tips on this would be great.
    Thanks for your help so far
    drb2k2

  • Wait until next ms multiple

    Hallo,
    ich möchte gerne wissen, was "wait until next ms multiple" in Betriebsystem basierte. ich meine, wenn ich die Zähler 100ms einstelle, dann wird meine Simulation wirklich jede 100ms durchgeführt, oder es hängt von der BS ab?
    Können Sie mir ein Beispiel geben?
    mfG
    Hakan

    Hakan,
    "wait until next multiple (ms)" is a vi which is normally used in
    loops. i these structures, this vi is the last one to be called. it
    defines, how much time passed from start till now and waits until the
    next (integer) multiple of the time connected to it. lets make an
    example:
    preloop-code 50 ms, loopcode 10 ms, time connected to the vi: 100 ms.
    1st iteration: preloop 50 + loop 10 = 60 ms already passed when the vi
    is called. so the vi waits another 40 ms to make the 100 ms full.
    2nd and following iterations: loop 10 ms, so the vi waits 90 ms.
    if the time would have been 80 ms preloop and 30 ms loop, the 1st
    iteration would have waited 90 ms, so the time would have been overall
    200 ms. (2*100ms).
    Do not make the mistake to take this vi as a substitute for
    hardwaretiming, since every OS except dedicated realtime-systems (linux
    for itself is not a realtime-os!) has a jitter depending on the
    systemload and running services!
    "wait until next multiple (ms)" ist ein vi, das gewöhnlich in schleifen
    verwendet wird. in diesen strukturen wird es als letze funktion
    aufgerufen. es ermittelt, wieviel zeit von beginn bis zum aufruf
    vergangen ist und wartet bis zum nächsten ganzzahligen vielfachen der
    angeschlossen zeit. betrachten wir ein beispiel:
    prelloop 50 ms, loop 10ms, angeschlossene zeit an dem vi: 100 ms.
    erster durchlauf: preloop 50 + loop 10 = 60 ms sind bis zum aufruf des
    vis vergangen. es wartet also 40ms um die 100 ms voll zu machen.
    zweiter und folgende durchläufe: loop 10 MS, also wartet das vi 90 ms.
    wäre die preloop-zeit 80 ms und die loop 30 ms gewesen, so hätte das vi
    im ersten durchlauf 90 ms gewartet um die 200 ms voll zu machen.
    machen sie aber nicht den fehler, dieses vi als ersatz für ein
    hardware-timing zu verwenden; jedes betriebssytem außer echte
    "echtzeitbetriebssysteme" (linux von sich aus ist KEIN echtzeitsystem!)
    erzeugt einen "jitter"(zeitversatz), abhängig von der auslastung und
    der anzahl der laufenden systemdienste!
    Norbert B.
    NI - Germany
    CEO: What exactly is stopping us from doing this?
    Expert: Geometry
    Marketing Manager: Just ignore it.

  • How to wait until html page is completely rendered

    I use a JEditorPane to display HTML and i want to print it to an image. so i tried to load the page (JEditorPane.setPage(URL url)) and wait until the property "page" is fired. Then i printed the component to an image.
    My problem is that the page wasn't completely loaded (rendered?) when i tried to print it.
    Is there a way to be notified when the page is completely rendered?
    thx in advance
    ~elchaschab

    However, you might consider setting the document property for it to be
    loaded synchronously.i've already used my own HTMLEditorKit for synchronous document loading.
    class MyHTMLEditorKit
    extends HTMLEditorKit
    public Document createDefaultDocument()
    Document doc = super.createDefaultDocument();
    ((HTMLDocument)doc).setAsynchronousLoadPriority( -1);
    return doc;
    You probably already played around with calling repaint() and
    validate() before printing.i tried to call repaint and validate before printing but
    still it doen't work. :(
    As a last resort, you could experiment with calling the printing
    routine written as a thread passed to invokeLater(), although there is
    no obvious reason why this would make a difference. i don't understand what i should do with invokeLater().
    could you please give me a short example?
    thx,
    elchaschab

Maybe you are looking for

  • Family account settings - FAQ?

    Is there a FAQ or tutorial on how to set up multiple devices where some are shared by family members?   The whole concept of accounts and apple ids is very confusing when you don't have a one-to-one match with people and devices and I can't even find

  • Consignment settlement process MRKO

    Hi, I am working on PO with consignment first time I have made OBYC setting for consignment  KON , after that i hav ecreated PO migo and MB1B from consignment stock to own stock now i want to know the steps foe consignment seettlement how to do it wi

  • Is it possible to bypass the internal dac?

    can i get a digital output , bypassing the internal dac like you can with an iphone?

  • Tabstrip's Push buttons are align by left in 1 place

    Hi experts    I put a Tabstrip in my screen,but his Push buttons are align by left in 1 place,How can i do something to make the push buttons align 1 by 1. BR Chris huang

  • Why does iTunes Looking for iPad fail?

    In iTunes when I click on Apps for my iPad listed under DEVICES and then select an app (usually FileMaker Go) and try to drag one of the app's files to the iMac desktop, I will get that iTunes is "Looking fo iPad" and then after a few seconds the iPa