Scan, OCR, save as First Sentence?

We are going to start doing bulk scanning of documents.  The first line at the top of the document has the name of the file we would like to save it as.  I am using action wizard.  Is there a way that I can create an action to scan the document, OCR just the first page, then save it as the first line of the document?

In theory it's possible provided the filenames you are looking for occupy a defined number of 'words' on the page, but it's not all that reliable as OCR can make mistakes.
Using JavaScript within the batch script or Action you can use the doc.getPageNthWord() function after OCR completes to find what Acrobat thinks is the first/second/etc. word in reading order on the page. You could then use that to construct a name to feed the doc.saveAs() function. The batch script itself wouldn't need a discrete save event. It'll be a bit fiddly to use as a scanned file doesn't exist in a meaningful 'source' folder, so the saveAs() function will need to be told where to save it.

Similar Messages

  • How can I save the first dept. for an employee in a transport table?

    Hi All,
    I have created a table to store the transports to an employee from department to another department.
    the first department number to every employee is stored at the parent table called employees.
    when I insert a new record to the transports table (which is the child for the parent employees) for an employee and the manager agrees for this transport the original value of department number in employees table will be changed to the new one. I done this process through a db trigger on the transport table.
    Now the problem is that the original value of the first department number will be lost cause of the db trigger that changes this value after manager agreement!
    I looked to solve the problem by adding a new column in employees table to save the first dept. no. for each employee only if Count of records = 1 for that employee like this:
    -- Before Update DB Trigger on Transports Table:
    DECLARE
    pragma autonomous_transaction;
    N NUMBER;
    BEGIN
    SELECT count(EMP_SID) -- emp-sid is the FK referenced from employeess.emp_sid
    INTO N
    FROM TRANSPORT_TRANS
    where emp_sid=:NEW.EMP_SID
    GROUP BY EMP_SID;
         IF :NEW.AGREE_FLG = 1 AND N = 1 THEN -- If the manager agrees and this record is the first one for that employee
         UPDATE EMPLOYEESS E
         SET E.FST_AD=E.ADMINISTRATION_SID, -- E.ADMINISTRATION_SID has the oroginal value for admin no. and FST_AD is the new column to save the first value
                E.FST_HE=E.HEADQUARTERS_SID,
                E.ADMINISTRATION_SID = :OLD.ADMIN_SID, -- changing the value with then new one added on the table
                E.HEADQUARTERS_SID = :OLD.HEAD_SID
               WHERE E.EMP_SID = :OLD.EMP_SID;
         ELSIF :NEW.AGREE_FLG = 1 AND N != 1 THEN -- if the manager agrees but the record is not the first record for that employee
         UPDATE EMPLOYEESS E
            SET   E.ADMINISTRATION_SID = :OLD.ADMIN_SID, -- only change the original  values
                     E.HEADQUARTERS_SID = :OLD.HEAD_SID
                     WHERE E.EMP_SID = :OLD.EMP_SID;
         END IF;
    END;But the form gives me this error if I deleted (pragma autonomous_transaction;) st. :
    ORA-04091: table transports is mutating, trigger/function may not see it
    But when I keep it, the form gives me this error:
    ORA-06519: active autonomous transaction detected and rolled back
    Edited by: Dev. Musbah on Aug 18, 2009 2:09 AM

    Dev. Musbah,
    First make sure that the insert statement executes. And check whether other error messages are getting. Currently you are checking only NO_DATA_FOUND. so change the exception part with
    EXCEPTION
         WHEN NO_DATA_FOUND THEN NULL;
         WHEN OTHERS THEN MESSAGE('Some Error Occured');Regards,
    Manu.
    If this answer is helpful or correct, please mark it. Thanks.

  • Tabstrip does not save when first clicked

    After I set all the input field to be required for my 3 tabs in my tabstrip, I am only able to save the data in text field after I click the save button the second time and not the first time.
    Clicking Save button first time:
    http://img407.imageshack.us/img407/6461/screenjk0.png
    Clicking Save button second time:
    http://img407.imageshack.us/img407/3266/screen2ng4.png
    Here are my codes:
    REPORT  ZTREE_STRUCTURE2.
    DATA : IO_NAME(40) TYPE C,
          IO_AGE(40) TYPE C,
          IO_GENDER(40) TYPE C.
    DATA: P_HERA TYPE DNTAB-TABNAME VALUE 'ZHERA',
           ITAB_HERA TYPE TABLE OF ZHERA,
           FIELD_COUNT TYPE I,
           WA_HERA LIKE LINE OF ITAB_HERA,
           P_HERA2 TYPE DNTAB-TABNAME VALUE 'ZHERA2',
           ITAB_HERA2 TYPE TABLE OF ZHERA2,
           WA_HERA2 LIKE LINE OF ITAB_HERA2.
    SELECT * INTO TABLE ITAB_HERA FROM ZHERA.
    SELECT * INTO TABLE ITAB_HERA2 FROM ZHERA2.
    *&SPWIZARD: FUNCTION CODES FOR TABSTRIP 'TABNAME2'
    CONSTANTS: BEGIN OF C_TABNAME2,
                 TAB1 LIKE SY-UCOMM VALUE 'TABNAME2_FC1',
                 TAB2 LIKE SY-UCOMM VALUE 'TABNAME2_FC2',
                 TAB3 LIKE SY-UCOMM VALUE 'TABNAME2_FC3',
               END OF C_TABNAME2.
    *&SPWIZARD: DATA FOR TABSTRIP 'TABNAME2'
    CONTROLS:  TABNAME2 TYPE TABSTRIP.
    DATA:      BEGIN OF G_TABNAME2,
                 SUBSCREEN   LIKE SY-DYNNR,
                 PROG        LIKE SY-REPID VALUE 'ZTREE_STRUCTURE2',
                 PRESSED_TAB LIKE SY-UCOMM VALUE C_TABNAME2-TAB1,
               END OF G_TABNAME2.
    CONSTANTS: BEGIN OF C_TRANSFORM,
                 TAB1 LIKE SY-UCOMM VALUE 'TRANSFORM_FC1',
                 TAB2 LIKE SY-UCOMM VALUE 'TRANSFORM_FC2',
               END OF C_TRANSFORM.
    *&SPWIZARD: DATA FOR TABSTRIP 'TRANSFORM'
    CONTROLS:  TRANSFORM TYPE TABSTRIP.
    DATA:      BEGIN OF G_TRANSFORM,
                 SUBSCREEN   LIKE SY-DYNNR,
                 PROG LIKE SY-REPID VALUE 'ZSCSDM_MODIFY_TRANSFORM_HERA',
                 PRESSED_TAB LIKE SY-UCOMM VALUE C_TRANSFORM-TAB1,
               END OF G_TRANSFORM.
    DATA:      OK_CODE LIKE SY-UCOMM.
    START-OF-SELECTION.
    CALL SCREEN 9000.
    MODULE STATUS_9000 OUTPUT.
       SET PF-STATUS 'SCREEN_9000'.
       SET TITLEBAR 'RWB_TRANSFORM'.
    ENDMODULE.                    "STATUS_8000 OUTPUT
    MODULE TABNAME2_ACTIVE_TAB_SET OUTPUT.
      TABNAME2-ACTIVETAB = G_TABNAME2-PRESSED_TAB.
      CASE G_TABNAME2-PRESSED_TAB.
        WHEN C_TABNAME2-TAB1.
          G_TABNAME2-SUBSCREEN = '9001'.
        WHEN C_TABNAME2-TAB2.
          G_TABNAME2-SUBSCREEN = '9002'.
        WHEN C_TABNAME2-TAB3.
          G_TABNAME2-SUBSCREEN = '9003'.
        WHEN OTHERS.
    *&SPWIZARD:      DO NOTHING
      ENDCASE.
    ENDMODULE.                    "TABNAME2_ACTIVE_TAB_SET OUTPUT
    *&SPWIZARD: INPUT MODULE FOR TS 'TABNAME2'. DO NOT CHANGE THIS LINE!
    *&SPWIZARD: GETS ACTIVE TAB
    MODULE TABNAME2_ACTIVE_TAB_GET INPUT.
      OK_CODE = SY-UCOMM.
      CASE OK_CODE.
        WHEN C_TABNAME2-TAB1.
          G_TABNAME2-PRESSED_TAB = C_TABNAME2-TAB1.
        WHEN C_TABNAME2-TAB2.
          G_TABNAME2-PRESSED_TAB = C_TABNAME2-TAB2.
        WHEN C_TABNAME2-TAB3.
          G_TABNAME2-PRESSED_TAB = C_TABNAME2-TAB3.
        WHEN OTHERS.
    *&SPWIZARD:      DO NOTHING
      ENDCASE.
    ENDMODULE.                    "TABNAME2_ACTIVE_TAB_GET INPUT
    MODULE USER_COMMAND_9000 INPUT.
    IF SY-UCOMM = 'BACK'.
      LEAVE PROGRAM.
    ELSEIF SY-UCOMM = 'EXIT'.
      LEAVE PROGRAM.
    ELSEIF SY-UCOMM = 'CANCEL'.
      LEAVE PROGRAM.
    ELSEIF SY-UCOMM = 'SAVE'.
    ENDIF.
    ENDMODULE. "USER_COMMAND_9000 INPUT
    FORM INSERT_TABLE.
      WA_HERA-NAME = IO_NAME.
      WA_HERA-AGE = IO_AGE.
      WA_HERA2-GENDER =  IO_GENDER.
      INSERT INTO ZHERA VALUES WA_HERA.
      INSERT INTO ZHERA2 VALUES WA_HERA2.
      MESSAGE S001(ZMSG02).
    ENDFORM.                    "UPDATE_TABLE
    Can anyone tell me what is wrong with my codes?

    Hi,
    In your module here
    IF SY-UCOMM = 'BACK'.
      LEAVE PROGRAM.
    ELSEIF SY-UCOMM = 'EXIT'.
      LEAVE PROGRAM.
    ELSEIF SY-UCOMM = 'CANCEL'.
      LEAVE PROGRAM.
    ELSEIF SY-UCOMM = 'SAVE'.
    ENDIF.
    ... replace all occurrences of SY-UCOMM with OK_CODE.
    This will resolve the problem.
    Regards,
    Aditya
    Edited by: Aditya Laud on Feb 5, 2008 12:16 AM

  • I want to open a document in a link without having to save it first.

    When reading an email or looking at a web page I always have to save a document before I can open it. I used to be able to click on the link and was given the option to open or save the file. I no longer get the option. I do not want to save all these things to my computer first. How can I get the option to open a document whose link I have clicked on without having to save it first?

    Just be sure that feature is enabled first.
    Settings / General / Keyboard / Enable Caps Lock.
    When capslocked, the arrow turns blue.

  • My MacBook pro mid 2012 doesn't seem to have a "save as" function, so I can't seem to save multiple page pdf's together after moving thumbnails into the sidebar. It only saves the first page. I can't figure out the rename function either. Help?

    My MacBook pro mid 2012 doesn't seem to have a "save as" function, so I can't seem to save multiple page pdf's together after moving thumbnails into the sidebar. It only saves the first page.
    I do have a 2008 version of Microsoft Office installed to save money, but that shouldn't affect things. I can't figure out the "rename" function either. Help?

    Oh, and I also reset my NVRAM, my computer hasn't frozen again yet, so I'm not sure if it has made a difference.

  • Why when i save my indesign file down to an earlier version does it only save the first page of my document?

    why when i save my indesign file down to an earlier version does it only save the first page of my document?

    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index http://forums.adobe.com/index.jspa
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says ALL FORUMS) to open the drop down list and scroll

  • Is there a way to not indent the first sentence in a chapter?

    I understand how to indent paragraphs in the text, but with proper sentence construction you don't indent the first sentence of a chapter. Is there anyway that you have found to do this in Author while still indenting the rest of the paragraphs?

    Do you already have a custom style you can leverage, say between para1 and para2, as an example?

  • When I scan and save the document to pdf, it comes out complete grayed out.  What did I do wrong?

    When I scan and save the document to a pdf, it comes out completely grayed out.  What did I do wrong?

    Thank you.  I already have that checked.   After an update, it started doing this.   Preferences> Display>Page Content & Info > Show large images is checked.
    It is almost like a protection on the document that grays out all the content.

  • Me to open a webpage document without having to save it first?

    How can i change my settings in google chrome to open a googled page (that is a pdf.ppt) without having to save it first to my machine?

    You have 2 versions of Pages on your Mac.
    Pages 5.2 is in your Applications folder.
    Pages '09/'08 is in your Applications/iWork folder.
    You are alternately opening the wrong versions.
    Pages '09/'08 can not open Pages 5 files and you will get the warning that you need a newer version.
    Pages 5.2 can open Pages '09 files but may damage/alter them. It can not open Pages '08 files at all.
    Older versions of Pages 5 can not open files from later versions of Pages 5.
    Once opened and saved in Pages 5 the Pages '09 files can not be opened in Pages '09.
    Anything that is saved to iCloud and opened in a newer version of Pages is also converted to Pages 5 files.
    All Pages files no matter what version and incompatibility have the same extension .pages.
    Pages 5 files are now only compatible with themselves on a very restricted set of hardware, software and Operating Systems and will not transfer correctly on any other server software than iCloud.
    Apple has removed almost 100 features from Pages 5 and added many bugs:
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    Peter

  • When viewing forums the cursor placed over the thread title would let me see the first sentence in the thread, now it is just a small blank box........any ideas?? Thx

    When viewing forums the cursor placed over the thread title would let me see the first sentence in the thread, now it is just a small blank box........any ideas?? Thx

    Yassssss...................that did it............................thank you!!!

  • Cant Open PDF document-its always ask me to save it first

    I can not open a PDF document in adobe reader, it is always asking me to save it first

    I have the same problem on some workstations since a while, when i want to open a PDF from the Browser. But i dont know why or even what it caused...then before all was working, so if we hit a link in the webbrowser, the PDF was opening in the Acrobat Reader. Now instead, it open's the "save as" dialog.
    I have deactivatet the "display PDF in Browser" in the installation and it is never activated.
    must be a Computer Parameter, because same user on different computers has different effects.....
    an update to Reader 11 did not solve it....i have 10.1.7 at the moment...so i dont hesitate to update all.....
    Browser is IE9 on Win7 (64bit)
    Thanks for help !
    Sascha

  • Will the 8600 scan and save as PDF legal size documents?

    Will the 8600 scan and save as PDF legal size documents?

    Hey there @jadoue , welcome to the forums!
    Yes, you can scan a PDF as legal size and save it. Check out the screen shot I posted below as an example of what you are looking for in the printer software that is installed on your computer.
    Let me know if you have any other questions!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Downloads - I want to open some PDFs/other file types from the internet but not have to save them; I can't figure out how to view them and close them without having to save them first.

    Downloads - I want to open some PDFs/other file types from the internet but not have to save them. I can't figure out how to view them and close them without having to save them first. When I click on a file, the downloads box opens and depending on the setting, it auto saves the file or asks me where to save the file. What if I don't want to save it anywhere, I just want to view it and close it?

    https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox
    https://support.mozilla.com/en-US/kb/Opening+PDF+files+within+Firefox

  • Is there a way to outdent the first sentence in a paragraph in Pages?

    Is there a way to outdent the first sentence in a paragraph in Pages? The essay is finished and I am just adding some finishing touches to the piece and i Just want to outdent the first sentence in the paragraph but I cant find a way to do this. Can any on ehelp me with this. Thank you.

    It's called a hanging indent. It's a two-step process using the ruler. Move the indent to the point you want the second & subsequent rows then move the small bar on top of the triangle to the left. Or use the Text inspector as in this screenshot.

  • In order to transfer a document from Internet I am asked to save it first in my computer. In another PC I can simply open it. How can I do this in the former?

    In order to transfer a document from Internet in one of my computers, I am asked to save it first (in my computer). In another computer I am not asked to save it and I can simply open it. IO would like to have the possibility to simply open it on the first computer and save it only if I want.

    Difficult to understand why Disk Utility can be hard to find. It is listed in the Finder Menu/Services. You can also find it in your Applications Folder under Utilities.
    What Mac do you have and what version of OS X ?

Maybe you are looking for

  • How to restrict change type in CC31

    Hi , I have a new requirement in which I need to restrict change types in txn CC31 (Create ECR).onlya set of people should create a ECR with one change type and another set of ppl with another change type, but I am not able to find any auth object wi

  • Dynamic Hyperlink underline

    Hi all, I am writing an application, where the user can input text in a JText Area. I would like to add a feature where when as a hyperlink is being typed in, it would automatically be highlighted/underlined/made clickable. MS Word and hotmail editor

  • User Exit for Material Group...Urgent help needed

    Does anybody have an idea of which user exit can be used to capture the changes made to material group in MM02(Material)..... Urgent help needed...

  • Can i access iCloud from finder

    Is there a way of accessing icloud files from the finder?

  • Free Screen Recording Software

    I need a free screen recording software. Anyone know of any good ones?  I have been looking at CamStudio.org but I can't find anyone to really vouch for it yet and the download package is sketchy at best. It's a zip file with a single .exe so I tried