Watch folder in photoshop

Hi All,
i have conversion tool which converts EPS files to Tif.
Source path: D:\\Work\\in
output path : D:\\Work\\out
could we make the source path as watch folder, when ever we place the images the script has to be executed.
Any suggestions are welcome.
Regards,
Vinoth

Hi Michael,
Thanks for the information.
I found Tiff to JPEG could be done with adobe bridge.
http://support.muse.adobe.com/message/4826884?tstart=0
But i could only get one watch folder, how to add multiply watch folder?
EPS to tiff any possiblities.
Regards,
Vinoth

Similar Messages

  • Adobe photoshop elements 13 Watch folder is not working

        I am getting a "Watch Folder Service" warning box.
    "Please start the Adobe's Active File monitor service from Service manager (Control Panel -> Adminstration Tools -> Service)"
    Looks like the “Adobe Active file Monitor V13” is missing.
        I need help

    Have you checked your services panel to see what is running and what is not running?  If this particular service isn't running then you can right-click on the column for that service and change it to Automatic as shown in the picture attached here:
    The above picture is TAKEN IN Windows 7 so if you are on a Mac then it might look different from the picture I have posted here.

  • Photoshop Elements 8: Watch Folder on Network Drive

    I have all my photos on a network drive, I am trying to access via
    this computer and every time I add the folder to the watched folder, it says "access is denied".
    What is the proper way to add photos from a network device?
    Thanks
    Jim

    I have been using the full network path, but that doesn't appear to be the problem.  When I enter the path, it says access is denied.  I made
    sure that the folder is shared with all so there shouldnt be a permission issue.  Any other thoughts?
    Jim

  • Photoshop 9 Organizer - Watch Folder Error

    PS9 Organizer is a waste of time, and it would be nice if Adobe would answer a few questions about their product. Can not get Organizer to back up files. When I start Organizer, it immediately brings up a window stating "Elements Organizer Updating", even though there is nothing to update. After several minutes of the bar going from 0% to 100%, it sits idle until a message pops up, "Watch Folder Service: The Watch Folder Service returned an error: Message Format. Invalid Tag ID." The only option is to say "OK". Clicking the ok button removes the error warning box, but the Organizer now sits there with the Updating box, from now till doomsday, and will not run. I am using a 64bit, HP Laptop, with Vista Home and 4GB of RAM. Fine Product there Adobe.

    I too get this same error.  PSE 10, no previous versions, Lightroom 3 loaded on as well.  The first time I installed PSE 10, I got this error and had to CTRL-ALT-DEL each time I tried to go into Organizer.  Like others have said, no problems in Editor.  I uninstalled and reinstalled hoping this would fix the problem...it now gives me this error message sporadically, I get lucky every now and then and do not get the message.
    It would be nice for this to work, but my alternative may have to be to turn off Watch Folders in PSE 10, import into Lightroom, then Export into PSE 10?  Maybe, I haven't tried yet.

  • Files in watch folder not moving to "Sources" after being processed

    Files are not moving from the root of the watch folder into the "Sources" folder after being processed, which results in the files getting re-processed everytime AME is re-opened.
    I just upgraded to Creative Cloud from the Production Bundle 5.5 with no changes in hardware/software config, so it's not that, however since I'm new I'll walk through the checklist:
    Version: 6.0.3.1
    Other applications installed: Premiere, Photoshop, Lightroom, AME, After Effects
    Recent updates installed? Yes.
    OS: Windows 7 64-bit, all updates applied.
    Using AME through Creative Cloud? Yes.
    Source footage: Avid DNxHD exports from timeline in .MOV container
    Error message(s): None.
    Error present in specific output format/encoding preset? No. It's a global issue.
    What were you doing when the problem occured? Relaunching AME.
    Has this ever worked before? Yes, in CS5.5 Production Bundle's AME.
    What other sofware are you running? At the time, nothing.
    Third party codecs? Nope, other than the ones that Avid installs during it's own application installation.
    Computer hardware: *sighs* i7 3770k, 32gb ram, asus motherboard, gtx 570 graphics card, a bunch of hard drives, no third-party hardware.
    MPE Acceleration in Premiere: Not really relevant in this issue, but yes, when I use Premiere I use MPE.
    Is anyone else running into this issue?

    siva,
    can you check the url in SLD for the related business system. It should be 8000 also and not 50000(i had a similar error and it was resolved by changing the URL in SLD.
    is your DB up?
    thanks
    tony

  • Elements 12: Watch Folder service:  Access Denied

    When trying to add a folder to the Watch Folder service, I receive the following error;
               The Watch Folder service returned an error:  Access is denied.
    My suspicions are that this may somehow be related to Google Drive.   I'm working with folders directly on my hard drive (C:) and am the administrator and show ownership of all the folders I wish to watch.  The 'My Pictures' folder is a sub folder of my Google Drive folder.  I can watch the Google Drive folder but any sub folder returns the error.  Also not all the My Pictures sub folders are visible.  Any other folder on my Drive C: or Drive D: I'm able to watch without problem.  Has anyone else experienced this issue?  The Google Drive may, however, just be a red herring.  The problem may well lie elsewhere.
    Running;
    Adobe Photoshop Elements 12
    Windows 8.1

    Hi,
    First of all, please see that you have administrator priviliges because such message may appear when you are trying to access any folder that require Administrator priviliges but you donot have one.
    If this is the case, please try running Elements as Run As Administrator.
    Otherwise, please give this a try:
    Go to the Control Panel and open Services. Select Adobe Active File Monitor V6 and click the Properties button. On the Logon tab, change to “This account” and enter your account name and password.
    Thanks,
    Anwesha

  • Watch Folder not working in PSE 8

    My understanding is that My Pictures folder is automatically under Watch Folder list. However, whenever I create a subfolder within My Pictures in the Explorer and put picures in it, my media browser in PSE 8 does not show me those pictures in that folder. Why? It seems I have to manually add every subfolder within My Pictures to Watch list. Is that true or what am I doing wrong?
    Thanks!

    Hello,
    Does anyone have any suggestions to my question? I did not get any responses.
    Everytime I add pictures to any sub folder in the My Pictures, I do not see that in photoshop (PSE 8). I have to import each one o f them manually. Why is my Watch Folder not working?
    Thanks

  • Bridge Watch Folder

    I'm beating my head against what I think should be a fairly simple problem:
    1. Bridge watches a folder for incoming files.
    2. When files are added to that folder, they get loaded into a Photoshop file as a layer stack.
    3. A Photoshop Action runs, doing some image adjustments, etc.
    4. The processed file is saved as an animated gif.
    I found a solution that looked promising here: https://forums.adobe.com/message/4826884#4826884. The first script adds a "Hot Folder" menu item to Bridge. When the hot folder is started, it is supposed to hand off an array of files to the second script, which does the work of opening the files and processing them in Photoshop. It seems like it should work, but I haven't been able to make it fire off that second script, and I can't for the life of me figure out where it's failing. It could be that I'm just not familiar enough with ExtendScript Toolkit to figure out how to debug it usefully.
    Any help would be greatly appreciated - pointers toward scripting resources, maybe a different approach to the issue that I may not have thought of - whatever.
    Simon

    The fact that the watch folder is not local to the AME machine may indeed factor in.The process is definitely more robust in a local scenario; network environments complicate matters in a number of ways. Can you run a test where you copy the same batch of files to a watch folder on the AME box?
    A few other questions:
    Is the "Auto-Encode Watch Folders"  option enabled (at the top right of the Queue panel)? And are all 350 files getting added to the AME queue?
    If Auto-Encode *is* enabled and some jobs are *not* getting added to the queue, then please try with Auto-Encode enabled.
    We're not suggesting this as a workaround but just to give us more insight into where things are failing.
    What are CPU and memory usage though the process, from the time you drop files into the watch folder until AME hangs? Are either getting maxed out?
    How big are the VOB files? How long does it take to copy all of them into the watch folder?
    I know of no way to disable the creation of media cache files.
    Thanks for bringing this issue to our attention and giving us an opportunity to troubleshoot it.
    Mark Mapes
    Premiere Pro/AME Sr. Quality Engineer

  • Remove a watched folder

    I am using Photoshop Elements 6.0. I somehow marked a removable drive as a watched folder, which it shouldn't be. How do I remove it from being a watched folder?

    File > Watch Folders.

  • MAN, I hate the labyrinthine way PSE 11 works! "Watch Folder Service" Error

    MAN, I hate the labyrinthine way PSE 11 works!  Both in the program itself, and in the "support" section. This is so stupid!  I just entered my question 5 minutes ago, now I have to enter it all over again. I've been trying to find an answer to my problem for 5 months!  It is NOT "faster and easier to find your answer on-line." It is a royal runaround! Aaagh!
    When I launch Photoshop Elements 11 - Organizer
    1. A box called Elements Organizer comes up, saying it is "Updating." After a long time, it reaches 100%
    2. A box called Watch Folder Service comes up, saying: "The Watch Folder Service returned and error: Message Format, Invalid Tag Id."
    3. Then Photoshop is completely jammed. I cannot do anything until I use CTRL-ALT-DEL (Windows Task Manager) to shut down PSE.
    Get me out of here!

    Tou could try a reset this is from the Help system Here
    Restore default preferences
    Preference settings control how Photoshop Elements displays images, cursors, and transparencies, saves files, uses plug‑ins and scratch disks, and so on. If the application exhibits unexpected behavior, the preferences file may be damaged. You can restore all preferences to their defaults.
    Note:
    Deleting the preferences file is an action that cannot be undone.
    Do one of the following:
    Press and hold Alt+Control+Shift (Mac: Option+Command+Shift) immediately after Photoshop Elements begins launching. Click Yes to delete the Adobe Photoshop Elements settings file.
    Go to Edit > Preferences (Mac: Photoshop Elements > Preferences > General), click the Reset Preferences on next launch button, and then click OK. When you restart Adobe Photoshop Elements, all preferences are reset to default settings.
    A new preferences file is created the next time you start Photoshop Elements. For information on a specific preference option, search for the preference name in Help.

  • InDesign automation using watch folder

    Hi InDesign experts,
    Can we use InDesign desktop version (CS5) for a remote batch processing work without any manual intervention?
    For example, a script automatically picksup the input file and create pages automatically using watch folder. Is this allowed in desktop license agreement.
    Thanks in advance.

    Marc,
    Power Switch is available for both platforms. Trial period is 30 days.
    Here are some topics I recommend you to read at start in the User Guide: JavaScript for applications,
    AppleScript for applications and Adobe InDesign. Here are some samples (see Javascripts for CS applications).
    If you, or somebody else is interested, I can post the script I wrote.
    Here are a few short tips to get you started:
    Don’t confuse Javascript/AppleScript for CS applications with Internal scripting in PowerSwitch (scripts written in SwitchScripter). You need the former: the script attached to an InDesign/Photoshop/Illustrator/Acrobat/Quark/etc configurator. You drop a configurator into the flow, attach In and Out folders and a script to it.
    You can add up to 5 arguments which are simple strings that can be passed from the Properties panel in PS to the script.
    Attach the script to Command property. Don't use Open and Save in the script -- PS handles them on its own (Open and Save as parameters)
    Use $doc in the script instead of activeDocument
    If you had any questions, I would gladly answer them. Probably we could even start a new thread on the Power Switch topic.
    Kasyan

  • Watch folder

    Hi,
    I would be grateful if you could help me write javascript script that watch specific folder for new files and add them to photoshop.
    Thank You,
    Ivan

    My 'sistem' is now working like this:
    Directory Monitor free software watch folder for change, when file(photo) is added to folder Direct Monitor open it in Photoshop.
    On file open Script Events Manager triggers script that recognize type of photo(landscape or portrait orientation, other stuff) and do different Actions based on type of photo. It is all automated.
    But there are some 'special cases' that needs to be done manualy, and I want to do it by putting 'special case photo' in different folder. Photoshop needs to recognize photo from different folder and do special action on it. Problem is that Directory Monitor only open files, and Photoshop can't recognize if photos are from different folders of not.
    I want to 'bypass' Directory Monitor and watch folders with Photoshop Script.

  • Question on Watched folder

    Hello,
    I'm sure I must be doing something wrong, but after reading the pdf guide and a few posts, it seems like I'm taking the correct steps, but cannot get the watched folder thing to work. What I've done...
    I created two new empty high level folders by clicking the + sign in the left library panel - one called c:/Develop and one called c:\Watch. I then go to FILE>Auto Import>Auto Import Settings and set the 'Watched' to c:\Watch and set the 'Dest' to c:\Develop.
    My understanding is that if I now export a raw file to the folder 'Watch' it should automatically go to the 'Develop' folder, no? I want to do this in order to EDIT in CS2 from this folder and save back to it, and then drag back to the original folder as a .jpg.
    It seems that the image that is exported is staying in the 'Watch' folder and not going to the 'Develop' folder.
    Any ideas what I'm doing wrong?
    Thanks,
    Kevin

    I ended up getting it to work but it is wierd.... The C drive does not show up in the list. Only mydocuments. I created a folder in mydocuments and it works.
    Something is quirky but it is working for now.
    On 2 unrelated matters.... 1.)I still am having issues with general work flow. I can't seem to find any tutorials that address that line of interest. Any suggestions? For example, I was a pix user (the one adobe bought out.) My practice was to first put the files on a local drive. (beacuse of speed) then move them to the network after getting them tweaked and "developed" Now it seems that is difficult a best. Sometimes I wonder if CS3 bridge and Raw is better suited for my needs.
    Also, I want to upgraded to Photoshop CS3, In-design CS3 and AcrobatPro 8. I am a student as well as pro photographers. Is there any place to get these products in a pacakage with a student discount?

  • 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

  • Excel save as pdf hangs when launched through a watch folder

    Hi there,
    I've configured a watch folder to launch a batch file which launch a .exe file I've written in C++
    In this application I launch Excel which open a .XLS document which contains macros.
    At the end of the computations there is a macro which save as pdf.
    At this point everything hangs and I have to cancel the job I've created for the watch folder.
    If I disable the watch folder and I place the starting file inside the watch folder
    and I manually launch the .bat file (which usually is launched by the watch folder) everything works perfectly.
    I really really hope there will be someone here coming with a solution for me.
    By the way on the windows forum I've got a very disappointing answer where they stated it was probably a fault of my application.
    Well fortunately that was not the problem because
    I can reproduce the problem even removing my application from the equation so now we have cleared
    the issue is not casued by my application.
    So if you want to try it yourself just follow the steps below:
    1) create an excel document so that after you open it it automatically run a save as pdf operation and close excel. (let's call this document "PRINT_TEST.xls")
    2) create a batch file named "Excel_launcher.bat" and write the command
    ""C:\Program Files\Microsoft Office 15\root\office15\EXCEL.EXE" "C:\teststampapdf\PRINT_TEST.xls""
    3) Now create a watch folder job that execute that batch file.
    something like "C:\watchfolderX\Excel_launcher.bat"
    4) now create a watch folder that uses that job and for file filter use "*.txt" enable it and start it
    5) now launch manually the batch file and you'll see that it print the pdf and closes itself
    6) drop a txt file inside the watch folder you've created and you'll see it hangs at the save as pdf operation.
    This is something that have to be fixed and it's due to excel.
    I can launch and save documents with all the application I want but excel so that's the problem.
    Please take a look and keep me updated I badly need to find a solution for this issue.
    THANK YOU in advance,
    Davide

    Hi Davide,
    This is no the right forum for your issue. I think you can consult this issue on some Excel end-user related forum.
    Best regards,
    Barry
    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.

Maybe you are looking for

  • My sent messages or templates are not saved in the sent or template box.

    My sent messages are not appearing in my sent box. I try to save an email as a template, but it does not save. Help!

  • Iphoto color management

    I'm guessing there is no way to use color profiles for specific paper in Iphoto - right? So, when I'm using the print driver (Canon pixma 6600)what do I set the Color Option to in order to match screen colors. None or ColorSynch or BJ Printer. Under

  • Condition value is zero in TAX procedure TAXINN

    Dear All, Myself in an implementation project. Have configured CIN. There is a problem in Tax procedure. Our access sequence is tax classification. In PO i have mentioned the tax code and when i click taxes button the condition value for BED conditio

  • 920 cse tool box/kit missing.

    I have recently installed a new HP 6500 wireless all-in-one and have my old 920cse still installed on the computer.  In fact, I am using the 920cse as the default printer to use the remaining ink in the cartridge.  I cannot find the Tool Kit/Box anyw

  • Mesure de valeur stabilisée d'un signal carré

    Bonjour, je cherche actuellement à effectuer une mesure sur un signal "carré". En effet il s'agit de la mesure d'un capteur monté dans un pont de Wheatstone. On peut voir un petit effet capacitif lorsqu'on alimente le pont. La tension que j'obtients