How to skip non-PDF files in Action on folder?

Hello,
I have an Action in Acrobat Pro XI that takes a default folder and (using JS) batch converts the PDFs to text.  However, it also tries to convert *.txt files.  I don't care that it imports the *.txt to *.pdf as temp file but it then stops the batch processing by asking if I want to save the changes to the temporary PDF.  How can I bypass this?  Here is the JavaScript it executes:
    /* Convert PDF to Text File (*.txt) */
    var inPath = "../";
    var outPath = "/c/users/***/desktop/test/output/";
    var myFile = inPath + this.documentFileName
    var myFileExt = myFile.replace(/^.*\./,'');
    if (myFileExt == 'tmp'){
        console.println(this.path);
    } else {
        console.println('Found a PDF!');
        console.println(this.path);
        this.saveAs(outPath + this.documentFileName + ".txt", "com.adobe.acrobat.plain-text");
Options I'm fine with:
Skipping all non-PDF files from the Actions WizardCan't find a method to do this.
Disabling the Save As prompt for the temporary created PDFs (*.txt files)
The line returned by console.println(this.path) if myFileExt == 'tmp' is this":/C/Users/**/AppData/Local/Temp/A9R6966.tmp
It still creates a temporary PDF.
I tried this.closeDoc('true') but it closes Acrobat entirely.
I hope that is concise enough!  Thanks for looking.

Skipping all non-PDF files from the Actions Wizard
This used to be possible, but unfortunately it's not possible any longer in Acrobat XI.
What you can try to do is just add a Save command to your Action and hope that it saves the temp files silently (maybe you can save them in some temp folder), and then closes them and continues...

Similar Messages

  • Does anyone know how i can view PDF files using Galaxy Note 2?

    Does anyone know how i can view PDF files using Galaxy Note 2?
    This is what i have been doing;
    I click on the file i wish to view (via a portal)
    this file goes to notification widget (i drag down screen)
    notification/message says download complete
    i click on notification/message
    nows it says complete action using (here i only have 2 icon options 1= DB Text Editor 2 = HTML Viewer)
    I have installed Adobe Reader.

    Can you confirm if the downloaded file is a pdf file, that is it ends with .pdf?

  • Acrobat 9.3.4 no longer finds bookmarked non-PDF files (and then launches assoc app)

    I produce a documentation DVD consisting of a one-page PDF file of ~ 1400 bookmarks and a lot of content.  The bookmarks point to the content on the DVD which includes pdf files as well as text, DOC, XLS, and other misc. file types, and a large number of html, swf, flv, .jpg, etc. files which make up 4 complete web sites.  The web sites are entirely contained on the DVD (no extermal internet access is referenced or required)
    Content is accessed by clicking a bookmark which simply opens the file (regardless of type.)  Prior to Acrobat 9.3.4, appropriate warnings popped up for non-PDF files but if allowed by the user, the appropriate app was launched for the requested file.
    Since applying 9.3.4, a "Launch File" warning box pops up showing the file name (which lacks a device) and when the warning's "Open" button is pressed, a Windows error appears with the message "Windows cannot find 'file.txt'.  Make sure you typed the name correctly, and then try again.  To search for a file....  ", and finally an Adobe Acrobat information box pops up and says "Could not open the file 'path/file.txt'  ".
    I have read and re-read about launching external apps, restricted urls and attachments, trust manager preferences, etc. etc.  I've added the files to the privileged locations list under the enhanced security settings and on and on.  It no longer works, yet I tested this DVD on several computers just last week and it worked fine. So, as a shot in the dark, I decided to fire up my laptop and test it there again.
    Once on, the laptop immediately wanted to update about 12,000 software products but I politely said "No, wait until i test this out!"  The test was successful and the DVD's pdf file worked great again!  At that point I let the machine apply the Acrobat 9.3.4 update (and some uncountable number of Windows patches and fixes.)  It's running a current version of Win7.  After the reboot, i tried the DVD again (under Acrobat 9.3.4) and it failed as described above.  Because of Win7 I was able to revert to acrobat 9.3.2 using System Restore.  After doing that, the DVD worked again.
    Most of our user's machines are either Macs or WinXP (current versions) and i haven't had time to figure out if you can even recover from this update under those OS's.  (It says you cannot remove it from XP, however.)  Regardless, even if i can do it for my laptop and get it working again, i cannot do it for all of our users.
    So, my question is if i am not doing something wrong, how do i let someone at Adobe know this release is broken??  If i am doing something wrong on the other hand, what is it and how do i get this to work again??
    Thanks all.

    Thanks.  I did submit a report at the site.  I hope somebody reads it as this is a big problem for us.
    Thanks again.

  • How to open a pdf file only in one computer

    I would like to sell pdf publications by allowing  the user to open them only in one computer. I learnt that this has been done  the past when I bought  some publications but I don't know the way to do it. Could you help me?
    thank you
    Marco

    thank you for your support
    Best Regards
    Marco
    Da:     Mylenium <[email protected]>
    Per:    MARCO1 <[email protected]>,
    Data:   09/10/2013 11:09
    Oggetto:        How to open a pdf
    file only in one computer
    Re: How to open a pdf file only in one computer
    created by Mylenium in Downloading, Installing, Setting Up - View the full
    discussion
    You will havwe to sign up for some service that supports rights
    management, use protected PDFs via LiveCyle/ Acrobat Connect or learn how
    to create your own ePub stuff using Digital Publishing Suite. In any case,
    it will probably cost you money upfront before you make any revenue.
    Mylenium
    Please note that the Adobe Forums do not accept email attachments. If you
    want to embed a screen image in your message please visit the thread in
    the forum to embed the image at
    http://forums.adobe.com/message/5746873#5746873
    Replies to this message go to everyone subscribed to this thread, not
    directly to the person who posted the message. To post a reply, either
    reply to this email or visit the message page: [
    http://forums.adobe.com/message/5746873#5746873]
    To unsubscribe from this thread, please visit the message page at [
    http://forums.adobe.com/message/5746873#5746873]. In the Actions box on
    the right, click the Stop Email Notifications link.
    Start a new discussion in Downloading, Installing, Setting Up at Adobe
    Community
    For more information about maintaining your forum email notifications
    please go to http://forums.adobe.com/message/2936746#2936746.
    Il messaggio trasmesso può contenere informazioni di carattere
    confidenziale rivolte esclusivamente al destinatario. Ne è vietato l'uso,
    la diffusione, la distribuzione o la riproduzione da parte di altre
    persone e/o entità diverse da quelle specificate. Nel caso aveste ricevuto
    questo messaggio per errore, siete pregati di segnalarlo immediatamente al
    mittente e cancellare quanto ricevuto.
    This electronic mail transmission may contain confidential information
    addressed only to the person(s) named. Any use, distribution, copying or
    disclosure by any other person and/or entities other than the intended
    recipient is prohibited. If you received this transmission in error,
    please inform the sender immediately and delete the material

  • How convert a color PDF File to black & white (gray scale...no color)

    How convert a color PDF File to black & white (gray scale...no color)??? creative cloud cs6... Acrobat etc

    Hi, just wanted to add my 2¢
    I've been in publishing over 25 years and live in Acrobat for making my final files. Currently with a newspaper.
    This is what we do:
    • Tool Panes > Print Production Window
    • Select CONVERT COLORS
    • Midway down under OUTPUT INTENT, check Convert Colors to Output Intent
    • In the associated drop down menu, I choose (because I'm printing on newsprint) DOT GAIN 20% – If you're working on better stock, choose a lower dot gain percentage.
    • Click OK – this will convert the file
    • Save
    Note: this affects the file you're working with. Make sure that you use this method on a COPY if you want to retain the original color version.
    I think if you compare my method to the Preflight method, you'll see a tighter contrast and better blacks. I've always felt the Preflight method left continuous tones a little muddy.
    Now if there was only a way to add that to ACTIONS...!

  • How can I open PDF files?  The usual procedures don't work for me.  Thanks.

    How can I open PDF files?  Until a couple of months ago, I had no problem.  Now I can open none of them.  I have Adobe Reader X.  Yesterday I uninstalled Adobe X, restarted the computer, and then reinstalled Adobe X.  No success.  Thanks.

    What happens if you open Reader first then use File>Open like Bernd suggested?
    Are you sure you are opening them in Reader and not a text editor or MS Word? I ask because Reader will not prompt you for a language.

  • How to upload non iWork files to iCloud...am I missing something?

    I am wondering how to upload non iWork files to iCloud..such as pdf's, Xls, etc....etc any type of file really the way I could with iDisk.
    Am I missing something simple?
    Thnaks,
    Derek

    Thanks for your reply. Just curious if this method is standard setup the way Apple recommends to use iCloud in this situation or if it is a work around to accomplish what I am after?
    Thanks again!
    d.

  • How do I save PDF files by default to the folder of the source file?

    How do I save PDF files by default to the folder of the source file with Acrobat 9.0.0 Standard?

    I am not seeing that behaviour. If I right-click a link to a .pdf file, I get the file saved with the original filename.
    Maybe one of the settings in about:config controls that?
    pdfjs.previousHandler.preferredAction is a setting that has a value of 4 with my setup. I have no idea what that means, and I could not find any explanation anywhere. You could try using different numbers for that value and see if any make any difference. Why has nobody bothered to explain that setting anywhere?

  • How do you delete .pdf files?

    How do you delete pdf files from android Adobe Reader?  I  can delete the files, how do I
    delete the file name from the Adobe Reader file list, especially duplicate file names.
    someone  please help me. this will have to be done from  within the Reader, I  think. ?

    The full instructions are here: http://learn.adobe.com/wiki/display/readermobile/Android+FAQ.
    Ben

  • How to show a pdf file in bi publisher report

    Hi All,
    We need to show a pdf file as report which was saved in a given location. How to call that pdf file as report. We need to give a hyperlink in the report and when we click on the report the pdf file should be displayed.
    When we open a report, there will be just hyperlinks to call serveral reports. When we click on each link , one should call a pdf saved in a particular location.
    Thanks.

    In Word, if you have set the borders on then you should see them in the output. In Word it has a setting to let you see 'gridlines' even if they are not set ie you have turned the borders off. Highlight the table and set all the borders on and re-try. If that fails, try building the table from scratch and copy the cell contents across to the new table
    Tim

  • How to download a pdf file in external storage(sd-card) not use a isolated storage wp8

    i have a url for download pdf file return by webservices 
    and i have attach this link in hypertext button this is start a download but in browser . and when i am google for this purpose the give me "
    Background file transfer
    " Process and then code is also using a isolated storage but i want a external storage process Please Help me 
    how to download a pdf file in external storage(sd-card) not use a isolated storage wp8 

    Hello,
    This forum is for discussions and questions regarding profiles and Microsoft's recognition system on the MSDN and TechNet sites. It is not for products/technologies.
    As it's off-topic here, I am moving the question to the
    Where is the forum for... forum.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book: Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C40686F746D61696C2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

  • How can I read pdf files from LabVIEW with different versions of Acrobat reader?

    How can I read pdf files from LabVIEW with different versions of Acrobat reader?
    I have made a LabVIEW program where I have possibility to read a PDF document.  When I made this LabVIEW program it was Acrobat Reader 5.0.5 that was installed on the PC. Lather when the Acrobat Reader was upgraded to version 6.0, there was an error when VI tries to launch the LabVIEW program. And Later again when we upgraded to Acrobat Reader 7.0.5 I must again do some changes and rebuild the EXE files again
    It isn't so very big job to do the changes in one single LabVIEW program, but we have built a lot of LabVIEW programs so this take time to due changes every time vi update Acrobat Reader. (We have build EXE files.)
    The job is to right click the ActiveX container and Click "Insert ActiveX Object", then I can brows the computer for the new version of acrobat Reader. After this I must rebuild all the "methods" in the Activex call to make the VI executable again.
    Is there a way to build LabVIEW program so I don't have to do this job every time we update Acrobat Reader?
    This LabVIEW program is written in LabVIEW 6.1, but I se the problem is the same in LabVIEW 8.2.
    Jan Inge Gustavsen
    Attachments:
    Show PDF-file - Adobe Reader 7-0-5 - LV61.vi ‏43 KB
    Read PDF file.jpg ‏201 KB
    Show PDF-file - Adobe Reader 5-0-5 - LV61.vi ‏42 KB

    hi there
    try the vi
    ..vi.lib\platform\browser.llb\Open Acrobat Document.vi
    it uses DDE or the command line to run an external application (e.g. Adobe Acrobat)
    Best regards
    chris
    CL(A)Dly bending G-Force with LabVIEW
    famous last words: "oh my god, it is full of stars!"

  • How can I delete PDF files from my iMac desktop?

    How can I delete PDF files from my iMac desktop?

    Not on my system,When I try to dump if off in the trash it will not go. I get a message that says this file cannot be removed. I also tried going to File and clicking on Move to Trash. No dice.

  • How can I transmit PDF files from my Mac to my iPad, How can I transmit PDF files from my Mac to my iPad

    How can I transmit PDF files from my Mac to my iPad, How can I transmit PDF files from my Mac to my iPad

    Yes you can definitely do this. You'll need an app on the iPad that handles PDF viewing and editing. There are many around - two of the best I've seen are GoodReader and PDF Expert.
    In iTunes when you iPad is connected to your PC, go to the Apps tab and scroll down and you'll see the File Sharing section. You can drag files to there to share them to your iPad.
    You could also look at online file sync services like PDF to ePub Maker if you prefer not to have to connect your iPad to a PC

  • HOW DO I VIEW PDF FILES IN SAFARI 5.1.7

    HOW DO I VIEW PDF FILES IN SAFARI 5.1.7?

    I had the same problem... I have installed PDF Browser Plugin Version 2.4.4, and it works very fine !
    http://www.macupdate.com/app/mac/9542/pdf-browser-plugin

Maybe you are looking for

  • How do I merge 105 PDF's into a Single PFD?

    How do I merge 105 pdf's into a single PDF. I have already tried doing this in PREVIEW, selecting all, and then saving, and saving as. But it is for me, to no avail. When I re-open, all I get is the first page. please help.

  • Ssd compatability Pavilion dv6-3118sa

    I have a Pavilion DV6-3118sa laptop and the hard drive has died without warning. I am trying to find out if I can take this oportunity to replace the failed drive with an SSD. Does anyone know if the machine is compatable with SSD's . I'd like to rep

  • Cant upgrade my iOS from 5.1.1 to 6.

    im using iPhone 4s (Factory Unlock) but i Cant upgrade my iOS from 5.1.1 to 6. after 90% of download an error cameup and stop downloading. Tried several time to download, whats the problem ? what should i do ?

  • [SOLVED] Laptop screen blank (black)

    Hey there I left my laptop (dell vostro 1520) for about half an hour running on my desk. After coming back, the screen was black and could not be turned on again. The screen is still black after several reboots. I cannot even see the bios loading scr

  • Clobs in stored procedures

    I have a stored procedure which has a field that includes a CLOB. These are the fields for this stored procedure: PKEY NUMBER IN ID VARCHAR2 IN DESCRIPTION VARCHAR2 IN COMMENTS CLOB IN LAST_MODIFIED DATE IN Now when i try to execute this stored proce