AppleScript: how to reinstall "Folder Actions Setup"

MacBook Air with Yosemite 10.10.3
Although I can successfully use Script Editor and get AppleScripts to run, the /Applications/AppleScript folder is missing:
Erins-MacBook-Air:~ Peter$ ls -l /Applications/App*
/Applications/App Store.app:
total 0
drwxr-xr-x  9 root  wheel  306 Apr 11 14:53 Contents
/Applications/Application Loader.app:
total 0
drwxrwxr-x  11 root  admin  374 Sep 16  2014 Contents
Erins-MacBook-Air:~ Peter$
I need to run the "Folder Actions Setup" app which is normally in the AppleScript folder.  I have reason to believe it was deleted in an attempt to recover disk space.
In the app store, I tried to "upgrade" to Yosemite, and I got a message that since I already have Yosemite, I could simply use the "update" feature, but the entire upgrade installer is available if I really wanted to download it. I did that, and I ran through the entire process, which did some things, including changing my desktop image back to the default.  However, I still aint got no AppleScript folder.
What next?

Thanks.
It would be nice if this weren't obsolete:
https://developer.apple.com/library/mac/documentation/AppleScript/Conceptual/App leScriptLangGuide/reference/ASLR_folder_…
I'm still learning my way around Folder Actions, but it seems that the GUI "setup" item is pretty minimal.
If I successfully write a handler script for "on adding items to a folder...", and put it in the right place, apparently I can get everything working by ctrl-clicking the target folder in the Finder, and using the Services context menu to associate the target folder with the script I'm writing.
This will be a bit obtuse for some people.  Perhaps Hazel fills this need better. 
But thanks for the info!

Similar Messages

  • Folder Actions Setup- connection failed

    Every time I open Folder Actions Setup I get an error message saying "Connection Failed- Server may no longer exist..." and "Automatically Add to iTunes" is in red. I click ok and it keeps popping up. I've removed that server from my favorites since it no longer exists. It was a MBWE Blue Rings that I had connected to my AEBS. It had my iTunes library on it , but has since been transferred to an external drive connected directly to my MP.
    How do I make it stop? I can't assign any Folder Actions to any folders until this stops!

    Here is the console message:
    5/31/11 11:26:55 AM          Automator[335]          Can not ID UTI for path /Volumes/PUBLIC/Automatically Add to iTunes: The file “Automatically Add to iTunes” couldn’t be opened because there is no such file.

  • Folder Actions Setup

    how can I get to this function?
    Please read...
    posted by  Frank Caggiano
    this should improve performance...
    Right click on the file and select Services from the menu then Folder Actions Setup
    This will open
    Check to see which (if any) folders have actions. If you didn;t turn it on intntionally disable it.

    Hi deltone,
    Although your product information says, "iMac 27", Mac OS X (10.6.8), 2.7 GHz Intel Core i5, 4GB 1333MHz", I'm guessing you are beyond that.   
    Here's why, folder actions have changed places.  Check out this help from others (thanks to Barney-15E, VikingOSX and ChangeAgent).
    Attaching folder action scripts not available i... | Apple Support Communities
    Best Regards,
    Nubz

  • How to fix Folder Actions Dispatcher quit unexpectedly error?

    Immediately after installing OS X Yosemite on my iMac, I have kept receiving the above error message before doing anything and although I ignore or cancel it continuously keeps coming back. I can't find any settings for 'folder actions' at all...javascript:;javascript:;

    Control-Click on Any Folder -> Service -> Folder Action Setup
    Click on [Cancel] to dismiss the "Choose a Script to Attach:"
    That will leave you with the Folder Action Setup, which should list all the folders that you have Folder Actions set on (Note: Dropbox or some other file syncing service may be using Folder Actions.
    I do not have any Folder actions, which is why my screen shot does not show anything

  • Folder Actions Setup Missing?

    I'm running Mavericks 10.9.3, and would like to setup some folder actions . I've not done this for some time, but when I went to the Finder, then right-clicked on a folder, no Folder Actions Setup; in fact, doesn't exist anywhere. Maybe there is something else to be installed?

    Didn't know that.
    (I needed to activate it in:
      ->System Preferences->Keyboard->[Shortcuts]->[Services])

  • Applescript - Folder Actions Setup

    trying to make a folder action to move anything dropped in a folder to shared folder on another device.  code as follows:
    set destFolder to (":" & (path to desktop as string) & "Workflows:Sheetfed:")
    display dialog destFolder
    on adding folder items to this_folder after receiving added_items
              try
                        tell application "Finder"
      move added_items to destFolder
                        end tell
              end try
    end adding folder items to
    Nothing happens.
    Note:  I added the display to see the path when I was hand running.
    Do I need to use posix path for this, or maybe use command line??  Not sure what's best - easiest - most reliable
    Any assistance is greatly appreciated.

    Thank you.
    I have this:
    set destFolder to (":dx1070:Workflows:Sheetfed:")
    on adding folder items to this_folder after receiving added_items
              try
                        tell application "Finder"
      move added_items to folder destFolder
                        end tell
              end try
    end adding folder items to
    But still not doing it yet.
    Took off the leading colon on destFolder ie ":dx1070:Workflows:Sheetfed:", still no.
    Any more help would be great!

  • How to make Folder Action work on file, subfolder content change?

    Hi!
    I looking for information in how to make a Folder Action, Work Flow or any action from Automator to work on file change and not only on deletion, moving or insertion. What I want to know is if it's possible to trigger some script or app while monitoring a folder and its contents, files and subfolders, changes. Meaning that when I have a file that has its contents updated the action will be triggered like an txt file that I only insert a new line in it, for example.
    Is there any solution that is not third party? Is there an internal Mac OS X solution that would work on Snow Leopard, Lion and Mountain Lion?

    i have same problem. i would like to move automatically saved Word backup copy to another folder, but the folder action doesn't recognize the save as a new file that needs to be acted upon.

  • Folder Actions Setup/Configuration in OS 10.6.4

    Hi
    I have some "fancy" stacks icons that i use for my dock that makes it look like my documents are in a little box. I downloaded the icons and a script that ensures that the icon for the "box" is at the top so the stack has the correct appearance in my dock. I did this (I think) by right clicking the folder, selecting "more" and choosing "enable folder actions" from the sub-menu.
    Now, when I right click on a newly created folder that I put the box icon in, the "More" option isn't available if I right click on the folder. I tried searching for a solution online, and tried selecting "Services" in the finder after clicking the folder once to no avail. So I am not sure how to set or enable a folder action now.
    Does anyone have a suggestion/workaround or know what the problem is?
    Thanks!!
    Lee

    So I went to the "Services" section of the "System Preferences" by clicking "System Preferences" then "Keyboard" then the "Keyboard Shortcuts" on the right which gives all of the services, which it looks like I can enable or disable by checking the box. But when I click "Services" the menu is blank. Can someone help me or tell me how to add a script to this submenu? It looks I need to use the "Automator" program but I've played with the program and don't quite get it.
    Thanks!!
    Lee

  • Problem moving files using applescript/folder action setup.

    I'm wanting files to move to certain folders depending on what the first letter of the file name. Here is what I have so far. If the file starts with TF715SH it should move to Serenity:Color Images for Monthly:T
    property dialog_timeout : 30 -- set the amount of time before dialogs auto-answer.
    on adding folder items to this_folder after receiving added_items
        try
            tell application "Finder"
                repeat with this_item in added_items
                    if this_item starts with "M" then
                        move this_item to "Serenity:Color Images for Monthly:M:" with replacing
                    end if
                    if this_item starts with "N" then
                        move this_item to "Serenity:Color Images for Monthly:N:" with replacing
                    end if
                    if this_item starts with "T" then
                        move this_item to "Serenity:Color Images for Monthly:T:" with replacing
                    end if
                end repeat
            end tell
        end try
    end adding folder items to

    Hi,
    Because the class of this_item is a alias wich contains the full path of the file :
    You need to get the file name, also you must use the term "folder" before the string "Serenity:Color Images for Monthly:M:", otherwise the Finder will return an error.
    if (name of this_item) starts with "M" then
          move this_item to folder "Serenity:Color Images for Monthly:M:" with replacing
    end if
    Here's another way to do this :
    on adding folder items to this_folder after receiving added_items
          tell application "Finder"
                set colorImgFolder to folder "Serenity:Color Images for Monthly:"
                repeat with this_item in added_items
                      set c to first character of (get name of this_item)
                      considering case -- case sensitive
                            if c is in "MNT" then move this_item to folder c of colorImgFolder with replacing
                      end considering
                end repeat
          end tell
    end adding folder items to

  • How to set up Automator Folder Actions?

    I have set up and sucessfully tested a workflow which sends any file found in a particular folder to the "paperless" app, then moves all files to a different folder called "Archived attachments".
    HOWEVER as a folder action,  nothing happens when a file is put into the folder. The file just sits there in the folder.
    To create a folder action I opened  "new folder action" in Automator, then dragged and dropped the working workflow file into the workspace, then set "Folder Action recieves files and folders added to" the appropriate folder, let's call it "Attachments".
    Just to complicate things, the files are placed into the "Attachments" folder using an applescript that captures all pdf mail attachments. This applescript works succesfully.
    So, where could I be going wrong?
    The working workflow "Attachments.workflow" consists of:
    Get Specificed Finder Items
    Make Sequential
    Get Folder Contents
    Open Finder Items
    Get Folder Contwents
    Label Finder Items
    Get Folder Contents
    New Dated Folder
    The erronious Folder Action consists of:
    Run Workflow (Attachments)
    In folder actions setup:
    "Enable Folder Actions" is ticked
    "PDF Attachments" folder is ticked
    "Attachments_folder.workflow" script is on.

    I'm confused. You showed two Automator actions with the same name, one was a folder action one wasn't.
    Are you sure the correct Automator action (the one that is a folder action) is attached to the folder?
    If when the Folders Action setup window is opened and you select Articles_Folder.workflow and then edit script are you getting the right workflow?
    Assuming you do I would start off very simply. Try this:
    It will label green screen shot image files saved to the Desktop.
    See if this works for you.

  • How do I remove a folder action?

    I have a folder action applied to my downloads folder that is not working properly. How do I remove it?

    control-click on the downloads folder in finder and go to services->folder actions setup. remove the action from that folder in the resulting popup.
    Message was edited by: V.K.

  • How do I remove folder action for folder that doesn't exist?

    I set up a folder action to monitor a folder on a PC server. This server no longer exists but the folder action is still trying to monitor it. When I start the Folder Actions Setup it looks for that folder and cannot find it, throws an error and then tries to find the folder again, it does this indefinetly and I cannot open the Folder Action Setup util to delete the folder in question. I have deleted the plist files com.apple.folderactions.plist and com.apple.folderactionsetup.plist and I cannot

    Did you restart the computer?  If not there may still be a process running.  You can look for the process in Activity Monitor as well as kill it using AM.  It's also possible that installing a folder action also installs a launch agent or daemon, so check inside those folders in the /Library/ folder and the /Home/Library/ folder to see if one is there that is associated with your old folder action.
    Unfortunately, the normal way of uninstalling a folder action requires the old folder to which that action was attached.  I'm not sure just what OS X does when it creates and attaches a new folder action, so you may need to hunt around to find out if there are remaining pieces of it that still need to be removed.  A good search tool for this is Easy Find - MacUpdate or CNET Downloads.

  • Can't Get Folder Action To Work...

    Hi guys.  I'm working on an Applescript -- a Folder Action, to be precise -- which will, when files are dropped onto or added to my Downloads folder, automagically sort them into pre-existing folders, depending upon what kind of file they are.  But for the LIFE of me, I simply cannot get it to work.  I attach the script to the Folder using Configure Folder Actions (or as it appears in the context menu, "Folder Actions Setup"), and then drop files onto the folder and . . . nothing.  But I know that Folder Actions themselves are working, because I have a few others that I wrote myself that are working just fine.  I tried repairing permissions, but that didn't do any good.  Any ideas?  Here's the code below.   You'll notice that there is a section that's been commented out; mainly because I couldn't figure out how to do it without using recursion, and thus breaking up the script into subroutines, which I've heard you're not supposed to do with Folder Actions.  If someone could please explain what the heck I'm doing wrong and possibly provide a solution, I'd be really, really appreciative.  Anyway, the code:
    on adding folder items to this_folder after receiving these_items
    set imageTypesList to {"JPEG image", "Portable Network Graphics image", "Windows bitmap image", "Graphics Interchange           Format image", "Adobe Photoshop File", "TIFF Image"}
    set audioTypesList to {"MP3 audio", "AIFF-C audio", "Waveform audio"}
    set videoTypesList to {"Video-MPEG4", "MPEG-4 File", "Video-MPEG2", "Video-MPEG", "AVI", "Matroska Video File"}
    set fontTypesList to {"TrueType font", "PostScript® Type 1 outline font", "Font Suitcase"}
    set docsTypesList to {"Portable Document Format (PDF)", "Scrivener Project", "Microsoft Word 97 - 2004 document", "Rich Text           Document", "Plain Text Document", "CSV Document", "Pages Publication"}
    set epubTypesList to {"epub", "Kindle Document", "iBooks Author Template", "iBooks Author Book"}
    set archTypesList to {"ZIP archive", "tar archive", "rar archive", "Tar Gzip Archive"}
    set diskTypesList to {"Installer package", "Disk Image"}
    set execTypesList to {"Application (32-bit)", "Application", "Unix Executable File"}
    set webTypesList to {"HTML document", "XML document", "XHTML document", "Cascading Style Sheet"}
    set iconTypesList to {"Apple Icon Image", "Icon Container", "Windows Icon Image"}
    set otherTypesList to {"XTorrent File"}
    set uberList to imageTypesList & audioTypesList & videoTypesList & fontTypesList ¬                      & docsTypesList & epubTypesList & archTypesList & diskTypesList & execTypesList ¬
               & webTypesList & iconTypesList & otherTypesList\
    set imagesFolder to "Technomage:Users:andyhainline:Downloads:Images" as alias
    set appsFolder to "Technomage:Users:andyhainline:Downloads:Apps" as alias
    set archivesFolder to "Technomage:Users:andyhainline:Downloads:Archives" as alias
    set epubFolder to "Technomage:Users:andyhainline:Downloads:eBooks" as alias
    set fontsFolder to "Technomage:Users:andyhainline:Downloads:Fonts" as alias
    set docsFolder to "Technomage:Users:andyhainline:Downloads:PDFs and Docs" as alias
    set diskFolder to "Technomage:Users:andyhainline:Downloads:Installers and Disk Images" as alias
    set iconFolder to "Technomage:Users:andyhainline:Downloads:Icons" as alias
    set audioFolder to "Technomage:Users:andyhainline:Downloads:Audio" as alias
    set videoFolder to "Technomage:Users:andyhainline:Downloads:Video" as alias
    set otherFolder to "Technomage:Users:andyhainline:Downloads:Torrent Files" as alias
    set miscFolder to "Technomage:Users:andyhainline:Downloads:Miscellanious" as alias
    repeat with anItem in these_items
      set itemInfo to info of anItem
      if (kind of itemInfo) is in imageTypesList then
      move file itemInfo to imagesFolder
      else if (kind of itemInfo as text) is in audioTypesList then
      move file anItem to audioFolder with replacing
      else if (kind of itemInfo as text) is in videoTypesList then
      move file anItem to videoFolder with replacing
      else if (kind of itemInfo as text) is in fontTypesList then
      move file anItem to fontsFolder with replacing
      else if (kind of itemInfo as text) is in docsTypesList then
      move file anItem to docsFolder with replacing
      else if (kind of itemInfo as text) is in epubTypesList then
      move file anItem to epubFolder with replacing
      else if (kind of itemInfo as text) is in archTypesList then
      move file anItem to archivesFolder with replacing
      else if (kind of itemInfo as text) is in diskTypesList then
      move file anItem to diskFolder with replacing
      else if (kind of itemInfo as text) is in execTypesList then
      move file anItem to appsFolder with replacing
      else if (kind of itemInfo as text) is in webTypesList the
              move file anItem to docsFolder with replacing
      else if (kind of itemInfo as text) is in iconTypesList then
               move file anItem to iconFolder with replacing
      else if (kind of itemInfo as text) is in otherTypesList then
               move file anItem to otherFolder with replacing
      else if (kind of itemInfo as text) is not in uberList then
               move file anItem to msicFolder with replacing
      (*                              else if (kind of anItem as text) is "Folder" then
                                            set folderFiles to get every file of anItem
                                            processItems(folderFiles)
      end if
         end repeat
    end adding folder items to

    Well, I followed your instructions to letter, but the folder action still isn't triggering, or if it is, it isn't executing properly.  I can't figure out what's going on.  I tried executing the script directly from Script Debugger, but it just sits there, doing nothing (since it has no input, I would guess).  Any ideas on what's wrong?
    on adding folder items to this_folder after receiving these_items
         set imageTypesList to {"JPEG image", "Portable Network Graphics image", "Windows bitmap           image", "Graphics Interchange Format image", "Adobe Photoshop File", "TIFF Image"}
         set audioTypesList to {"MP3 audio", "AIFF-C audio", "Waveform audio"}
         set videoTypesList to {"Video-MPEG4", "MPEG-4 File", "Video-MPEG2", "Video-MPEG", "AVI", "Matroska           Video File"}
         set fontTypesList to {"TrueType font", "PostScript® Type 1 outline font", "Font Suitcase"}
         set docsTypesList to {"Portable Document Format (PDF)", "Scrivener Project", "Microsoft Word 97 - 2004           document", "Rich Text Document", "Plain Text Document", "CSV Document", "Pages Publication"}
         set epubTypesList to {"epub", "Kindle Document", "iBooks Author Template", "iBooks Author Book"}
         set archTypesList to {"ZIP archive", "tar archive", "rar archive", "Tar Gzip Archive"}
         set diskTypesList to {"Installer package", "Disk Image"}
         set execTypesList to {"Application (32-bit)", "Application", "Unix Executable File"}
         set webTypesList to {"HTML document", "XML document"}
         set iconTypesList to {"Apple Icon Image", "Icon Container", "Windows Icon Image"}
         set otherTypesList to {"XTorrent File"}
         set uberList to imageTypesList & audioTypesList & videoTypesList & fontTypesList ¬
                                  & docsTypesList & epubTypesList & archTypesList & diskTypesList & execTypesList ¬
                & webTypesList & iconTypesList & otherTypesList
    set imagesFolder to "Technomage:Users:andyhainline:Downloads:Images" as alias
    set appsFolder to "Technomage:Users:andyhainline:Downloads:Apps" as alias
    set archivesFolder to "Technomage:Users:andyhainline:Downloads:Archives" as alias
    set epubFolder to "Technomage:Users:andyhainline:Downloads:eBooks" as alias
    set fontsFolder to "Technomage:Users:andyhainline:Downloads:Fonts" as alias
    set docsFolder to "Technomage:Users:andyhainline:Downloads:PDFs and Docs" as alias
    set diskFolder to "Technomage:Users:andyhainline:Downloads:Installers and Disk Images" as alias
    set iconFolder to "Technomage:Users:andyhainline:Downloads:Icons" as alias
    set audioFolder to "Technomage:Users:andyhainline:Downloads:Audio" as alias
    set videoFolder to "Technomage:Users:andyhainline:Downloads:Video" as alias
    set otherFolder to "Technomage:Users:andyhainline:Downloads:Torrent Files" as alias
    set miscFolder to "Technomage:Users:andyhainline:Downloads:Miscellanious" as alias
    processItems(these_items)
    end adding folder items to
    on processItems(these_items)
         tell application "System Events"
              repeat with anItem in these_items
                   if (kind of anItem) is in imageTypesList then
                       move file anItem to imagesFolder
                  else if (kind of anItem) is in audioTypesList then
                       move file anItem to audioFolder with replacing
                 else if (kind of anItem) is in videoTypesList then
                       move file anItem to videoFolder with replacing
                 else if (kind of anItem) is in fontTypesList then
                      move file anItem to fontsFolder with replacing
                 else if (kind of anItem) is in docsTypesList then
                      move file anItem to docsFolder with replacing
                else if (kind of anItem) is in epubTypesList then
                      move file anItem to epubFolder with replacing
                else if (kind of anItem) is in archTypesList then
                      move file anItem to archivesFolder with replacing
                else if (kind of anItem) is in diskTypesList then
                     move file anItem to diskFolder with replacing
                else if (kind of anItem) is in execTypesList then
                     move file anItem to appsFolder with replacing
               else if (kind of anItem) is in webTypesList then
                    move file anItem to docsFolder with replacing
               else if (kind of anItem) is in iconTypesList then
                   move file anItem to iconFolder with replacing
               else if (kind of anItem) is in otherTypesList then
                   move file anItem to otherFolder with replacing
               else if (kind of anItem) is not in uberList then
                   move file anItem to msicFolder with replacing
               else if (kind of anItem as text) is "Folder" then
           set folderFiles to get every file of anItem
           processItems(folderFiles)
      end if
      end repeat
    end tell
    end processItems

  • Folder Actions not working

    I'm trying out folder actions for the first time, and I cannot get an action to trigger.
    I regularly use Automator, and I've saved a script as a Folder Action plug-in attached to a folder. I've tried this with several different scripts.
    For example, I've got a script that just displays a message. It works fine if I save it as an app, so I save it as a Plug In>Folder Action. If I select, say, my documents folder, I right click>more>attach a folder action. I then select my script. If I open the Folder Actions Setup, my script is listed as attached to my documents folder. However, if I drop a file into the Documents folder, nothing happens.
    Am I correct in thinking that the script should run when a file is dropped into the folder (and if I'm wrong, how would you do this?), or have I missed something?
    I'm using 2x 2,8GHz Quad-Core Intel Xeon Mac, OsX 10.5.6.
    Cheers
    Steve

    In the Finder (Mac) Help, every user may read:
    *+Running an automation when a folder is changed+*
    +Folder actions let you run automations when a folder is modified. For example, you could run an AppleScript or an Automator workflow whenever something is added to a dropbox folder.+
    +To use folder actions, you attach a folder action script or workflow to a folder. When the folder is opened, closed, or modified, the automation will be activated automatically.+
    +Your script must include a handler for each folder action command used.+
    +To make a folder action scripts available to all users of your computer, put them in the Folder Action Scripts folder located at:+
    +Library/Scripts/Folder Action Scripts/+
    +To make the scripts available only to the current user, put them in the home folder at:+
    +~/Library/Scripts/Folder Action Scripts/+
    *+To enable folder actions:+*
    +1. Open Folder Actions Setup in the Applications/AppleScript folder.+
    +2. Select Enable Folder Actions.+
    +3. Click the ╋ button below the Folders with Actions list and choose the folder containing the folder actions.+
    +4. Click the ╋ button below the Script list and select the desired scripts, then click Attach.+
    My guess is that you missed one of the four steps.
    Yvan KOENIG (from FRANCE vendredi 5 juin 2009 17:09:05)

  • Applying a folder action to thousands of folders?

    I am pulling my hair out with this; I need to know the best way to do this. My client said he had "a thousand or so" eps files that he wanted bundled into specific groups, then duplicated as pdf, jpg, png and tif files, each group in its own subfolder with an excel file that lists each of the file names for each bundle. So, essentially, the structure would look something like this:
    Archive of Files (all of them)Bundles (ie., singles or multiples)Type of Bundles (ie, 5, 10, 25, 50, 100, 200)Groups and excel file (ie, "62697200376 - 62697200380")Filename Folder (ie, "62697200376", "62697200377", "62697200378", etc)
    filename.eps
    filename.tif
    filename.pdf
    filename.jpg
    filename.png
    Insane.
    Anyway, what he actually sent me was 99,997 files - not "a thousand or so". So now, thanks to applescripts and automator, I have managed to:
    - separate the archive of files into bundles
    - set up the types of bundles
    - Group the files (no excel file just yet, that'll be last)
    - run applescript to create a folder for each eps file and move that eps file into it's folder
    - have a working (and tested) workflow that will duplicate and convert each eps file to a pdf and save that pdf to the same folder.
    I also have folder actions that will duplicate the pdf files as tif, jpg, and png once the pdf file is saved.
    How can I attach these folder actions to these folders? Specifically the filename folders? I know that you're supposed to select each folder one at a time and then click on "Folder Actions Setup" to choose the actions, but there are nearly 100,000 folders that I need to get these three actions attached to before I can run the workflow. I don't think I will survive the eminent implosion that I will suffer if I have to attach these folder actions to each of the 99,997 folders one at a time (and I definitely wouldn't meet my deadline of having all this done).

    Thank you all for the replies.
    So, I know I'm doing something wrong, but I just can't seem to see it. In applescript editor, I have this (based on Camelot's script above):
    tell application "Finder"
        set theFolders to every folder of (choose folder) as alias list
    end tell
    tell application "System Events"
        repeat with eachFolder in theFolders
            try
                attach action to eachFolder using "/Library/Scripts/Folder Action Scripts/Image - Duplicate as PNG.scpt"
            end try
            try
                attach action to eachFolder using "/Library/Scripts/Folder Action Scripts/Image - Duplicate as JPG.scpt"
            end try
            try
                attach action to eachFolder using "/Library/Scripts/Folder Action Scripts/Image - Duplicate as TIFF.scpt"
            end try
        end repeat
    end tell
    First, I tried it without the try / end try but it kept telling me that it didn't understand the attach action message. After I added the try / end try, it goes through but the actions do not get attached and I get an error number -1708 like this:
    tell application "System Events"
        attach action to alias "[removed]:Bundles:5:first copy:62697200376 - 62697200380:UPC (A).62697200376:" using "/Library/Scripts/Folder Action Scripts/Image - Duplicate as PNG.scpt"
            --> error number -1708
        attach action to alias "[removed]:Bundles:5:first copy:62697200376 - 62697200380:UPC (A).62697200376:" using "/Library/Scripts/Folder Action Scripts/Image - Duplicate as JPG.scpt"
            --> error number -1708
        attach action to alias "[removed]:Bundles:5:first copy:62697200376 - 62697200380:UPC (A).62697200376:" using "/Library/Scripts/Folder Action Scripts/Image - Duplicate as TIFF.scpt"
            --> error number -1708
    The folder "First Copy" is a backup I made of some of the files; there are 200 folders in there, each containing 5 subfolders, and in the subfolder is the actual eps file. I figure if I can make something work on this small backup I can make it work on the actual folders / subfolders.

Maybe you are looking for

  • HP 950C network printer and windows 8.1

    I have an HP950C printer that is usb connected to my desktop which runs XP. This printer was used on my network by my old laptop which was also XP. I now have a new laptop with Win 8.1 and the printer will not work unless I hook it up via USB. The er

  • Use of structure BAPIPAREX in FM for BTE CRM0_300

    Hello guys I use the BTE CRM0_300 tu update data in table KNA1 with data coming from CRM EEWB. First, in the FM I get the guid of the partner from table T_BAPIMTCS in entry with tabname BSC_MAINO. Then I extract the EEWB data with function COM_BUPA_B

  • Uplaoding material master with LSMW

    Hi,        I want to  create new 1000 material , i want to know the process for uplaaoding sales text and purchase order text is it  possbile with normal recording or for text uplaoding i have to folow different procedure,   regards,    zafar

  • Recovery process applies old archivelogs on standby database

    Right now my standby database is in sync with my primary database and is waiting for the archived log sequeuence# 8378 to arrive. But when I stop the recovery process (alter database recover managed standby database cancel;) and re-start it (alter da

  • Photo and music transfer to iPad with Mac OS 10.4.11

    Since iPad will not sync with OS 10.4 and had to use PC iTunes how can I transfer my music and photos from the Mac or iPhone? Anyway to transfer from iPhone to PC iTunes and then sync to iPad?