How do I determine the name of a file from a watched folder

I would like to generate a log to track the names and outcomes of files processed from a watched folder.  I don't see a way to access the name of the file from within the process.  I have a variable "inPDF" which is data type "document" and "outResult" which is type "xml" but I don't see a way to access the file name (or path) of the "inPDF" "document" object.  Is there a way to access the file name and path?

Thank you, this sounds promising.
Where can I find documentation describing the attributes that can be retrieved using the getDocumentAttribute function?  Also, where can I find a complete reference on the Document object?
Best Regards,
Noam

Similar Messages

  • How to read the name of .csv file from a particular folder using Oracle.

    Gurus,
    I have a folder called 'data_dir' in Oracle Server and it contains 10 different .csv files and the name of the each file is being suffixed by date and time(24 hrs format).
    First i need to read all the file names then i have to process those files by UTL_FILE to load the data into a relational table.
    Is there any mechanism is available in Oracle to read the file names?
    (In this case all the 10 different csv file names)
    If so, then please help me accomplish this.
    Thanks in advance.
    Regards,
    Venugopal.K

    Is there any mechanism is available in Oracle to read the file names?Sounds to me like you need to use External Tables (*not* utl_file).
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14215/et_concepts.htm

  • How do I change the name of my iMac from my wife's name to our surname?

    How do I change the name of my iMac from my wife name to our surname?

    System Preferences - Sharing - Change the name of the computer in the Computer Name box.

  • How can I copy the whole directory of files from PC to iPad?

    How can I copy the whole directory of files from PC to iPad ?

    Get an app that reads PDF's, such as iBooks or GoodReader or Readdle Docs, then use the file transfer part of iTUnes to get those files to your iPad, through iTunes. ( I have no experience with goodreader, but with ReaddleDocs you can move the files, then create folders to put them in to keep them organized)

  • How can I locate the original .CR2 /  Raw file from Photos in finder?

    How can I locate the original .CR2 /  RAW file from Photos in the finder window? I would like to know a easier way to open my files and use them in Photoshop than having to go to the Pictures folder, right clicking "show packaged contents", and manually searching for my CR2's / RAW's. It is also ridiculous to have to export the RAW file to my desktop, and then take it into Photoshop or another photo editing program.  I was able to do this in iPhoto and find I cannot do so in Photos. Please help? Can you please consider adding a right click function that says "Show Original file in Finder". That would make it so much easier and better for those of us who want a simple way to access the original files and use them in other editing programs. At least with iPhoto you could go to the top menu / preferences and find your items.

    http://www.apple.com/feedback/macosx.html is the place for feature requests and feedback
    Rather than use the 'Show package Contents route, the supported and safer way is to export the unmodfied original.

  • How will I save the downloaded documents or files from my gmail account?

    How will I save the downloaded documents or files from my gmail account?

    http://forums.adobe.com/docs/DOC-2532

  • How can I change the name of my Mac from old company to my new one, How can I change the name of my Mac from old company to my new one

    How can I change the name of my Mac.  I am using it with a different company now and told want the old company name showing up on emails etc.

    Thanks.  When I rep;y to an email I get this
    SOS Medical <[email protected]>
    I would like to replace the SOS Medical with my company name

  • How can I know the name(s) of font from built-in font dialog from Word VSTO AddIns.

    Hi, All !!
    I would like to extract some values from the built-in font dialogbox "wdDialogFormatFont" through VSTO AddIns.
    Figured out short codes;
    Microsoft.Office.Interop.Word.Dialog 
    F_DLG  =  Globals.ThisAddIn.Application.Dialogs[Microsoft.Office.Interop.Word.WdWordDialog.wdDialogFormatFont];    
    F_DLG.Show();
    MessageBox.Show( F_DLG.FontMajor.ToString() );
    MessageBox.Show( F_DLG.FontHighAnsi.ToString() );
    Ther last two lines (red ones) do not work at all.
    How can I know the name of the fonts ? (English and Non-English)
    In VBA, it works beautifully.
    Thanks !!

    Hi,
    According to the description, you want to get some options from the build-in dialog dispaly by code.
    As far as I know, we can declare an dynamic object to achieve the goal. Here is the code for your reference:
    dynamic F_DLG = Globals.ThisAddIn.Application.Dialogs[Microsoft.Office.Interop.Word.WdWordDialog.wdDialogFormatFont];
    F_DLG.Show();
    MessageBox.Show(F_DLG.FontMajor);
    Also we can use refrection to get the property we wanted like below:
    Microsoft.Office.Interop.Word.Dialog F_DLG = Globals.ThisAddIn.Application.Dialogs[Microsoft.Office.Interop.Word.WdWordDialog.wdDialogFormatFont];
    F_DLG.Show();
    MessageBox.Show(F_DLG.GetType().InvokeMember("FontMajor", BindingFlags.GetProperty, null, F_DLG, null).ToString());
    Regards & Fei
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How can I copy the name of a file, that I selected by a click?

    Hi,
    I have a device controled by a Excell (VBA) interface. Truogh this interface I control the motors and Diadem (for the report) and the data are save in a database. When I  use the load button from the excell, the VBA application call the script from Diadem  Load_DATA_BOF.VBS, (after I complete the new data for the report), and make the report.  Now to make it work, I copy the name of the filename that I want to load in a TextBox, and all the data are store in a txt file( protocol_for_load.txt) and Diadem takes from there the data for the report.
    What I want to do is to fill automatic the field of the filename in the  protocol_for_load.txt, when I select the file in  Diadem.
    Can this be done?
    Thank you for your time
    Solved!
    Go to Solution.
    Attachments:
    BOF script.zip ‏177 KB

    Hi Brad,
    I find out how to copy the name of a selected file ( with filedlgfile) and now I want to open the text file ( with the name the same like the file loaded)  so I can read the data from inside, but the command textfileopen from the script can't support a variable in the description, I thing.
    Fno = textfileopen ( filenametxt, tfread)
    Please look in to my script to understand better.
    I need to open the txt file with the name the same like the file loaded, to take the data and fill the report. This I need to do in Diadem Script, because I will call the script trough a VBA interface.
    Sorry for not being more clearly  first  time, but I am a beginner in working with VBS.
    Attachments:
    Diadem script.zip ‏69 KB

  • How do I obtain the names of graphic layers from a PDF?

    I want to write an applescript that will extact the layer names from a PDF imported into InDesign. However, the only layer name it returns is the separator layer "Test.indd" and not the actual layers contained in the PDF.
    The PDFs are saved from AI to include layers. Anyone have any suggestions on how to drill down into the serarator layer to get the other layer names?
    Thanks,
    Sean M.

    I don't see anything in the ID dictionary that lets you get PDF or AI layers. You might ask in the scripting forum if it can be done with a JavaScript  do script.
    You could open the PDF in AI and get the names like this, which displays the names of a selected PDF's layers from AI—I don't think you can do it in Acrobat.
    tell application "Adobe InDesign CS6"
        activate
        set myPath to file path of item link of selection of active document as alias
        tell application "Adobe Illustrator"
            open myPath
            set myLayers to name of every layer of document 1
            close document 1 saving no
        end tell
        set layerList to "Layers in current selection: " & return
         --reverse loop gets the layers from the bottom up
        repeat with i from number of items in myLayers to 1 by -1
            set x to item i of myLayers
            set layerList to layerList & x & ", "
        end repeat
        display dialog layerList
    end tell

  • How can I find the name of a file I downloaded four months ago?

    I downloaded a file on either February 15th or 16th. Embarrassingly, I've lost the file, simply by forgetting its name. I need to be able to search my download history, by date. Does anyone know of a way to do this? I know that the history is kept that long, and that I haven't erased the history. Finding the date that I visited the website was easy using history and an approximate date, but download history is less intuitive.
    And, no, revisiting the website doesn't help; the only way to find the name of the file there (it's an ebook) is to buy it again, which is NOT what I wish to do.
    This was in Windows 7 Home Premium Edition, with FireFox v. 28.0 (yes, I know it's outdated; I haven't been using that computer much lately). I don't know what version of FireFox was installed at the time of the download -- whatever was most current at the time, as I usually make a practice of installing updates.

    The downloads folder in the history manager? I'm not sure what you mean.
    When I click on History, I see what I've put in the screenshot. Then it starts telling me where I've been today. Nothing about downloads, per se. I've been getting at those through Tools/Downloads.
    I have FireFox set up to ask me where downloads should go, rather than automatically sending them to my Downloads folder in Windows, and even if it had automatically saved to Downloads, it wouldn't still be there now.
    In a pinch, I suppose I could skip the first few in the downloads list, and then start right-clicking on individual downloads and selecting Go To Download Page, but I was hoping there might be some way to narrow it down, by getting at the date on downloads. That's fairly easy in History, but I don't see any way to do it in Tools/Downloads.

  • How do I get the name of a file in Xcode in a Cocoa-Applescript application?

    I'm trying ot create an app in Xcode using applescriptObjC. I need to get the names of files, but every time I run the app and trigger the part where the script is supposed to get the name, Xcode gives me an error saying "Can not get name of "/Users/xxxx/xxxx/xxxx.xxx" I have tried everything.
    Any help is appreciated

    can you post some relevant code?

  • How do you find out the name of a file in a specific folder

    The problem I have is that I want to read from a file located on the harddrive. I know where it is located and that it is the last updated folder, but not the name of it.
    The reason for why I want the name is that I want to read som values from that specific file.
    Hope for fast answer.
    //Emelia

    Check out the File.list() and File.lastModified() methods:
    http://java.sun.com/j2se/1.4.2/docs/api/java/io/File.html

  • How do I remove the "distributed" and "response" file from my form?

    I created a form for my clients to fill out.  I want to be able to post the form on my website so the client can download the form, edit it, save it, print it if they like, and email it to me manually.  I do NOT want the form to have a submit button, nor do I wish to have the responses tracked.
    Currently I have a form that is set up like that.  How can I remove the criteria in the form that is responsible for emailing me as well as tracking the response file?  I want to the form to just be void of any link to my email as well as any response file on my end. 
    Would greatly appreciate if anyone can help...
    Thank you,
    Vincent

    For some odd reason, Acrobat Standard does not allow you to edit document-level JavaScripts, so you have to use an alternative approach.
    The first thing to do is find the hidden button and make it visible. To do this, select the Select Object tool, which is a black arrow pointing to the upper-left. When the tool is active, you should see the previously hidden button on the first page:
    Double-click the button and go to the General tab and set the Form Field dropdown in the Common Properties area to Visible. Then go to the Actions tab and delete the "Run a JavaScript' action for the Mouse Up trigger. Then add a new JavaScript action for the Mouse Up trigger and enter the following two lines of code in the editor:
    getAnnot(0, "adhocFormState").destroy();
    addScript("FormsWorkflowScript", "//");
    Then close the dialog, select the Hand tool, and click the button. This will effectively get rid of the document-level JavaScript and the hidden text annotation. You can now delete the button by selecting it with the Select Object tool again, and hit the Delete key, or right-click > Delete
    That should do it.

  • How can I combine the audio and video files from youtube downloads when they don't automatically combine?

    I'm using YouTube Video and Audio Downloader. Sometimes the audio and video files combine automatically, sometimes they don't - remaining as separate " DASH - .m4a and DASH - .mp4 ". It used to be that when this would happen I could open up a "ffmpeg" window which would allow me to "manually" convert them to a combined .mp4 file. It was a "drag and drop" type of interface. For some reason I can no longer access that ffmpeg combining function. I tried clicking on ffmpeg.exe. I tried re-downloading ffmpeg several times, both from the Downloader options tab and from the ffmpeg website.
    Thanks for your help.

    Sounds like a question for the developer of the video download add-ons that you have installed.

Maybe you are looking for

  • Would an index have any affect on a table with only 1 record?

    As a general rule of thumb I always add indexes on tables when I refer to a column in a stored procedure, but this is the first time I can remember having the need on a table called 'Admin' that only contains 1 record. The other view referred to in t

  • LSMW for MR21

    Hi Experts, What we are trying to do is to change prices for 106 products for 26 plants. So when we try to record LSMW it is giving  materials and plants as index. Like MATNR_01 MATNR_02 and NEWVALPR_01NEWVALPR_02. How will we make the file based on

  • Item:000001.Order type ZBBK and Item category TAN not customized for

    Hello all, I got the following error message when trying to create an order. Please suggest. Item:000001.IP type ZBBK and Item category TAN not customized for Thanks,

  • MPEG2 component will not install on Intel Macbook Pro

    I have just purchased the MPEG2 component and am trying to install on an Intel Macbook Pro. My Quicktime Version is 7.1.3 (Pro) When I run the installer in the folder for Quicktime 6.4 and later & Intel Macs. I get "Quicktime MPEG2 cannot be installe

  • OOBEUnattended not applying.

    Hi all, unfortunatly all of my oobe scrips are not applying anymore with this line: [windeploy.exe] UnattendSearchExplicitPath: [C:\Windows\Panther\unattend.xml] does not meet criteria to be used for this unattend pass. is there someone that can see