Very slow computer and getting worse

My computer seems to be bogging down. Commands result in the beach ball of doom more and more frequently and it rolls longer. I found a 15.9 var file in "private" which seems out of normal...maybe this is a problem? I would appreciate any advice or solution offered!

http://www.reedcorner.net/mpg/

Similar Messages

  • Desperately slow broadband, and getting worse!

    Hi folks - the common problem here, going by the forum - desperately slow broadband.
    I'm about as far from my local exchange as it's possible to get and still receive broadband. My connection is a maximum 512 kbps and has been in place for years now. My usual download speed would have been 120 kbps on a good day, and a gaming ping on 54 - 58.
    This last month it's been terrible, and getting worse. Download speed dropped to 50, and this morning is 28.9. An update from the Apple website took 34 minutes for 32.9 Mb. I'm getting repeatedly booted off my gaming servers for a high ping of 300 or so; sometimes the orange light on the router flashes repeatedly before going green again.
    I run two computers from the router, both on ethernet, but only one ever surfs at any time; however I used to be able to surf both - not any more. Frequent "Internet Explorer cannot display the webpage" and "diagnose connection problems" messages appear. Some webpages - for example the eBay home page - take over a minute to fully load. It reminds me of my old dial-up days.
    BT Speedtests a few months back gave me a speed of 394; three days ago it was 194, this morning it did not complete the test.  I'm getting very frustrated.
    Struggling with less than 50 KB/s… a quarter of what it used to be.
    Solved!
    Go to Solution.

    I tried the master socket two days ago hence the recent disconnection; the end plug on my cable is a small squarish one not the longer rectangular one that the phone uses so it won't fit the master socket. Before that the router had been connected for weeks with no improvement. This problem has persisted for almost six weeks now with no return to the old faster speeds. It can't be software as I run an Apple Mac and a PC alternately through both ethernet connections (unused computer is switched off) 
    If gaming the game goes very slow, or freezes, I get booted by admin for high ping, and sometimes - not every time - if I watch the router the broadband light flashes orange before reverting to green again.
    I've been connected for years at a good speed (for this area) but since July / august it's really dropped to the present annoying stage.
    Struggling with less than 50 KB/s… a quarter of what it used to be.

  • I get constant buffering very slow downloads and the pinwheel.  is there a keystroke remedy for this??

    i get constant buffering very slow downloads and the pinwheel.  is there a keystroke remedy for this??

    No magical keystroke remedy. The causes for this can be complicated.
    http://www.thexlab.com/faqs/sbbod.html
    Also check the health of the drive with the free demo of SMART Utiltiy.
    http://www.volitans-software.com/smart_utility.php
    Only happening while on the Internet or all over the place? What's your Internet speed?
    http://www.speedtest.net/

  • IPad 1 Safari Crashes Constantly and getting worse day by day.  Has Apple come up with a solution?  Now I am hearing its alos happening on the newer models.  My company is about to buy a lot of tablets and I will not recommend Apple anything til they fix.

    iPad 1 Safari Crashes Constantly and getting worse day by day.  Has Apple come up with a solution?  Now I am hearing its also happening on the newer models.  My company is about to buy a lot of tablets and I will not recommend Apple anything until they fix the problem.  Granted 30 or 40 iPads is not a huge impact but i promise once the outside world hears about this BS things will change.  There are plenty of other tablets out there that do not have this problem.  At the very least we should have the option of rolling back to a stable IOS...

    I have already tried all the things mentioned above as well as other things such as other browsers etc.  Its is obviously a problem with the hardware.  I also borrowed a brand new 4th gen iPad and it does the same thing.  Even after upgrading it to 6.01.  An occasional crash is one thing and can easily be waved off but this is clearly systemic and the problem appears to be related to graphical images and videos.  Both iPads are the 64gb versions, the only difference other than model is the iPad 1 has ATT cellular.  The new version is clean i.e no other APPs loaded other than what came with it.  I have 7 more coming but im seriously considering sending them back in favor of an Android tablet or the MS Surface.

  • Very slow broadband and connection keeps dropping

    Hello, we have been BT customers since August 2013, after previously being Freeola customers for many years.  We live in a very rural area, at the end of the exchange so we are never going to get amazingly fast broadband, we are estimated 1MB. 
    Previously using Speedtest.net at the beginning of the year we were getting 0.9Mbps, then in May our internet dropped and we couldn't get a proper connection or speed.  We contacted Freeola who after doing some tests, said that we had a copper line failure and to contact BT.  We did this and the copper line failure issue was fixed, an openreach engineer tested the line and we assumed all was fine.  But we were still getting very slow speeds and the connection kept dropping.  So we decided to switch to BT in August, we have put up with the slow speeds and dropping connection for 3 months hoping in vain that once we got a stable line the speed would increase and we would be back to were we expected to be.
    When we are using the internet, we very often get "Your connection has been reset" errors within our browsers.
    This has not happened, so I have decided to come on to this forum in the hope that we can solve this issue before my hair gets any greyer.  We have a BT Home Hub 4 so we have not got all the stats that previous HH had available. 
    Also as we are in a rural area our telephone connection is through overhead cables and as said previously we are at the end of the exchange.
    Please see below for the information that I have been able to get:
    Home hub stats:
    17:28:52, 28 Oct. ( 68.040000) DSL noise margin: 12.00 dB upstream, 9.50 dB downstream
    17:28:51, 28 Oct. ( 67.970000) DSL line rate: 448 Kbps upstream, 192 Kbps downstream
    Internet Connection Configuration
    Connection Information
    Connection time:
    4 days, 22:01:39
    Data Transmitted/Received:
    221.4 MB / 2.3 GB
    Bt Wholesale Broadband test:
    Download Speed: 0.02
    Upload speed: 0.34
    Ping latency: 0.00
    Further diagnostics:
    Master socket is
    I performed the quiet line test which wasn't too bad there was a very slight crackle, but it was with a wireless phone.
    Speedtest.net results:
    Ping: 463ms
    Download:0.13mbps
    Upload: 0.28mbps
    As said previously before the copper line failure we were regularly getting download speeds of 0.9mbps.
    Any help would be greatly appreciated.
    Solved!
    Go to Solution.

    Hi jacoma,
    Sorry to hear that your  having issues with your BT Retail services.
    You will either be on the ADSLMax (upto 8mbps) service or if your exchange has been BTw 21cn upgraded you maybe on the ADSL2/2+ (upto 12/20mbps) service depending on your line quality and length.
    However these upto speeds may not be the speeds you will get as ADSL broadband connections are very dependent on the distance from your property to the exchange and the quality of your line. The further away you are from your local exchange the slower your broadband speed will be.
    To enable the community to help you please see the advice below:
    Please see Keith's help guide here: Helping forum members to help you, it will go through some checks that are needed for us to help you.
    1) Are you in the TEST socket? if not can you please connect to the test socket and repeat steps 2, 3 and 4.
    All the below performed in TEST Socket:
    2) is there any noise on your line. dial 17070 option2 ,called quite line test, from landline phone. should be silent but slight hum normal on cordless phone.
    If there is any noise on your line such as crackling, distictive noise when the phone is connected to the TEST socket and doing the quiet line test then you need to report a line fault to BT Retail by dailling 151. Once the crackling or disticive noise has gone then your broadband should slowly recover.
    3) please post adsl line statistics 
    4) Can you please run a BT speed test (including IP Profile) http://speedtest.btwholesale.com (not beta version)[Best done with a wired, Ethernet, connection] After Quick Test is done you need to click "Further Diagnostics" to get IP Profile.
    ADSL Line Statistic Help:
     If you have a BT Home Hub like the one below...
     Then:
     1) Go to http://192.168.1.254 or http://bthomehub.home
     2) click Settings
     3) Click Advanced Settings
     4) Click Broadband
     5) Click Connection or sometimes called ADSL (see picture Below)
    The direct Address is http://bthomehub.home/index.cgi?active_page=9116 (for bthomehub3.A firmware ending in 1.3)
    or http://bthomehub.home/index.cgi?active_page=9118 (for bthomehub3.A firmware ending in 94.1.11)
    You will need to copy and past all the adsl line statistics ( Including HEC, CRC and FEC errors). You may need to click " More Details"
     If you have a HomeHub 4 then the majority of the ADSL Stats shown in the previous Hubs will not be there.
    for HH4 users you can go to hub manager then select troubleshooting then logs and are look for 2 entries together which will show theconnection speed and noise margin for when your HH4 last sycned with the exchange.
    There are more useful links on Keith's website here: If you have an ADSL connection, please select this link
     cheers
    I'm no expert, so please correct me if I'm wrong

  • I am experiencing very slow import and backing up issues.

    I am experiencing very slow import and backing up catalog on exiting Lightroom. This is a very recent issue. I use RAW files.

    The type of files you are importing will have an effect on the speed of the import process. Larger files, like raw sensor files, are normally much larger than JPG files.
    But if this is something new, the slowness, and you are using the same camera with the same size files as previously then it's not just the file size.
    What type of computer and what operating system are you using.

  • Ipod classic 160GB very slow sync and cannot connect to itunes store windows 7 ansd itunes 10.6.0.40. I have now been trying for 3 weeks to restore my iPod. Really frustrated, any ideas would be welcome.

    Ipod classic 160GB very slow sync and cannot connect to itunes store windows 7 ansd itunes 10.6.0.40. I have now been trying for 3 weeks to restore my iPod. Really frustrated, any ideas would be welcome.

    Cured the problem! Reinstalled an earlier version of itunes from oldapps.com (version 10) now everything works as it should. I would suggest that if you are experiencing these problems that you do the same. I must say that it is a brave business decision on behalf of apple to effectively lock out all windows 7 users from their products and sales channels and I can only wish them luck in this very shortsighted policy.

  • I my ipod isn't letting me swipe in on the lock screen, and for now, i've given up on that, and i just got a new laptop. So what i'd like to do is not worry about getting in my ipod, but to plug it in my computer and get my music off of it.

    I my ipod isn't letting me swipe in on the lock screen, and for now, i've given up on that, and i just got a new laptop. So what i'd like to do is not worry about getting in my ipod, but to plug it in my computer and get my music off of it. it is not letting me do this because i have to unlock my ipod but, sadly i cannot, if anyone can help me it would be greartly appreitiated. 

    You don't have to purchase it again, but you do have to download it.  See Downloading past purchases from the App Store, iBookstore, and iTunes Store: http://support.apple.com/kb/HT2519

  • I reinstalled X pro on my newish computer and get appcrash error message - how do i fix? bill

    I reinstalled my acrobat X pro in my new computer and when I try to open it I get the APPRASH error message.  I cannot print documents from word 7 to acrobat either and the acrobat printer doesn't show on my printer selection. I downloaded Acrobat reader 11 and it will not read pdf documents.  How do I fix? Bill

    here's the error message i get in reader 11
    Problem signature:
    Problem Event Name: BEX
    Application Name: AcroRd32.exe
    Application  Version: 11.0.7.79
    Application Timestamp: 536b80b0
    Fault Module Name: StackHash_0a9e
    Fault Module  Version: 0.0.0.0
    Fault Module Timestamp: 00000000
    Exception Offset: 0050005c
    Exception  Code: c0000005
    Exception Data: 00000008
    OS  Version: 6.1.7601.2.1.0.256.48
    Locale ID: 1033
    Additional Information 1: 0a9e
    Additional Information  2: 0a9e372d3b4ad19135b953a78882e789
    Additional Information  3: 0a9e
    Additional Information  4: 0a9e372d3b4ad19135b953a78882e7
    my word program is officei home and business 2010
    In a message dated 5/20/2014 12:48:18 P.M. Eastern Daylight Time, 
    [email protected] writes:
    i  reinstalled X pro on my newish computer and get appcrash error message -
    how do i fix? bill
    created by Test Screen  Name
    (https://forums.adobe.com/people/TestScreenName)  in Acrobat Installation & Update Issues - _View the full 
    discussion_ (https://forums.adobe.com/message/6394814#6394814)

  • Whenever I turn on my Apple TV, it get an error message that says Go to itunes store on your computer and get your password.

    Whenever I turn on my Apple TV, it get an error message that says "Have you forgot your password. You have attempted to log in too many times. Go to itunes store on your computer and get your password". I have logged into itunes store on my computer, but I don't know what to do next. I accessed my account on itunes store hoping that would give me a pasword or other useful information, but no help. What am I supposed to do?

    I was not complete clear.
    Since you never changed the settings in the advanced section of iTunes preferecnes, you have to chech that your music is really in the location setted in the folders reported in the advanced section.  If not you have 2 ways: reset the position of this folders or in the actual disk organisation or in the pointing on the preferences.
    If you press the reset button you just give to itunes its default setting as for the position of the music files: probably this will be a good choice if you have never changed any default preference.
    But before I would check the folders and see if the songs are really there
    In my iTune I have this, and I believe it is the default.
    Users/YOURHOMEFOLDERNAME/Music/iTunes/iTunes Music

  • Wont start. says is running but not responding. open taskmanager but no firefos under processes. restart computer and get same.

    when i click the firefox icon to open firefox it pops up a box that says that firefox is running but not responding. i open taskmager to close the firefox process but there is no firefox process listed. i restart my computer and get the same result. firefox appears to still be running but not responding even after a restart. i even tried a cold boot ad got the same results. performed a full virus scan and excep for some tracking cookies it came up negative. i deleated the firefox kernal and downloaded a new copy and installed it. got same problem.

    See "Hang at exit":
    * http://kb.mozillazine.org/Firefox_hangs
    * https://support.mozilla.com/kb/Firefox+hangs

  • Slow processing and getting opening errors/warnings

    I've modified the PDF Binder sample to get a plugin that would open PDF's and Tif files, and save them as PDF/A-1b (code below).
    It's working. The problem: it's processing too slow (compared with the Actions batch processing)... and I've been getting warnings/and errors about "The imput file is corrupt or of an unknown/unsupported type" type. This is stopping my batch process until I click OK, and the it continues.
    I am trying to process a few thousand of tif files now. I tried first to use the Batch processing capability built in the Acrobat X... an it works, but only with the first 255 documents in the folder... then gives an "insufficient disk space" message for the rest of the files in the directory.
    So, 2 questions: Does anyone knows why it is so slow processing the tiff files and... how I can make my code "silent" so it does not wait for the OK after the message??
    Thanks in advance.
    The code:
    ADOBE SYSTEMS INCORPORATED
    Copyright (C) 1998-2006 Adobe Systems Incorporated
    All rights reserved.
    NOTICE: Adobe permits you to use, modify, and distribute this file
    in accordance with the terms of the Adobe license agreement
    accompanying it. If you have received this file from a source other
    than Adobe, then your use, modification, or distribution of it
    requires the prior written permission of Adobe.
      \file PDFBinder.cpp
    - Implements a method to convert multiple files into PDFs and bind the PDFs
    into one PDF file. The code shows how to use AVConversionToPDFHandler to
    convert files to PDF and how to use PDDocInsertPages() to combind PDF files.
    // Headers.
    #include <stdio.h>
    #include <ctype.h>
    #ifndef MAC_PLATFORM
    #include <direct.h>
    #include "PIHeaders.h"
    #endif
    // Defines ----------
    // Define this flag to show AVConversionToPDFEnumHandler info. in log file.
    #define SHOW_TOPDF_HANDLER_TYPES   
    // define this flag to use file type filter 
    #define USE_FILE_FILTER   
        Constants/Declarations
    // Message display control.  Ture: display
    ASBool bEcho = true;
    // File location. User can change the following filenames.
    #if WIN_PLATFORM
        const char* STRING_PDFBinderFolder = "C:\\Fairfax\\Adobe\\in";
        const char* STRING_PDFOutputFolder = "C:\\Fairfax\\Adobe\\PDFA";
        const char* FOLDERSYMBOL="\\";
    #endif
    #if MAC_PLATFORM
        const char* STRING_PDFBinderFolder = "/PDFBinder";
        const char* FOLDERSYMBOL="/";
    #endif
    char* OutputPdfFileName = "PDFBinderOutput.pdf";
    char* LogFileName = "PDFProcessLog.txt";
    static ASInt32 gNumToPDFExt;
    static ASInt32 gNumFromPDFExt;
    static AVConversionFromPDFHandler RightHandler;
    const int MAX_FILENAME_LENGTH = 256;
    char sLogFileName[MAX_FILENAME_LENGTH];
    // Filter -----------
    // Filter is a list of file types which can be converted to PDF in this program.
    // Use a filter may fit user's specific needs and ensure a smooth automation process.
    // Of course, the user can turn off the filter in two ways:
    //   (1) gPDFBinderFileFilter = "";
    //   (2) comment out //USE_FILE_FILTER 
    // The filter should be consistent with the Acrobat viewer's menu capability:
    //   Create PDF from multiple files ...
    // Here we put the types which have been tested, but user can expand it.
    const char* gPDFBinderFileFilter = "pdf,tif,tiff,PDF,TIF,TIFF";
    const int MAX_STRING_LENGTH = 2048;
    AVConversionToPDFHandler gHandler;
    // functions in this file.
    int    ConvertAndInsertFileToPDF(ASPathName aspItem, char* aFileName, PDDoc  PDFfile);
    void BindingFileToPDF(ASPathName aPathName, char* aFilename, ASFileSysItemPropsRec nFileAttrb, PDDoc targetPDdDoc, ASPathName outputPathName, int *ipTotal, int *ipConverted);
    ASBool PassPDFBinderFileFilter(char* filename);
    int    ConvertAndSavePDFInTargetFolder(ASPathName aPathName, char* aFileName, PDDoc PDFfile, ASPathName outputPathName);
    char* NewFileName(char *& aFileName);
    // callbacks
    ACCB1 ASBool ACCB2 MyAVConversionToPDFEnumProc(AVConversionToPDFHandler handler, AVConversionEnumProcData data);
    ACCB1 ASBool ACCB2 AVConversionToPDFEnumFindHandler(AVConversionToPDFHandler handler, AVConversionEnumProcData data);
    static ACCB1 ASBool ACCB2 myAVConversionFromPDFEnumProc(AVConversionFromPDFHandler handler, AVConversionEnumProcData data);
        Implementation
    /**    This sample implements a method to convert multiple files into PDF
      and bind the PDFs into one PDF file .
        This sample shows developers how to grammatically implement To-PDF file
      converson functionality.  Basically, the code uses AVConversionToPDFHandler
      to convert files to PDF and PDDocInsertPages()to combine PDF files.
      This plug-in is designed to run from a menu item, and by setting bEcho = false
      it may be run without any graphics user interface on the screen. Therefore, it 
      can be executed from other programs such as C IAC, VB IAC, and JavaScript
      to meet enterprise workflow needs.
        How to run it :
        - This sample adds a menu item "PDF Binder" under the Acrobat SDK submenu. Two ways to
        execute it: 1) click the menu item to run the program using a fixed file location
        hard coded; 2) press the shift key and click the menu item to choose a folder where
        files to be converted are located.
        - Without folder selection, this original code is to convert and bind files in a
        directory    C\test\PDFBinder for Win, or a folder   MacHD:test:PDFBinder for Mac.
        You can copy the test files in the project's testfiles folder to the appropriate location 
        for testing. You may locate files to be converted in another directory/folder, and
        specify the location in the string variable PDFBinderFolder in the code.
        - When you have the files to be converted ready in the specified location,
        run Acrobat 6 menu Advanced->AcrobatSDK->PDF Binder to start the operation.  There are
        echo messages informing you of the operation start and end, but you can change and
        rebuild the code to turn off the display on screen.
        - An output file PDFBinderOutput.pdf in the same location is created
        when the program succeeds. A text log file  PDFBinderLog.txt in the same
        location records the process and results.
        -  You can set bEch = false in the code to turn off any display on the screen.
        This is necessary when you  call the menu function from within other programs
        of C IAC, VB IAC, JavaScript. 
        -  An optional file filter is used to pre-process the files. The filter only allows
        the files with predefined types to be processed. You can change the file type list
        as you wish. Using a filter may ensure a smooth automation process, since you can put
        only well-tested file types in the filter. To turn off the filter, you can set
        gPDFBinderFileFilter = "" or not to define USE_FILE_FILTER 
        - Note this is a sample only, developers need to make further improvement for
        their actual use. For example, you can set up a list of files to use the method for
        the conversion and binding. And you can add code to handle special file types.
          @see AVConversionConvertToPDFWithHandler
        @see AVConversionEnumToPDFConverters
        @see ASFileSysDestroyFolderIterator
        @see PDDocOpen
        @see PDDocClose
        @see PDDocInsertPages
        @see PDDocCreatePage
        @see PDDocDeletePages
        @see PDPageRelease
        @see ASFileSysCreatePathName
        @see ASFileSysFirstFolderItem
        @see ASFileSysNextFolderItem
        @see ASFileSysGetNameFromPath
        @see ASFileSysReleasePath
    ACCB1 void ACCB2 PDFBinderCommand(void*)
        // if the menu item clicked with Shift key pressed down, go to interactive mode.
        // let the user to choose a folder and process all the file in the folder.
        ASText dispText = ASTextNew();
        char PDFBinderFolder[MAX_STRING_LENGTH];
        ASBool shiftKeyIsDown = ((AVSysGetModifiers() & AV_SHIFT) != 0);
        if(shiftKeyIsDown) {
            AVOpenSaveDialogParamsRec dialogParams;
            // Configure the dialog box parameters.
            memset (&dialogParams, 0, sizeof (AVOpenSaveDialogParamsRec));
            dialogParams.size = sizeof(AVOpenSaveDialogParamsRec);
            dialogParams.windowTitle = ASTextFromScriptText("Choose folder with files to bind",kASRomanScript);
            dialogParams.flags |= kAVOpenSaveAllowForeignFileSystems;
            dialogParams.initialFileSys = ASGetDefaultUnicodeFileSys();
            ASPathName thePath;
            ASFileSys fileSys;
            AVAppBeginModal(NULL);
            if(ASBoolToBool(AVAppChooseFolderDialog(&dialogParams, &fileSys, &thePath)) != true){
                AVAppEndModal();
                //AVAlertNote("Failed to select the folder");
                return;
            AVAppEndModal();
    #ifdef WIN_PLATFORM       
            ASFileSysDisplayASTextFromPath(ASGetDefaultUnicodeFileSys(), thePath, dispText);
            ASHostEncoding bestEnc = ASTextGetBestEncoding(dispText, (ASHostEncoding)PDGetHostEncoding());
            strncpy(PDFBinderFolder, ASTextGetEncoded(dispText, bestEnc), MAX_STRING_LENGTH - 1);
    #else       
            ASPlatformPath aspPath;
            ASFileSysAcquirePlatformPath(fileSys, thePath, ASAtomFromString("POSIXPath"), &aspPath);
            strncpy(PDFBinderFolder, (char *)ASPlatformPathGetPOSIXPathPtr(aspPath), MAX_STRING_LENGTH - 1);
            ASFileSysReleasePlatformPath(fileSys, aspPath);
            // remove extra path separator
            char e = PDFBinderFolder[strlen(PDFBinderFolder)-1];
            if(e == ':' || e == '/')
                PDFBinderFolder[strlen(PDFBinderFolder)-1]='\0';
            dispText = ASTextFromScriptText(PDFBinderFolder, kASEUnicodeScript);
    #endif
            ASFileSysReleasePath(fileSys, thePath);
        // Otherwise, the hard coded file path will be used.
        else {
            strcpy(PDFBinderFolder, STRING_PDFBinderFolder);
            dispText = ASTextFromScriptText(PDFBinderFolder, kASRomanScript);
        // instruction message
        char strMsg[MAX_STRING_LENGTH] = "";
        sprintf(strMsg, "This function will convert and process Tiff and PDF files in the selected directory. ");
        strcat(strMsg, " You need to copy your files in C:\\Fairfax\\Adobe\\in directory." );
        strcat(strMsg, " Files will be processed into C:\\Fairfax\\Adobe\\PDFA directory." );
        strcat(strMsg, " If you are ready, click OK to continue, or click Cancel to quit. " );
        strcat(strMsg, " \nNote you can press down Shift key and click the menu item to have a folder selection. " );
        strcat(strMsg, " \nNote you can turn off the echo message by setting bEcho = false and rebuild the code. " );
        if(ASBoolToBool(bEcho)==true){
            ASInt32 choice = AVAlert(ALERT_CAUTION, strMsg, "OK", "Cancel", NULL, true);
            if(choice==2) {
                return;
        // create a new target pdf file with one empty page
        PDDoc TargetPDF = PDDocCreate();
        ASFixedRect mediaBox = { fixedZero, ASInt32ToFixed(792), ASInt32ToFixed(612), fixedZero };
        PDPage emptyPage = PDDocCreatePage (TargetPDF, PDBeforeFirstPage, mediaBox);
        PDPageRelease (emptyPage);
        //     get available headlers and set our file filter
        char ValidExt[MAX_STRING_LENGTH];
        memset(ValidExt, 0, MAX_STRING_LENGTH);
    #ifdef SHOW_TOPDF_HANDLER_TYPES   
        // enumerate AVConversioToPDF handlers to get all available file
        // types which can be converted to PDF.
        AVConversionEnumToPDFConverters(MyAVConversionToPDFEnumProc, (AVConversionEnumProcData) ValidExt);
        //AVAlertNote("Converters Defined");
        //AVAlertNote(ValidExt);
        //AVAlertNote(gPDFBinderFileFilter);
    #endif
    #ifdef USE_FILE_FILTER    
        // set File filter
        strcpy(ValidExt, gPDFBinderFileFilter);
        //AVAlertNote(ValidExt);
    #endif
        // process all files in the directory
        int iNumFiles = 0;
        int iNumFilesConverted = 0;
        char* Done = "Converted";
        char* NotDone = " - ";
        char fileName[MAX_FILENAME_LENGTH+1];
        ASFileSysItemPropsRec props;
        ASFolderIterator iter;
        ASPathName aspItem = NULL;
        memset(&props, 0, sizeof(props));
        props.size = sizeof(props);
        //AVAlertNote("Props Defined");
        ASPathName theFolder = NULL;
        ASFileSys fileSys = NULL;
        DURING
    #ifdef WIN_PLATFORM   
        fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("ASTextPath"), dispText);
        theFolder = ASFileSysCreatePathName (fileSys, ASAtomFromString("ASTextPath"), dispText, 0);
        //AVAlertNote("FileSys and Folder Defined");
    #else
        fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("POSIXPath"), PDFBinderFolder);
        theFolder = ASFileSysCreatePathName (fileSys,
                                ASAtomFromString("POSIXPath"), PDFBinderFolder, 0);
    #endif
        if (theFolder==NULL) {
            //AVAlertNote("Fail to create ASPathName for the selected folder.");
            E_RTRN_VOID
        // Find first file in current directory
        if((iter = ASFileSysFirstFolderItem(fileSys, theFolder, &props, &aspItem))==FALSE) {
            //AVAlertNote("This is either an invalid folder or the folder contains no files.");
            E_RTRN_VOID
        ASFileSysReleasePath(fileSys, theFolder);
        //AVAlertNote("Folder Released");
        // get filename only
        if(ASFileSysGetNameFromPath(fileSys, aspItem, fileName, sizeof(fileName))) {
            E_RTRN_VOID
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(aspItem!=NULL) ASFileSysReleasePath(fileSys, aspItem);
            if(theFolder!=NULL) ASFileSysReleasePath(fileSys, theFolder);
            // display an error message.
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote (errorMsg);
            return;
        END_HANDLER
        //AVAlertNote(fileName);
        // go to binding if it's a valid type of file
        if(props.type == kASFileSysFile && PassPDFBinderFileFilter(fileName)) {
            char outFileName[] = "";
            //strcat(outFileName, STRING_PDFOutputFolder);
            //strcat(outFileName, FOLDERSYMBOL);
            //strcat(outFileName, fileName);
            strcat(outFileName, STRING_PDFOutputFolder);
            strcat(outFileName, FOLDERSYMBOL);
            strcat(outFileName, fileName);
            //AVAlertNote(outFileName);
            ASPathName outputFileName = ASFileSysCreatePathName (ASGetDefaultFileSys(), ASAtomFromString("Cstring"), outFileName, 0);
            BindingFileToPDF(aspItem, fileName, props, TargetPDF, outputFileName ,&iNumFiles, &iNumFilesConverted);
            //AVAlertNote("File Processed");
        ASFileSysReleasePath(fileSys, aspItem);
        // process all other files 
        while(ASFileSysNextFolderItem(fileSys, iter, &props, &aspItem)) {
            // get filename only
            if(ASFileSysGetNameFromPath(fileSys, aspItem, fileName, sizeof(fileName))) {
                return;
            // go to binding if it's a valid type of file
            if(props.type == kASFileSysFile && PassPDFBinderFileFilter(fileName))  {
                char outFileName[] = "";
                //strcat(outFileName, STRING_PDFOutputFolder);
                //strcat(outFileName, FOLDERSYMBOL);
                //strcat(outFileName, fileName);
                strcat(outFileName, STRING_PDFOutputFolder);
                strcat(outFileName, FOLDERSYMBOL);
                strcat(outFileName, fileName);
                //AVAlertNote(outFileName);
                ASPathName outputFileName = ASFileSysCreatePathName (ASGetDefaultFileSys(), ASAtomFromString("Cstring"), outFileName, 0);
                BindingFileToPDF(aspItem, fileName, props, TargetPDF, outputFileName, &iNumFiles, &iNumFilesConverted);
                //AVAlertNote("File Processed");
            ASFileSysReleasePath(fileSys, aspItem);
        ASPathName pdfPathName = NULL;
        DURING
        // close the findfile
        ASFileSysDestroyFolderIterator(fileSys, iter);
        // save and close the output pdf file
        // create path
        ASText pathText = ASTextNew();
        ASTextCatMany(
            pathText,
            dispText,
            ASTextFromScriptText(FOLDERSYMBOL, kASRomanScript),
            ASTextFromScriptText(OutputPdfFileName, kASRomanScript),
            NULL);
    #ifdef WIN_PLATFORM
        ASFileSys fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("ASTextPath"), pathText);
        pdfPathName = ASFileSysCreatePathName (fileSys,
                                ASAtomFromString("ASTextPath"), pathText, 0);
    #else
        char path[MAX_STRING_LENGTH];
        strncpy(path, ASTextGetEncoded(pathText,
            ASTextGetBestEncoding(pathText, (ASHostEncoding)PDGetHostEncoding())), MAX_STRING_LENGTH - 1);
        ASFileSys fileSys = ASGetDefaultFileSysForPath(ASAtomFromString("POSIXPath"), path);
        pdfPathName = ASFileSysCreatePathName (fileSys,
                                ASAtomFromString("POSIXPath"), path, 0);   
    #endif
        if(pdfPathName==NULL) {
            E_RTRN_VOID
        // delete the empty page
        if(PDDocGetNumPages(TargetPDF)>1) {
            PDDocDeletePages (TargetPDF, 0,0,NULL, NULL);
        // save
        //PDDocSave (TargetPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized,
        //            pdfPathName, ASGetDefaultUnicodeFileSys(),    NULL, NULL);
        PDDocClose (TargetPDF);
        //ASFileSysReleasePath(fileSys, pdfPathName);
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(pdfPathName!=NULL) ASFileSysReleasePath(fileSys, pdfPathName);
            // display an error message.
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote (errorMsg);
            return;
        END_HANDLER
        // use this line to show the massage on screen if you need
        //if(ASBoolToBool(bEcho)==true) {
        AVAlertNote ("Folder Completed. PDF/A Output files generated.");
        return;
    /* ConvertAndInsertFileToPDF
    /** Internal function \n
    ** Convert a file to PDF, then insert it to target PDF file.
    ** @param aFileName IN  char string, filename.
    ** @param PDFfile IN/OUT PDDoc of the target PDF file.
    ** @return 0 if OK, 1 if failed.
    int    ConvertAndInsertFileToPDF(ASPathName aPathName, char* aFileName, PDDoc PDFfile)
        PDDoc tempPDF;
        char* Ext;
        DURING
            // get file extention
            Ext = strrchr(aFileName,'.');
            if(Ext) {
                Ext++;
            else {
                E_RETURN (1);
            // if the file is PDF, open PDDoc
            if(strcmp(Ext,"PDF")==0 || strcmp(Ext,"pdf")==0) {
                tempPDF = PDDocOpen (aPathName, ASGetDefaultFileSys(), NULL, true);
                if(tempPDF==NULL) {
                    PDDocClose(tempPDF);
                    E_RETURN (1);
            // else convert it to PDF
            else
                // let it automatically find right handler for the file and do the job.
                AVConversionStatus stat = AVConversionConvertToPDF
                    (kAVConversionAsyncOkay, //kAVConversionNoFlags
                      aPathName, ASGetDefaultFileSys(), &tempPDF, NULL);
                // check if successful
                if(stat != kAVConversionSuccess) {
                    //AVAlertNote("Cannot convert the file.");
                    E_RETURN (1);
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            // display an error message.
            if(ASBoolToBool(bEcho) == true) {
                AVAlertNote (errorMsg);
            return 1;
        END_HANDLER
        // insert new PDF into target PDF
        DURING
            // insert all pages of new pdfc to TargetPDFfile.
            PDDocInsertPages(PDFfile, PDLastPage, tempPDF, 0,
                            PDAllPages, PDInsertAll, NULL, NULL, NULL, NULL);
            PDDocClose(tempPDF);
        HANDLER
             char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote(errorMsg);
        END_HANDLER
            if(strcmp(Ext,"doc")==0) {
                char fname[40];
                sprintf(fname,"%s.pdf",aFileName);
                remove(fname);
            return 0;
    /* MyAVConversionToPDFEnumProc
    /** Internal callback function \n
    ** called for every AVConversionToPDFHandler.
    ** get the valid type (file extention) for the conversion. 
    ** @return true.
    ACCB1 ASBool ACCB2 MyAVConversionToPDFEnumProc(AVConversionToPDFHandler handler,
                                                 AVConversionEnumProcData data)
        ASUns16 numFileExt = handler->convFilter.numFileDescs;
        for (int i = 0; i < numFileExt; i++) {
            char* ext = handler->convFilter.fileDescs[i].extension;
            if(strlen(ext)>0) {
                strcat((char*) data, ext);
                strcat((char*) data, ",");
        return true;
    /* this is alternative code to get right conversion handler for a specific file
       to be converted. It works with function AVConversionConvertToPDFWithHandler.
       It's not used now, but kept for user's reference.
    ACCB1 ASBool ACCB2 AVConversionToPDFEnumFindHandler(AVConversionToPDFHandler handler,
                                                 AVConversionEnumProcData data)
        ASUns16 numFileExt = handler->convFilter.numFileDescs;
        for ( int i = 0; i < numFileExt; i++)
            char* ext = handler->convFilter.fileDescs[i].extension;
            if(strlen(ext)) {
                if(!strcmp((char*) data, ext)) {
                    gHandler = handler;
                    return false;
        return true;
    /* BindingFileToPDF
    /** Internal callback function for binding process \n
    ** IN: char* aFilename, ASFileSysItemPropsRec nFileAttrb \n
    **     PDDoc targetPDdDoc, int *ipTotal, \n
    **     int *ipConverted, FILE *logfile \n
    ** OUT: int *ipTotal, int *ipConverted. \n
    void BindingFileToPDF(ASPathName aPathName, char* aFilename, ASFileSysItemPropsRec nFileAttrb, PDDoc targetPDdDoc, ASPathName outputPathName, int *ipTotal, int *ipConverted)
        // ignore system, hidden files, and our target PDF and log file.
        if( nFileAttrb.isHidden 
            || (strcmp(aFilename,".")==0) || (strcmp(aFilename,".." )==0)
            || (strcmp(aFilename,OutputPdfFileName)==0) || (strcmp(aFilename,LogFileName)==0)) {
                return;
        (*ipTotal)++;
        char msg[MAX_STRING_LENGTH] = "";
        char* Done = "Converted";
        char* NotDone = " - ";
        // try to convert and insert it to target PDF file.
        // rc would be 0 for success, otherwise 1.
        int rc = ConvertAndSavePDFInTargetFolder(aPathName, aFilename, targetPDdDoc, outputPathName);
        // if converted
        if(rc==0) {
            (*ipConverted)++;
    /* PassPDFBinderFileFilter
    /** Internal callback function for binding process
    ** @return true if the IN aFilename is a valid file for PDF conversion,
    ** otherwise false.
    ASBool PassPDFBinderFileFilter(char* aFilename)
    #ifdef USE_FILE_FILTER
        // if the filter is empty, any file will pass.
        if(strlen(gPDFBinderFileFilter)==0)
            return true;
        char* Ext = strrchr(aFilename,'.');
        if(Ext!=NULL) {
            Ext++;
            if(strstr(gPDFBinderFileFilter, Ext)) {
                return true;
        return false;
    #else
            // not use filter, any file will pass.
            return true;
    #endif
    /* ConvertAndInsertFileToPDF
    /** Internal function \n
    ** Convert a file to PDF, then insert it to target PDF file.
    ** @param aFileName IN  char string, filename.
    ** @param PDFfile IN/OUT PDDoc of the target PDF file.
    ** @return 0 if OK, 1 if failed.
    int    ConvertAndSavePDFInTargetFolder(ASPathName aPathName, char* aFileName, PDDoc PDFfile, ASPathName outputPathName)
        PDDoc tempPDF;
        char* Ext;
        DURING
            // get file extention
            Ext = strrchr(aFileName,'.');
            if(Ext) {
                Ext++;
            else {
                E_RETURN (1);
            // if the file is PDF, open PDDoc
            if(strcmp(Ext,"PDF")==0 || strcmp(Ext,"pdf")==0) {
                tempPDF = PDDocOpen (aPathName, ASGetDefaultFileSys(), NULL, true);
                if(tempPDF==NULL) {
                    PDDocClose(tempPDF);
                    E_RETURN (1);
            // else convert it to PDF
            else
                // let it automatically find right handler for the file and do the job.
                AVConversionStatus stat = AVConversionConvertToPDF
                    (kAVConversionAsyncOkay, //kAVConversionNoFlags
                      aPathName, ASGetDefaultFileSys(), &tempPDF, NULL);
                // check if successful
                if(stat != kAVConversionSuccess) {
                    //AVAlertNote("Cannot convert the file.");
                    E_RETURN (1);
                else {
                    //change Extension
                    ASText asTmp = ASTextNew();
                    ASFileSysDisplayASTextFromPath(ASGetDefaultUnicodeFileSys(), outputPathName, asTmp);
                    //AVAlertNote(ASTextGetScriptText(asTmp, kASRomanScript));
                    if(strcmp(Ext,"TIF")==0 || strcmp(Ext,"tif")==0){
                        ASTextReplace(asTmp, ASTextFromScriptText(".tif", kASRomanScript), ASTextFromScriptText(".pdf", kASRomanScript));
                    } else {
                        ASTextReplace(asTmp, ASTextFromScriptText(".tiff", kASRomanScript), ASTextFromScriptText(".pdf", kASRomanScript));
                    //AVAlertNote(ASTextGetScriptText(asTmp, kASRomanScript));
                    outputPathName = ASFileSysCreatePathName (ASGetDefaultUnicodeFileSys(), ASAtomFromString("ASTextPath"), asTmp, 0);
        HANDLER   
            // exception handling
            char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            // display an error message.
            if(ASBoolToBool(bEcho) == true) {
                AVAlertNote (errorMsg);
            return 1;
        END_HANDLER
        // Run OCR and Save new PDF into target PDF
        DURING
            //    OCR
            ASAtom cmdName;
            AVCommand cmd;
            cmdName=ASAtomFromString("PaperCapture");
            cmd=AVCommandNew(cmdName);
            ASCab config = ASCabNew();
            ASCabPutInt (config, "UIPolicy", kAVCommandUISilent);       //hide the interface
            if (kAVCommandReady ==     AVCommandSetConfig (cmd, config)) {
                //AVAlertNote("Config Ready");
            ASCab inputs = ASCabNew();
            ASCabPutPointer (inputs, kAVCommandKeyPDDoc, PDDoc, tempPDF, NULL);
            if (kAVCommandReady == AVCommandSetInputs (cmd, inputs)) {
                //AVAlertNote("Input Ready");
            ASCabDestroy (inputs);
            AVCommandStatus status = AVCommandExecute(cmd);
                        //switch (status) {
                        //    case kAVCommandReady :
                        //        AVAlertNote("Not working, but ready to work.");
                        //        break;
                        //    case kAVCommandWorking :
                        //        AVAlertNote("Still working");
                        //        break;   
                        //    case kAVCommandDone :
                        //        AVAlertNote("Done working");
                        //        break;   
                        //    case kAVCommandInError :
                        //        AVAlertNote("In Error");
                        //        break;       
                        //    case kAVCommandNotExecuted :
                        //        AVAlertNote("Command not executed due to lack of objects on which the command to be executed");
                        //        break;
            AVCommandDestroy(cmd);
            //Save
            //PDDocSave (tempPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized, outputPathName, ASGetDefaultUnicodeFileSys(),    NULL, NULL);
            //ClosePDF
            //PDDocClose(tempPDF);
            //Convert to PDF/A Compliance
            //Select the right handler
            AVConversionEnumFromPDFConverters(myAVConversionFromPDFEnumProc, NULL);
            // do conversion
            AVConversionStatus stat = AVConversionConvertFromPDFWithHandler(RightHandler, NULL, kAVConversionAsyncOkay, tempPDF, outputPathName,  ASGetDefaultFileSys(), NULL);
            // check the returned status and show message
            //if (stat == kAVConversionSuccess)
            //                AVAlertNote( "The PDF/A file was saved in output folder." );
            //else if (stat == kAVConversionFailed)
            //                AVAlertNote( "The PDF/A conversion failed." );
            //else if (stat == kAVConversionSuccessAsync)
            //                AVAlertNote( "The conversion will continue asynchronously." );
            //else if (stat == kAVConversionCancelled)
            //                AVAlertNote( "The conversion was cancelled." );
            //Save
            //PDDocSave (tempPDF, PDSaveFull | PDSaveCollectGarbage | PDSaveLinearized, outputPathName, ASGetDefaultUnicodeFileSys(), NULL, NULL);
            //ClosePDF
            PDDocClose(tempPDF);
            ASFileSysReleasePath(ASGetDefaultFileSys(), outputPathName);
        HANDLER
             char errorMsg[256];
            ASGetErrorString (ASGetExceptionErrorCode(), errorMsg, 256);
            if(ASBoolToBool(bEcho)==true) {
                AVAlertNote(errorMsg);
        END_HANDLER
            if(strcmp(Ext,"doc")==0) {
                char fname[40];
                sprintf(fname,"%s.pdf",aFileName);
                remove(fname);
            return 0;
    //Select the appropiate handler for the PDF/A conversion
    static ACCB1 ASBool ACCB2 myAVConversionFromPDFEnumProc(AVConversionFromPDFHandler handler, AVConversionEnumProcData data)
        AVFileFilterRec filter = handler->convFilter;
        ASUns16 numFileExt = filter.numFileDescs;
        char *kUniqueID = handler->uniqueID;
        // go through the conversion handlers to find a handler for PDF extension files and the unique key matches the PDF/A one.
        for  (ASInt32  i = 0; i < numFileExt; i++)
            if  (strlen(handler->convFilter.fileDescs[i].extension)>0)
                // found it, fill in the handler and return false to stop going on.
                if (!strcmp(handler->convFilter.fileDescs[i].extension, "pdf") && !strcmp(kUniqueID,"com.callas.preflight.pdfa")) {
                    RightHandler = handler;
                    return  false ;
        return true;

    There are some options for various APIs to run "kinda silent" - but again, Acrobat is designed for INTERACTIVE use…so "completely silent" isn't really an option.
    As for speed – you'd need to be MUCH MORE specific about where your slow downs are.  Have you profiled?
    From: Adobe Forums <[email protected]<mailto:[email protected]>>
    Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
    Date: Mon, 12 Dec 2011 07:39:08 -0800
    To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
    Subject: Slow processing and getting opening errors/warnings
    Re: Slow processing and getting opening errors/warnings
    created by FFX-ER<http://forums.adobe.com/people/FFX-ER> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4079175#4079175

  • Upgraded both computers in the household and found Lion is too disruptive to workflow.  Do I turn in the new laptop for a pre-Lion rebuild to keep Snow Leopard, or do I return computer and get upgraded memory to improve performance of existing MacBookPro?

    Upgraded both computers in the household and found Lion is too disruptive to workflow. 
    Do I turn in the new laptop for a pre-Lion rebuild to keep Snow Leopard, or do I return new computer and get upgraded memory to improve performance of existing MacBookPro?  I'm mostly still happy with existing MacBookPro, but Aperture doesn't work, the computer can't handle it.
    Other possibility is setting up virtual machine with Snow Leopard server software on new computer.
    Any opinions on what would allow moving forward with the least hassle and best workflow continuity?

    hi,
    what year and specs does the MBP have

  • What is wrong with the app store and how long before its fixed, im downloading atna very slow pash and i have a 10mb uncontested line.

    What is wrong with the app store and how long before its fixed, im downloading atna very slow pash and i have a 10mb uncontested line.

    Sorry, its on both my iphone 4s (2 iphones) and ipad2 that the app store is slow, I have done all the above and still when i download a 1 mb app it take about a half a hour just to download and previously it wasn't even a second. When browsing the web the devices are fast and internet speed is good, but when going in to app store it takes long to load and show me the new app, updates, featured app ect. We watch movie online and the streaming is brilliant. Even on my windows pc the app store is slow and sometimes says that i store could not be opened, i have also tried on my buddies wifi and there it does exactly the same which makes me think that its on apples side, but why do you not have any problems? 

  • When trying to sync, I get this computer is no longer authorized for purchases on this iphone. I click on store-authorize this computer and get successful and still get the error. I tried deauthorizing and reauthorizing and keep getting this message. Help

    when trying to sync, I get this computer is no longer authorized for purchases on this iphone. I click on store-authorize this computer and get successful and still get the error. I tried deauthorizing and reauthorizing and keep getting this message. Help

    the solution you propose is not helping . are there alternatives ?
    I have Iphone 4  never  had any problem , and withouth changing or modifying , this problem popped up out of the blue ....
    Please HELP

Maybe you are looking for

  • Error when executing a .irpt page

    Hi, I am getting the below error when executing a .irpt from the workbench. I am on MII 12.2.2 Build (235). 404   Not Found SAP NetWeaver Application Server 7.20 / AS Java 7.30 Error: S:usrsapALXJ10j2eeclusterappssap.comxappsxmiiearservlet_jspXMII oo

  • Connect older Mac monitor to new imac

    I have a 23" Apple Cinema HD Display monitor (like the image below) and I want to know what I need to purchase to connect it my my new 27" iMac.

  • ABAP Program Giving SAPSQL_ARRAY_INSERT_DUPREC Dump While Inserting Entries

    Hi Experts, I had z table in which i had made three fields as primary key combination , i also had a custom program in which i am inserting values into the z table using Insert statement. during the execution of the program it is going for a short du

  • Lost songs in song view

    Hi. I've been transferring my whole music collection (CDs and vinyl) to iTunes. I've used the iTunes ripper for the CDs and separate piece of PC software to digitise the vinyl which I've then put into itunes via Windows Explorer and linked to Music. 

  • Safari PDF disable option?

    I'm using a fairly old mac (G4 466Mhz) and it takes waaaay too long to have pdf's open in the browser. Is there a way to disable this pdf viewing in Safari? I know about option clicking files to start downloading them instead, but you don't always ha