Message "New files found in your watched folder".

I keep getting a message "New files found in your watched folder".  But it shows me old files. If I say I want to download them, it tells me it cannot.
PE 11   Windows 7

Watch folders is a function of the Elements Organizer, it has nothing to do with the Editor half of the program.
Do you want to use Watched Folders? If not, disable them by going to File > Watch Folders, then uncheck the "Watch Folders and their Sub-Folders for New Files" option. If you want to use the option, try creating a new folder and set that up as the watched folder and place your images there. The Watch Folders option can get messed up if the folder has images already in it when it is set up.

Similar Messages

  • Elements 13 - No New People Found In Your Selection

    So frustrating to see that this bug is still present in the new version. Now it's even worse.
    I try to add people tags to a photo and get the infamous "No New People Found In Your Selection". I was previously on PSE 11 and I was certain that this would be fixed in the new version.
    Nope. It's still here.
    But now it's even worse.
    It starts a leak in the app that eventually consumes all available memory
    And this is an "Upgrade"???
    The Organizer is an important part of this software and yet this issue has been around for too long.
    Adobe, please correct this problem soon. This memory leak is BAD and brings the OS to it's knees.
    Erick

    Erick,
    Please try following troubleshooting steps:
    1. C:\ProgramData\Adobe\Elements Organizer\Catalogs
    and select the catalog you are currently working in.
    2. Rename the BreezeSession.dat file present in the catalog folder to BreezeSession_old.dat
    3. Now relaunch Organizer and try adding people now.
    Thanks,
    Anwesha

  • Using elements .no new people found in your selected...

    Just installed Elements 12 ..at first facial recognition worked fine...I needed to reorg  some media libraries and now all "add People" request returns.. "no new people found in your selection"..which is inaccurate and doesn't return me any existing people.either
    any help appreciated
    Robert

    Erick,
    Please try following troubleshooting steps:
    1. C:\ProgramData\Adobe\Elements Organizer\Catalogs
    and select the catalog you are currently working in.
    2. Rename the BreezeSession.dat file present in the catalog folder to BreezeSession_old.dat
    3. Now relaunch Organizer and try adding people now.
    Thanks,
    Anwesha

  • "No new people found in your selection" problem

    I am now getting a report of "no new people found in your selection" from Elements 11. This is happening despite having people in the images and when looking at individual photos, Elements seems to indicate that there is indeed a face there. What I am now missing is the capability of running facial analysis on a group of photos and identifying the faces "in bulk." This feature did work at one time but does not now.
    All also note that when I get the boxes around faces on individual photos, Elements no longer suggests people for the faces.
    Any ideas on how to get facial recognition to start working again?

    Preferences are set: for People recognition to Analyze Photos for People Automatically.
    I tried unchecking this and running people analysis manually. Neither works:1(

  • Photoshop 8 Organiser Query Lost 'New Files Found' facility

    I installed Photoshop Elements 8 yesterday having been very happy with Photoshop 5 until the 8 offered faciliteis that I wished to use.
    However I used to drag photos into a folder on my hard drive using Photoshop  5 version and when I opened Organiser it would tell me "New files have been found do you want to etc etc".
    I no longer get that invitaion with PhotoshopElements 8 so can someone please very simply tell me how to restore that useful facility.
    I am elderly and unfamiliar with computers hence the request for simple instruction ie click by click please.
    Thank you.
    Brian Holland.

    Brian,
    You need to use the Watch Folders command on the File menu to have PSE "watch" your Pictures folder. See here for a step-by-step:
    http://help.adobe.com/en_US/PhotoshopElements/7.0_Win/WS47FB5BA8-D8F4-49d0-B4CD-FAD6760770 C8.html

  • Find and replace with multiple files and with a watch folder

    I am trying to create a watch folder that uses red_menace script to:
    1. Have a folder that receives multiple xml files that run the script one by one.
    2. then move the files to an output folder.
    I tried modifying the set TheFIle to choose file -- the original text file to:
    with multiple selections allowed
    But that doesn't seem to work. I know i'm missing a step. Any help is much appreciated!
    Thanks!
    The way i'd like to setup things is having an input folder on the desktop (or just have the application on the desktop and I can drag the files onto it), and let it do it's thing. Once it's done have it export the xml files into an output folder.
    Here's what i got so far:
    on open
    set TheFIle to choose file -- the original text file
    set TheFolder to ("Macintosh HD:Users:user1:Desktop:out") -- the folder for the output file
    set TheName to (GetUniqueName for TheFIle from TheFolder) -- the name for the output file
    set TheText to read TheFIle -- get the text to edit
    set Originals to {"KPCALDATE", "KPCALEVENT", "KPCALDAY", "KPCALBODY", "obituaries name", "" & return & "</cstyle></pstyle>" & return & "<pstyle name=\"obituaries text\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>", " .com", " .net", " .org", " .edu", "www .", "www. ", "Ho- nolulu", "<pstyle name=\"kicker 12\"><cstyle allcaps=\"1\">fashion news</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "<component name=\"Headline 1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline 1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 36\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>-", "-", "
    Per serving:", "<pstyle name=\"Titlebar - mini, red\"><cstyle allcaps=\"1\">NATION & World </cstyle><cstyle allcaps=\"1\">Report</cstyle><cstyle allcaps=\"1\">" & return & "</cstyle></pstyle>" & return & "", "</cstyle></pstyle>"} -- the terms that can be replaced
    set Replacements to {"subhed", "subhed", "subhed", "Normal", "obituaries text", ", ", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\" font=\"ADV AGBook-Medium 2\">", "<pstyle name=\"Recipe Ingredients\"><cstyle>
    ", ".com", ".net", ".org", ".edu", "www.", "www.", "Honolulu", "", "<component name=\"Headline1\" type=\"Headline\">" & return & "<header>" & return & "<field name=\"Component name\" type=\"string\" value=\"Headline1\"/>" & return & "<field name=\"Component type\" type=\"popup\" value=\"Headline\"/>" & return & "</header>" & return & "<body>" & return & "<pstyle name=\"hed STANDARD 27\"><cstyle>", "<pstyle name=\"obituaries text\"><cstyle allcaps=\"1\">", "<pstyle name=\"obituaries text\"><cstyle name=\"Graphics Bold leadin\">", "<pstyle name=\"tagline\"><cstyle>—", " —", "
    Per serving:", "","" & return & "</cstyle></pstyle>"} -- the replacement terms
    repeat with AnItem from 1 to count Originals
    set TheText to (replaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
    end repeat
    try -- write a new output file
    tell application "Finder" to make new file at TheFolder with properties {name:TheName}
    set OpenFile to open for access (result as alias) with write permission
    write TheText to OpenFile starting at eof
    close access OpenFile
    on error errmess
    try
    log errmess
    close access OpenFile
    end try
    end try
    end open
    to GetUniqueName for SomeFile from SomeFolder
    check if SomeFile exists in SomeFolder, creating a new unique name if needed
    parameters - SomeFile [mixed]: a source file path
    SomeFolder [mixed]: a folder to check
    returns [text]: a unique file name and extension
    set {Counter, Divider} to {"00", "_"}
    -- get the name and extension
    set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
    if TheExtension is missing value then set TheExtension to ""
    set TheName to text 1 thru -((count TheExtension) + 2) of TheName
    set NewName to TheName & "." & TheExtension
    tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
    repeat while it contains NewName
    set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
    set NewName to TheName & Divider & Counter & "." & TheExtension
    end repeat
    end tell
    return NewName
    end GetUniqueName
    to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
    displays a dialog for multiple item edit (note that a return is used between each edit item)
    for each of the items in SomeItems, a line containing it's text is placed in the edit box
    the number of items returned are padded or truncated to match the number of items in SomeItems
    parameters - SomeItems [list]: a list of text items to edit
    TheTitle [boolean/text]: use a default or the given dialog title
    ThePrompt [boolean/text]: use a default or the given prompt text
    returns [list]: a list of the edited items, or {} if error
    set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
    if TheCount is less than 1 then return {} -- error
    if ThePrompt is in {true, false} then -- "with" or "without" Prompt
    if ThePrompt then
    set ThePrompt to "Edit the following items:" & return -- default
    else
    set ThePrompt to ""
    end if
    else -- fix up the given prompt a little
    set ThePrompt to ThePrompt & return
    end if
    if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
    set TheTitle to "Multiple Edit Dialog" -- default
    else
    set TheTitle to ""
    end if
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
    set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
    repeat with AnItem from 1 to TheCount -- pad/truncate entered items
    try
    set the end of TheItems to (item AnItem of TheInput)
    on error
    set the end of TheItems to ""
    end try
    end repeat
    return TheItems
    end EditItems
    to replaceText of SomeText from OldItem to NewItem
    replace all occurances of OldItem with NewItem
    parameters - SomeText [text]: the text containing the item(s) to change
    OldItem [text]: the item to be replaced
    NewItem [text]: the item to replace with
    returns [text]: the text with the item(s) replaced
    set SomeText to SomeText as Unicode text -- TID's are case insensitive with Unicode text
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
    set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
    set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
    return SomeText
    end replaceText
    Message was edited by: gamebreakers

    When you use the open or adding folder items to handlers, you need to add the parameters for the file items passed to them.
    I'll go ahead and post the applet/droplet version of my original script from the previous topic for reference:
    <pre style="
    font-family: Monaco, 'Courier New', Courier, monospace;
    font-size: 10px;
    margin: 0px;
    padding: 5px;
    border: 1px solid #000000;
    width: 720px; height: 340px;
    color: #000000;
    background-color: #FFEE80;
    overflow: auto;"
    title="this text can be pasted into the Script Editor">
    -- search and replace multiple items applet/droplet/folder action
    -- the terms to replace - edit as needed
    property EditableItems : {¬
    "one", ¬
    "two", ¬
    "three", ¬
    "four", ¬
    "five", ¬
    "six", ¬
    "seven", ¬
    "eight", ¬
    "nine", ¬
    "ten", ¬
    "eleven", ¬
    "twelve", ¬
    "thirteen", ¬
    "fourteen", ¬
    "fifteen", ¬
    "sixteen", ¬
    "seventeen", ¬
    "eighteen", ¬
    "nineteen", ¬
    "twenty"}
    -- the folder for the output file(s) - change as needed
    property TheFolder : (path to desktop)
    property LastEditItems : EditableItems
    on run
    the applet/droplet was double-clicked
    open (choose file with multiple selections allowed)
    end run
    on open TheItems
    items were dropped onto the applet/droplet
    parameters - TheItems [list]: a list of the items (aliases) dropped
    returns nothing
    repeat with AnItem in TheItems
    ReplaceMultipleItems from AnItem
    end repeat
    end open
    on adding folder items to this_folder after receiving these_items
    folder action - items were added to a folder
    parameters - this_folder [alias]: the folder added to
    these_items [list]: a list if items (aliases) added
    returns nothing
    repeat with AnItem in these_items
    ReplaceMultipleItems from AnItem
    end repeat
    end adding folder items to
    to ReplaceMultipleItems from SomeFile
    replace multiple text items in SomeFile
    parameters - SomeFile [alias]: the file to replace items in
    returns nothing
    set TheName to (GetUniqueName for SomeFile from TheFolder) -- the name for the output file
    set TheText to read SomeFile -- get the text to edit
    set Originals to (choose from list EditableItems default items LastEditItems with prompt "Select the terms to replace:" with multiple selections allowed) -- the specific terms to replace
    set LastEditItems to Originals
    set Replacements to (EditItems of Originals with Title given Prompt:"Edit the following replacement terms:") -- the replacement terms
    repeat with AnItem from 1 to count Originals
    set TheText to (ReplaceText of TheText from (item AnItem of Originals) to (item AnItem of Replacements))
    end repeat
    try -- write a new output file
    tell application "Finder" to make new file at TheFolder with properties {name:TheName}
    set OpenFile to open for access (result as alias) with write permission
    write TheText to OpenFile starting at eof
    close access OpenFile
    on error errmess
    try
    log errmess
    close access OpenFile
    end try
    end try
    end ReplaceMultipleItems
    to GetUniqueName for SomeFile from SomeFolder
    check if SomeFile exists in SomeFolder, creating a new unique name if needed
    parameters - SomeFile [mixed]: a source file path
    SomeFolder [mixed]: a folder to check
    returns [text]: a unique file name and extension
    set {Counter, Divider} to {"00", "_"}
    -- get the name and extension
    set {name:TheName, name extension:TheExtension} to info for file (SomeFile as text)
    if TheExtension is in {missing value, ""} then
    set TheExtension to ""
    else
    set TheExtension to "." & TheExtension
    end if
    set {NewName, TheExtension} to {TheName, (ChangeCase of TheExtension to "upper")}
    set TheName to text 1 thru -((count TheExtension) + 1) of TheName
    tell application "System Events" to tell (get name of files of folder (SomeFolder as text))
    repeat while it contains NewName
    set Counter to text 2 thru -1 of ((100 + Counter + 1) as text) -- leading zero
    set NewName to TheName & Divider & Counter & TheExtension
    end repeat
    end tell
    return NewName
    end GetUniqueName
    to EditItems of SomeItems given Title:TheTitle, Prompt:ThePrompt
    displays a dialog for multiple item edit (note that a return is used between each edit item)
      for each of the items in SomeItems, a line containing it's text is placed in the edit box
        the number of items returned are padded or truncated to match the number of items in SomeItems
    parameters - SomeItems [list]: a list of text items to edit
    TheTitle [boolean/text]: use a default or the given dialog title
    ThePrompt [boolean/text]: use a default or the given prompt text
    returns [list]: a list of the edited items, or {} if error
    set {TheItems, TheInput, TheCount} to {{}, {}, (count SomeItems)}
    if TheCount is less than 1 then return {} -- error
    if ThePrompt is in {true, false} then -- "with" or "without" Prompt
    if ThePrompt then
    set ThePrompt to "Edit the following items:" & return -- default
    else
    set ThePrompt to ""
    end if
    else -- fix up the given prompt a little
    set ThePrompt to ThePrompt & return
    end if
    if TheTitle is in {true, false} then if TheTitle then -- "with" or "without" Title
    set TheTitle to "Multiple Edit Dialog" -- default
    else
    set TheTitle to ""
    end if
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
    set {SomeItems, AppleScript's text item delimiters} to {SomeItems as text, TempTID}
    set TheInput to paragraphs of text returned of (display dialog ThePrompt with title TheTitle default answer SomeItems)
    repeat with AnItem from 1 to TheCount -- pad/truncate entered items
    try
    set the end of TheItems to (item AnItem of TheInput)
    on error
    set the end of TheItems to ""
    end try
    end repeat
    return TheItems
    end EditItems
    to ReplaceText of SomeText from OldItem to NewItem
    replace all occurances of OldItem with NewItem
    parameters - SomeText [text]: the text containing the item(s) to change
    OldItem [text]: the item to be replaced
    NewItem [text]: the item to replace with
    returns [text]: the text with the item(s) replaced
    set SomeText to SomeText as text
    if SomeText contains OldItem then
    set {TempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, OldItem}
    try
    set {ItemList, AppleScript's text item delimiters} to {text items of SomeText, NewItem}
    set {SomeText, AppleScript's text item delimiters} to {ItemList as text, TempTID}
    on error ErrorMessage number ErrorNumber -- oops
    set AppleScript's text item delimiters to TempTID
    error ErrorMessage number ErrorNumber
    end try
    end if
    return SomeText
    end ReplaceText
    to ChangeCase of SomeText to CaseType
    changes the case or capitalization of SomeText to the specified CaseType using Python
    parameters - SomeText [text]: the text to change
    CaseType [text]: the type of case desired:
    "upper" = all uppercase text
    "lower" = all lowercase text
    "title" = uppercase character at start of each word, otherwise lowercase
    "capitalize" = capitalize the first character of the text, otherwise lowercase
    returns [text]: the changed text 
    set SomeText to SomeText as text
    if CaseType is not in {"upper", "lower", "title", "capitalize"} then return SomeText
    return (do shell script "/usr/bin/python -c \"import sys; print unicode(sys.argv[1], 'utf8')." & CaseType & "().encode('utf8')\" " & quoted form of SomeText)
    end ChangeCase
    </pre>
    Edit: how does the choose from list dialog handle those big strings? I'm guessing not very well - is that why you avoided using them?
    Message was edited by: red_menace

  • I want to read the content of a text file dropped in a watched folder into a string variable

    I have a workbench process with 2 variable.
    inDoc (DataType=Document/input/required)
    outStr (DataType = String/output)
    The document being passed to the workflow is a text file with 4 lines of text in it.  when the text file is dropped into the watched folder, it will be assigned to the inDoc parameter in the workflow.
    My workflow needs to extract the 4 lines of text and write it into a string (outStr).
    Id like to use the FileUtilsService.ReadString service but i can't since its input parameter is the file path.  When i do, i get the following error...
    Caused by: ALC-FUT-001-011: File rO0ABXNyABZjb20uYWRvYmUuaWRwLkRvY3VtZW50yAEFUxsO+CEDACNJAAtfY2FsbGJhY2tJZFoADV9kZXNlcmlhb Gl6ZWRJABBfZGlzcG9zYWxUaW1lb3V0WgAJX2Rpc3Bvc2VkWgAZX2lzRGlzcG9zYWxUaW1lb3V0RGVmYXVsdFoAE19 pc1RyYW5zYWN0aW9uQm91bmRKAAdfbGVuZ3RoSQAOX21heElubGluZVNpemVaAAhfb3duRmlsZVoAC19wYXNzaXZhd GVkWgALX3BlcnNpc3RlbnRJABFfc2VuZGVyQ2FsbGJhY2tJZFoAEV9zZW5kZXJQYXNzaXZhdGVkWgARX3NlbmRlclB lcnNpc3RlbnRJAA5fc2VuZGVyVmVyc2lvbkkABl9zdGF0ZUwAC19hdHRyaWJ1dGVzdAATTGphdmEvdXRpbC9IYXNoT WFwO0wACF9jYWNoZUlkdAAfTGNvbS9hZG9iZS9pZHAvRG9jdW1lbnRDYWNoZUlEO0wADF9jYWxsYmFja1JlZnQAIUx jb20vYWRvYmUvaWRwL0lEb2N1bWVudENhbGxiYWNrO0wADF9jb250ZW50VHlwZXQAEkxqYXZhL2xhbmcvU3RyaW5nO 0wAC19kYXRhQnVmZmVydAAeTGNvbS9hZG9iZS9zZXJ2aWNlL0RhdGFCdWZmZXI7TAAPX2V4cGlyYXRpb25UaW1ldAA QTGphdmEvbGFuZy9Mb25nO0wABV9maWxldAAOTGphdmEvaW8vRmlsZTtMABBfZ2xvYmFsQmFja2VuZElkdAAhTGNvb S9hZG9iZS9pZHAvRG9jdW1lbnRCYWNrZW5kSUQ7WwAHX2lubGluZXQAAltCTAAMX2lucHV0U3RyZWFtdAAVTGphdmE vaW8vSW5wdXRTdHJlYW07TAAPX2xvY2FsQmFja2VuZElkcQB+AAhMAAxfcHVsbFNlcnZhbnR0ACRMY29tL2Fkb2JlL 2lkcC9JRG9jdW1lbnRQdWxsU2VydmFudDtMABFfcmFuZG9tQWNjZXNzRmlsZXQAGkxqYXZhL2lvL1JhbmRvbUFjY2V zc0ZpbGU7TAAVX3NlbmRlckNhbGxiYWNrUmVmSU9ScQB+AARMABZfc2VuZGVyR2xvYmFsQmFja2VuZElkcQB+AAhMA A1fc2VuZGVySG9zdElkcQB+AARMABVfc2VuZGVyTG9jYWxCYWNrZW5kSWRxAH4ACEwAGl9zZW5kZXJQdWxsU2VydmF udEpuZGlOYW1lcQB+AARMAARfdXJsdAAOTGphdmEvbmV0L1VSTDt4cHcGAAAAAwAAcHd1AHMwOjA6MDowOjA6MDowO jEvMTI3LjAuMC4xLy8vLy8vLy8vZmU4MDowOjA6MDo3NDMyOmU0OWQ6NmUzMToxNTU0JTEwLzEwLjI0LjIzOS4xMjY vZmU4MDowOjA6MDowOjVlZmU6YTE4OmVmN2UlMTEvLy8vdXIAAltCrPMX+AYIVOACAAB4cAAAAcRJTU01MjU3XzAxL TIwMTFfMXwwMXx8YXx8fHxGZW1hbGV8MjAwMHw2fDh8Y3wyNTZ8MjU2fDkxMnwwMXx8fHx8fHx8Tnx8fHx8fHx8fHx 8fHx8fHx8fHxZfHx8fHx8fHx8fDAyfHx8fHx8TnwyMDEyfDJ8MTR8DQpJTU01MjU3XzAxLTIwMTFfMnx8fHx8fHx8f Hxhc2RmfDI1NnwyMDEyfDAyfDAxfDIwMTJ8MDN8MDJ8fHx8YXxhfDI1Mnx8fHxZfHx8fHx8fHx8fHx8fHx8DQpJTU0 1MjU3XzAxLTIwMTFfM3xOfHx8fHx8fHx8fDIwMDB8Nnx8fGFzZGZ8YXNkZnxhc2RmfDI1Nnx8fHx8fHx8fHx8fHx8f Hx8fHx8DQpJTU01MjU3XzAxLTIwMTFfNHxOfE58fE58TnxOfHxOfE58fE58TnxOfA0KSU1NNTI1N18wMS0yMDExXzV 8U2luZ2xlfDAxfHwyMDEyfDAyfDE4fDIwMTJ8MDN8MDN8MjM0fGFzZGZ8fGFzZGZhc3x8fHxFeGNoYW5nZS1Qcm8uO S40MDEuRnVsbC5XSU4uZW5fQ0EuRU5VLTEwLTIwMTF8DQoNCnBwdwYAAAAAAAB0AAp0ZXh0L3BsYWlucHNyABFqYXZ hLnV0aWwuSGFzaE1hcAUH2sHDFmDRAwACRgAKbG9hZEZhY3RvckkACXRocmVzaG9sZHhwP0AAAAAAAAx3CAAAABAAA AADdAAKd3NmaWxlbmFtZXQAJ0M6XFVzZXJzXENodWxseS5QYXJrXERlc2t0b3BcaGRzY2FuLnR4dHQACGJhc2VuYW1 ldAAKaGRzY2FuLnR4dHQABGZpbGVxAH4AFXh3NwAtYWRvYmUvaWRwL0RvY3VtZW50UHVsbFNlcnZhbnQvYWRvYmVqY l9MQ19ERVYx//////////94 does not exist.
    at com.adobe.livecycle.fileutils.FileUtilsService.readDocument(FileUtilsService.java:363)
    which is what i expected...
    I've also tried with the Script.executeScript to call some java code but im not too strong in java and in all the examples i find, the file pointer requires a file path.
    import java.io.*;
    FileInputStream f = new FileInputStream(patExecContext.getProcessDataValue("/process_data/inDoc"));
    OR
    File f = new File(patExecContext.getProcessDataValue("/process_data/inDoc"));
    OR
    File f = patExecContext.getProcessDataValue("/process_data/inDoc");
    Any clue how to resolve my problem?

    Try the following code snippet to read the String content from the file recieved through watched folder endpoint.
    com.adobe.idp.Document inputDoc = patExecContext.getProcessDataDocumentValue("/process_data/inDoc");
    java.io.InputStream inStream = inputDoc.getInputStream();
    byte[] dataBuffer = new byte[inStream.available()];
    inStream.read(dataBuffer);
    String strData = new String(dataBuffer);
    patExecContext.setProcessDataStringValue("/process_data/outStr",strData);
    The code is not tested, hence if you find any mistakes, correct and test the functionality.
    Nith

  • Copy new file when dropped in one folder to another

    Hi!
    I have two folders, FolderA and FolderB
    When a file is dropped in FolderA I want it to be copied to FolderB.
    FolderA will contain other items, I only want to copy new files as they are dropped in FolderA regardless of what else is in either Folder and without copying the entire contents of FolderA.
    This seems such a simple request but I cannot fathom it out.
    Any suggestions greatly received.
    Thanks
    Colin

    make the following folder action attached to folder A. (I tested it and it works).
    on adding folder items to this_folder after receiving added_items
    tell application "Finder"
    try
    duplicate added_items to folder "B" of folder "Desktop" of folder "username" of folder "Users" of startup disk
    end try
    end tell
    end adding folder items to
    In place of "username" put the name of your home directory. Also the above script works if folder B sits on the desktop. If it's somewhere else, modify the path in the above script.
    Hope this helps.

  • Facial recognition says "no new people found in your selection."; Do not have breezesession.dat file

    This forum Re: People recognition problem on PSE 12 says to change the breezesession.dat file, but I don't have one. I need advice on how to proceed. I do not want to have to manually tag every photo in my catalog, but cannot scan multiple photos at a time.

    Preferences are set: for People recognition to Analyze Photos for People Automatically.
    I tried unchecking this and running people analysis manually. Neither works:1(

  • Time Machine has stopped backing up new files, but it creates an folder as if it tried to back up?

    I went use Time Machine and my file from 2 days ago was not available to me. I have worked on this file for over 2 weeks and expected time machine to keep my old version but it jumped to a folder 5 weeks back before the folder was created. 
    I an using a 3TB drive and and have 1.2TB available.

    Because you are using Mountain Lion which has the network proficiency of tins cans and wet string.
    See https://discussions.apple.com/thread/3123920?tstart=0
    Normally a simple restart of the whole network in correct order will fix this.. modem.. router/TC.. clients.. 2min gap.

  • How do I name output files based on files processed from a watched folder?

    Hello!
    I've built a small process to merge XML files with XDP templates, generating PDF files at the end of the process.
    Right now the process is generating all files with a fixed name + a random number, as defined in the Input panel (literal value with option "Appen a suffix..." checked.
    I'd like to change this so the resulting files have the same name as the input files, changing only the extension (PDF instead of XML).
    I believe I should change from literal value to XPath expression, in order to build the resulting name based on the input file name.
    QUESTION: what function should I use to get the input file name in XPath builder (if this is the right place to do it) ?
    I tried with:
         getDocAttribute(/process_data/@docApolicesXML,"wsfilename")  + ".PDF"
    Does not work.
    Thanks a lot for any hints!
    Marcos

    Hi Marcos,
    You should do the following:
    Create new variable "filename"
    And in a Set value you should:
    filename = getDocAttribute(/process_data/@docApolicesXML,"basename")
    filename = concat(/process_data/@filename,".pdf")
    This will give you "myFile.xml.pdf - if you want myFile.pdf instead, you need to do this in the Set value:
    filename = getDocAttribute(/process_data/@docApolicesXML,"basename")
    filename = substring-before(/process_data/@filename,".xml")
    filename = concat(/process_data/@filename,".pdf")
    That should do it :-)
    Kim Christensen
    Dafolo A/S
    Denmark

  • Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process.

    Any Tutorial / Sample to create Single PDF from multiple source files using PDF assembler in a watched folder process. I have a client application which will prepare number of source files and some meta data information (in .XML) which will be used in header/footer. Is it possible to put a run time generated DDX file in the watch folder and use it in Process. If possible how can I pass the file names in the DDX. Any sample Process will be very helpful.

    If possible, make use of Assembler API in your client application instead of doing this using watched folder. Here are the Assembler samples :  LiveCycle ES2.5 * Programming with LiveCycle ES2.5
    Watched folder can accept zip files (sample : Configuring a watched folder to handle multiple input files and write results to a single folder | Adobe LiveCycle Blog ). You can also use execute script to create the DDX at runtime : LiveCycle ES2 * Application Development Using LiveCycle Workbench ES2
    Thanks
    Wasil

  • Permissions in a folder are not applied to new files added by users over shared network

    New files added to a shared folder do not inherit the permissions of the folder but rather retain the permissions of the user. Because the purpose of the folder on the network is to allow multiple users access to all the files (read and write), these new files cannot be accessed and editd by others.Is there a way to have the new files automatically inherit the folder permissons? I am aware of the "Apply to enclosed items " drop-down in the Get Info window but this is not practical given the number of new files that are produced and filed.
    THanks,
    JD

    If it's the folder is on the boot drive then the only way to accomplish this is with a combination of groups and ACL's as far as I know. There may be other ways but this is the one I know.
    You say the folder is on the network but is on the boot disk, how are you setting this up and are the users accessing this all from Mac's? And they all have accounts on this Mac?
    In a nutshell you would setup a group that all the users needing to access the folder belong to and then setup the ACL on the fodder so that all member's of that group will have full permission to whatever is in the folder.
    So first in Users&Groups create a group for this and add all the users who need access.
    The do to the folder and change its group to the group you created and change its mode to 775 (or 770 if you don't want anyone else having even read access on the folder)
    Then enter this
    sudo chmod -R +a "GroupNameCreated  allow delete,chown,list,search,add_file,\
    add_subdirectory,delete_child,file_inherit,directory_inherit"  folderToChange
    Now the weird thing is if you look at files in the folder they will appear to have the normal Unix mode of 644 but anyone in the group will have read, write and delete permission on the items in the folder.
    I suggest you play with this on a test folder and seeing if it meets your needs before changing the working folder.
    Also this will not change anything already in the folder it only applies to newly created files/folders
    regards

  • 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

  • Watch Dir For New File

    I'm trying to monitor a directory on my linux server to watch for new files being created. So far I have this.
    watched = new File(inputDirectory);
              long lastModified = watched.lastModified();
              while( true ) {
                  if (watched.lastModified() > lastModified) {
                  Thread.sleep(2000);
              }If a directory has been created within inputDirectory, I want to move into that file and read some of it's contents. How would I get the name of the directory that was created?

    In my project I need to know when only file is created other events are not important for me.Here a code that only trace if file is created on given directory and say what file is created. However I could not totally control every situation but it seems to work .
    public class Main {
    public static File CurrentFile=new File("");
    public static File bestLast=new File("");
    public static int currentNumber=0;
    public static void main(String[] args) throws InterruptedException {  
    File watched = new File("C:\\deneme");
    File[] mycurrentFiless= watched.listFiles();
    currentNumber=mycurrentFiless.length;
         long lastModified = watched.lastModified();
    while(true){
    while( true ) {
              if (watched.lastModified() > lastModified)
    File[] mycurrentFiles= watched.listFiles();
    if(mycurrentFiles.length > currentNumber)
    currentNumber=mycurrentFiles.length;
    for(int i=0;i<mycurrentFiles.length;i++)
    if(mycurrentFiles.lastModified()>bestLast.lastModified())
    bestLast=mycurrentFiles[i];
    if(CurrentFile!=bestLast)
    CurrentFile=bestLast;
    System.out.println("hey, New file is created...: FileName is ..:"+bestLast.getName());
    break;
    }else if(mycurrentFiles.length != currentNumber)
    currentNumber=mycurrentFiles.length;
              Thread.sleep(1000);

Maybe you are looking for

  • How to get JDev 10.1.2/ADF working with MS SQL Server Identity Column

    Hello JDevTeam & JDevelopers, I want to use JDev/ADF with a MS SQL Server 2005 database that contains tables employing IDENTITY Columns. Using JDev/ADF and DBSequence with an Oracle database employing before triggers/sequences accomplishes what I am

  • B/W Tv out

    Hi to everyone   Before starting explaining my problem i've to warn you about 2 things : - My english could be bad   - I'm not sure i'm posting in the right place, cause this problem is tv related but .... Here's my problem. I've a Msi Gforce 6800Gt

  • How do I transfer music from my iPhone5 to Windows 7 or 8?

    Hi! Okay, so I've done it before and just can't remember how to make the file button come down so I can transfer my purchased music to my pc. I know that that little icon isn't the button I need, but thats about it. My computers already authorized an

  • Down Payments & Delivery relevant invoice

    Hi! The problem is to create a down payment request to the customer through an SD order (this can be done with billing plan, item category TAO, condition type AZWR, invoice type FAZ) but we want to create the actual invoicing with a <u>delivery relev

  • Does Captivate allow a user to track your progress?

    Does captivate have the ability to track a users progress? I am trying to create an e-Learning project and I would like to allow the user to stop and exit the course and return a later date at the part of the course they had left. Is this possible. T