Folder actions no longer works after migration

The script below was working perfectly on an iMac G4. I use it as a type of print spooler for a DOS application that runs in Dosbox for OS X (also works for OS9 apps). I just send the file to the monitored folder and the script prints the contents and deletes the file from the folder.
I moved to an iMac G5 and used Setup Assistant to transfer my system (no lectures please...). Configure Folder Actions indicates that the script is enabled for the particular folder. However the Folder Action is no longer triggered when I add files to the monitored folder. I have tried repairing permissions, recompiling the script, deleting the folder and creating a new one...
Is this a quirk of migration?
on adding folder items to this_folder after receiving added_items
delay 20 -- time for job to finish?
repeat with each_item in added_items
tell application "Printer Setup Utility" to open each_item
delay 40 -- time before file is deleted from folder
tell application "Finder" to delete each_item
tell application "Printer Setup Utility"
quit
end tell
end repeat
end adding folder items to

Michael,
That script seems to work here.
You could check whether the script is actually attached by using the Folder Actions Setup utility which is located here:
~/Applications/AppleScript
This utility gives you all the folders and their attached scripts in one window.
You might also want to check to see whether locating your script in the following location helps:
~/Library/Scripts/FolderActions
as that is where the utility wants them to go when you are attaching a folder action script to a folder.

Similar Messages

  • Checking out Pdf files to Local draft Folder option no longer works after office 2013 installed.

    Checking out Pdf files to Local draft Folder option no longer works after office 2013 installed.
    Summary :
    We are using SharePoint 2010 Ent edition and users were able to checkout Pdf files similar to local drafts folder like any other office file without any problem when they used office 2010.
    i.e
    Unfortunately ever since their machines upgraded with office 2013 recently , this functionality completely stopped working for PDF files. This has now become a big problem for the users when it comes to check out and replace PDF files.
    All browser plugins required for this functionality (i.e    SharePoint OpenDocuments Class ) are all available and active. All document libraries are configured to Checkout is required for editing files. Browser version
    used at the moment is IE9 (32 bit) version with windows 7. 
    Can anyone please help with this issue and any help to get away with this problem is much appreciated.

    Hi,
    Based on your description, my understanding is that the PDF files cannot be checked out to local drafts folder after Office 2013 is installed.
    Did this issue occur with Office files?
    I recommend to check if the Office files can be checked out to local drafts folder with Office 2013.
    And it is recommended to use Office 2010 with SharePoint 2010 for best practice.
    Thanks,
    Victoria
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Victoria Xia
    TechNet Community Support

  • Bridge  no longer working after Migration to new Mac 10.6.4

    Howdy. New computer. Used Migration Assistant to load user etc from old hard drive.  Photoshop works fine after re-activation.  CS3 Bridge 2.1.1.9 won't even start.  "Application not responding."  Have re-installed from disk.  Ideas?
    Thanks
    Steve

    Weird.  I just left it alone for about half an hour and it suddenly burst into life.  Seems to work properly now.

  • Mail no longer works after migrating applications from Mountain Lion

    This weekend I bought a Mac Pro 2.1. I upgraded it to Lion then migrated all my files and applications from my iMac (running Mountain Lion). Now the Mail app doesn't work. I can't uninstall it and Software update says everything is up to date. How can I get my Mail app to work again? I guess I've somehow copied the Mail app from the Mountain Lion mac which is why it won't run.

    No unfortunately after the OS  is installed the installer package is removed so you'll need to go through the whole procedure again.
    There is a way to save the installer and make a bootable flash drive you can install off of. You should be able to find the procedure if you search here or on the net.
    regards

  • HP OfficeJet 8620 Scan to Network Folder No Longer Works after Mac OS X 10.10Yosemite Upgrade

    My scan to network folder function no longer works. When I look into it, I get an error message when I test the Network Folder setup saying, "Incorrect credentials. Check your username/password and try again."
    The username and password are unchanged. I just bought this AIO and I kinda need this function to work. I hope that 10.10 didn't just disable this function.

    I have followed your recomendation step by step but did not work. The message "Incorrect credentials. Check your username/password and try again." keeps showing once I test the credentials.
    After several hours of work this is very upsetting. What other option are to set up using Mac Book Pro and Yosemithe?
    Thanks
    LN

  • Folder Actions will not work - tried everything

    Recently Folder Actions simply stopped working on 10.6.4. They worked fine before then recently just stopped working.
    I've tried everything I can think of, including:
    1. completely removing enabling & disabling & enabling folder actions through the setup app.
    2. trashing folder actions plist files in user domain and relaunching
    3. disabling related launchd processes with lingon
    4. trashing launch agents in user domain and also trying to unload them in terminal
    5. trying to kill the folder actions dispatcher process in activity monitor (just relaunches, as it should)
    6. emptying system caches including dyld shared cache using cocktail
    7. doing most of the above and restarting
    It's driving me nuts. Any other ideas?
    here's some entries from syslog:
    8/2/10 9:31:37 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 6 seconds
    8/2/10 9:37:29 AM Folder Actions Setup[4403] * WARNING: Method selectedRowEnumerator in class NSTableView is deprecated. It will be removed in a future release and should no longer be used.
    8/2/10 9:43:37 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.enabled[309]) Exited: Killed
    8/2/10 9:46:23 AM [0x0-0x3a03a].com.apple.systemevents[360] com.apple.FolderActions.enabled: Already loaded
    8/2/10 9:52:07 AM Folder Actions Setup[1083] * WARNING: Method selectedRowEnumerator in class NSTableView is deprecated. It will be removed in a future release and should no longer be used.
    8/2/10 9:52:16 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 7 seconds
    8/2/10 9:53:02 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 1 seconds
    8/2/10 9:56:18 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 10 seconds
    8/2/10 10:00:58 AM Folder Actions Setup[2190] * WARNING: Method selectedRowEnumerator in class NSTableView is deprecated. It will be removed in a future release and should no longer be used.
    8/2/10 10:01:01 AM com.apple.FolderActions.enabled[2236] launchctl: Error unloading: com.apple.FolderActions.folders
    8/2/10 10:01:30 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 10 seconds
    8/2/10 10:01:42 AM com.apple.launchd.peruser.501[269] (com.apple.FolderActions.folders) Throttling respawn: Will start in 9 seconds
    8/2/10 10:05:03 AM sudo[2622] lryter : TTY=ttys000 ; PWD=/Users/lryter ; USER=root ; COMMAND=/bin/launchctl unload -w /Users/lryter/Library/LaunchAgents/com.apple.FolderActions.enabled.plist
    8/2/10 10:10:25 AM Folder Actions Setup[676] * WARNING: Method selectedRowEnumerator in class NSTableView is deprecated. It will be removed in a future release and should no longer be used.
    8/2/10 10:10:27 AM com.apple.FolderActions.enabled[680] launchctl: Couldn't stat("/Users/lryter/Library/LaunchAgents/com.apple.FolderActions.folders.plist"): No such file or directory
    8/2/10 10:10:27 AM com.apple.FolderActions.enabled[680] nothing found to unload
    8/2/10 10:10:38 AM com.apple.launchd.peruser.501[268] (com.apple.FolderActions.folders) Throttling respawn: Will start in 8 seconds
    8/2/10 10:13:17 AM sudo[943] lryter : TTY=ttys000 ; PWD=/Users/lryter ; USER=root ; COMMAND=/bin/launchctl unload -w /Users/lryter/Library/LaunchAgents/com.apple.FolderActions.enabled.plist
    8/2/10 10:14:01 AM com.apple.launchd.peruser.501[268] (com.apple.FolderActions.folders) Throttling respawn: Will start in 4 seconds
    8/2/10 10:14:14 AM com.apple.launchd.peruser.501[268] (com.apple.FolderActions.folders) Throttling respawn: Will start in 1 seconds

    I finally go Folders Action to work, after being unable to use it even for a simple beep for years now.
    Here is what I did:
    1. Changed permissions to 755 for the following folder and two contained files (note that 775 didn't work for me)
    ~/Library/LaunchAgents/
    ~/Library/LaunchAgents/com.apple.FolderActions.enabled.plist
    ~/Library/LaunchAgents/com.apple.FolderActions.folders.plist
    2. Changed the following lines within ~/Library/LaunchAgents/com.apple.FolderActions.enabled.plist (using TextWrangler)
    from:
    <key>OnDemand</key>
    <false/>
    to:
    <key>OnDemand</key>
    <true/>
    Prior to the permissions changes within #1 above, the value of <true/> kept getting changed back to <false/> by something in the system... and though
    there was improvement by the permissions changes, the following console message appeared until false was changed to true.
    com.apple.FolderActions.enabled[4127] launchctl: Error unloading: com.apple.FolderActions.folders
    At this point true is staying true, and not being changed by unknown forces to false, and the above message is not appearing.
    3. The only other thing I did prior to #1 and #2 above, was to run the script (unsaved),
    tell application "/System/Library/CoreServices/Folder Actions Dispatcher.app" to tick
    This little tell line caused something to occur where my Folder Action surprised me and worked for the first time though it took about 30 seconds and was erratic,
    sometimes performing, sometimes not, though if I would do move something into the folder to trigger the action that should occur, and did not occur, then at the point
    running the above tell line or script would cause the action to occur.
    4. At this point I don't fool with the tell line or script from #3, and it seems that systemevents has gotten involved, as well as launchd, and with my simple Folder Action script
    I'm getting the folder action within 10 seconds compared to 30 to 45 if ever seconds.
    5. This is still too early to tell if this is the wonder pill I've needed since Leopard, and now Snow Leopard (and maybe Tiger as well: I forget when I even tried Folder Actions).
    There was a time when I moved things around, so that the items normally found in the former AppleScript folder, were placed elsewhere in subfolders, so I don't know if that lead to this...
    because I could get Folder Actions to work on Macs in the Applestore, but not my own Mac. Watching the console messages was helpful. I don't think it's a big concern that
    deprecated messages are found sometimes. That's a just a normal part of the constantly rebuilding of things that goes on. It's more like a reminder that we've got an upgraded
    OEM part were going to start using, and the older part won't be available after such and such date, so program accordingly, and in the meantime drive.

  • Internet sharing no longer works after Lion 10.7.4 update

    Internet sharing no longer works after Lion 10.7.4 update. Hopefully Apple will fix this shortly. Little excuse for this kind of screw-up.

    so here is da answer
    1. go to finder>(computer name)>macintosh HD>library>preferences
    2. copy the entire systemconfiguration folder and systemconfiguration.old folder to your desktop
    3. restart mac and device which you share intenet to
    then you have internet that is about 3x slower than the da 10.7.3 intenet sharing, but works
    then, just wait for apple to release da 10.7.4 fixed
    please use da steps!

  • Script no longer works after Upgrade to 10.4.6

    The following script worked fine using 10.4 thru 10.4.5 but no longer works after upgrading to 10.4.6.
    When I highlight a folder and then run the script the highlighted folder is moved to a specific "Achive" folder, depending on whether the highlighted folder has a ".0" or ".1" or etc in its name.
    When I run the script using 10.4.6 I get an error indicating that the highlighted folder already exists in the destination.
    Anyone else having Applescript problems with 10.4.6?
    --Bob
    tell application "Finder"
    activate
    set fname to selection as string
    if fname contains "0." then
    move selection to folder "ARCHIVE" of folder "0JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "1." then
    move selection to folder "ARCHIVE" of folder "1JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "2." then
    move selection to folder "ARCHIVE" of folder "2JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "3." then
    move selection to folder "ARCHIVE" of folder "3JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "4." then
    move selection to folder "ARCHIVE" of folder "4JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "5." then
    move selection to folder "ARCHIVE" of folder "5JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "6." then
    move selection to folder "ARCHIVE" of folder "6JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "7." then
    move selection to folder "ARCHIVE" of folder "7JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "8." then
    move selection to folder "ARCHIVE" of folder "8JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    else
    if fname contains "9." then
    move selection to folder "ARCHIVE" of folder "9JobsArchive" of folder "Archived_Files" of disk "Preflight_Only"
    end if
    end if
    end if
    end if
    end if
    end if
    end if
    end if
    end if
    end if
    end tell

    I, too, immediately started having problems with my scripts immediately after updating to OS 10.4.6. I put my scripts in "Library/Applications/..." so that the scripts associated with particular applications are available in the menu bar. I don't know if that has any bearing on the problem, but for me, it was not any particular script, but just about every one that started going funny.
    First, I noticed that my scripts would typically work right once, but fail in some odd manner the second time I tried to use one. The second thing I noticed was that the modification dates of my scripts were changing to the time that I last executed the scripts, even though I had not altered and recompiled any of them in weeks. Finally, I noticed that the scripts that were failing were ones in which I had used property statements to initialize some of my variables.
    What I think is happening is this: for some strange reason 10.4.6 is recompiling scripts every time they are run, and variables are being initialized, not to the values specified in property statements, but to whatever the variable was the last time the script ended.
    I discovered that I could prevent this from happening by (1) recompiling all my scripts to make sure all the property statements were back in effect, and then (2) setting the permissions of all my scripts to read only. This seems to prevent whatever in 10.4.6 is recompiling the scripts from doing this each time the script is run. At least, the modification dates are no longer changing inexplicably, and all my scripts are running reliably again.
    It's a bit of a pain to have to remember to reset script permissions to read/write whenever I want to make a change, and then change them back to read only before executing, but it seems to be a reliable workaround. I'd appreciate hearing if anyone else can replicate this phenomenon, or tell me if I'm on the right track.
    Jeff Johnson
    Dual 1.2 GHz   Mac OS X (10.4.6)  
    Dual 1.2 GHz    

  • Application Manager no longer works after I got a new computer.

    Application Manager no longer works after I got a new computer.
    I moved all of my data from one mac to the other, but the Adobe Suite no longer works.
    I tried to re-install it, but it says now that Application Manager is damaged, it keeps sending me to the download page, I download, it starts installing then it says it is damaged, and so on... Got any idea?
    Thank you!

    1)
    Click on the Finder and look for the options listed next to Apple Icon located at the top left corner of the Desktop screen and click on "Go" menu button and select "Utilities" option.
    (Applications>Utiliites)
    Locate Adobe Creative Cloud and Adobe Application Manager folder under Utilities window and trash both folders.
    2)  Trash Adobe Creative Cloud from Applications well.
    3)
    Click on the below link and download & run Adobe Cleaner tool :
    Select the option "Adobe Application Manager for Mac OS X 10.6" and then click on "Clean up Selected" .
    https://helpx.adobe.com/content/help/en/creative-suite/kb/cs5-cleaner-tool-installation-pr oblems/_jcr_content/main-pars/accordion_container_1/accordion-par/accordion-item-1/accord i on-item-par/procedure/proc_par/step_3/step_par/download/file.res/AdobeCreativeCloudCleane r Tool.zip
    4) Click on the below link and download Adobe Application Manager and install the same:
    Once the installation process is completed , the installation box will disappear. Then open Application folder and locate Adobe application manager icon and double click on it .
    It will start update process and gets updated to Creative Cloud .
    http://download.adobe.com/pub/adobe/creativesuite/cc/mac/ApplicationManager9.0_all.dmg
    Feel free to post , if you need further assistance

  • My printer (HP Laserjet 2100) is no longer working after upgrading

    My printer (HP Laserjet 2100) is no longer working after the upgrade; it just spits out page after page of error codes and blank pages. I've tried using both the HP driver and a generic driver. This is being accessed over a network. Has anyone encountered this problem after upgrading from Lion?

    Hi,
    Make sure to install the latest HP Printer Drivers 2.11 update as it should resolve a Postscript printing issue and I believe it will resolve the problem.
    You may do so by clicking the Apple icon and then Software Update, you should see the update listed.
    For any further issue go to Library\Printers and remove the HP folder, then download and install the following package:
    http://support.apple.com/kb/DL907
    Hope it helps,
    Shlomi

  • IPad app no long works after upgrading to iOS 7.1.1

    iPad app no long works after upgrading to iOS 7.1.1

    Did you try deleting then reinstalling the app?  Sometimes developers will need to update their apps for compatibility.  If it still doesn't work after reinstalling, wait a few days to see if an app update becomes available.

  • IPhoto no longer work after upgrading to Mavericks.

    My iPhoto will no longer work after upgrading to Mavericks. iPhoto will not update. How do I fix this?

    kmg55 wrote:
    Just upgraded and Iphoto will not work,
    Check that iPhoto is v9.5.1 (In Applications, highlight iPhoto, and ⌘I)
    If it is v9.5.1, then hold option-command and click the iPhoto icon and go through the repair steps.

  • Many Apps are no longer working after webOS 1.4 update! - please help!

    Hi,
    Many of my previously working Palm Pre Apps are no longer working after the webOS 1.4 update.
    Here are the ones that just return a blank/white screen after launching so far:
    SplashID
    Daily Devo
    Daily Light (Love)
    Absolute Fitness (some options no longer work correctly & are returning a white screen and some options are working)
    These are just a few of the Apps that I am having problems with and there are probably many others.  I have also sent emails/posted to forums on the developer sites to advise. Hopefully I will hear something back soon.
    Anyone else experiencing this issue as well with any Apps?
    Thanks in advance for any help that you can provide.

    SplashID on my Sprint Pre is showing just a blank screen after starting it and entering my password.  I see no update for it in the App Catalog.
    EDIT: Never mind.  It appears that it only did that on the first launch.  I closed it and restarted it, and now the screen in SplashID is correct.

  • HT2188 home button no longer working after upgrade to io6 on my iphone4...any ideas to fix this problem

    home button no longer working after upgrade to ios6 software on my iphone4..anything i can do to frix this or apple send me a new device.  phone no good without a home button

    The button's broken.  S**t happens.  Apple will replace your phone.  If in waranty it will be free of charge.  If not, you will pay $149. 
    You can elect to have it repaired at a 3rd party shop near you if you choose, but this will void all warranty if there's any left.

  • Canon iP2700 is no longer working after update

    My Canon iP2700 is no longer working after doing an update yesterday. I am using the cnijfilter-ip2700series 3.30-2  from  https://aur.archlinux.org/packages.php?ID=41797 with cups 1.5.2. I have blacklisted usblp, but this doesn't help. My printer is recognized, and apparently I can print but nothing happens. This is my error log:
    tail -n 100 -f /var/log/cups/error_log
    D [09/Mar/2012:13:58:16 +0200] [Job 4683] usb_find_busses=0
    D [09/Mar/2012:13:58:16 +0200] [Job 4683] usb_find_devices=0
    D [09/Mar/2012:13:58:16 +0200] [Job 4683] STATE: +connecting-to-device
    D [09/Mar/2012:13:58:16 +0200] cupsdMarkDirty(-----S)
    D [09/Mar/2012:13:58:16 +0200] cupsdSetBusyState: newbusy="Dirty files", busy="Printing jobs and dirty files"
    D [09/Mar/2012:13:58:16 +0200] [Job 4683] STATE: -connecting-to-device
    D [09/Mar/2012:13:58:16 +0200] cupsdMarkDirty(-----S)
    D [09/Mar/2012:13:58:16 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Dirty files"
    I [09/Mar/2012:13:58:16 +0200] [Job 4683] Waiting for printer to become available.
    D [09/Mar/2012:13:58:16 +0200] cupsdAcceptClient: 16 from localhost (Domain)
    D [09/Mar/2012:13:58:16 +0200] cupsdReadClient: 16 POST / HTTP/1.1
    D [09/Mar/2012:13:58:16 +0200] cupsdSetBusyState: newbusy="Active clients, printing jobs, and dirty files", busy="Printing jobs and dirty files"
    D [09/Mar/2012:13:58:16 +0200] cupsdAuthorize: No authentication data provided.
    D [09/Mar/2012:13:58:16 +0200] cupsdReadClient: 16 1.1 Get-Notifications 1
    D [09/Mar/2012:13:58:16 +0200] Get-Notifications /
    D [09/Mar/2012:13:58:16 +0200] cupsdIsAuthorized: requesting-user-name="irenke"
    D [09/Mar/2012:13:58:16 +0200] Returning IPP successful-ok for Get-Notifications (/) from localhost
    D [09/Mar/2012:13:58:16 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Active clients, printing jobs, and dirty files"
    D [09/Mar/2012:13:58:16 +0200] cupsdReadClient: 16 WAITING Closing on EOF
    D [09/Mar/2012:13:58:16 +0200] cupsdCloseClient: 16
    D [09/Mar/2012:13:58:16 +0200] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
    And this part keeps repeating every 5 seconds with different timestamp, until I delete the document from queue.
    The CUPS ownership of the USB device file seems OK:
    ls -l /dev/bus/usb/001/006
    crw-rw---- 1 root lp 189, 5 Mar 9 14:17 /dev/bus/usb/001/006
    I've been working on this problem since yesterday and now i'm stuck. Can someone please help?
    EDIT
    I think it's something related to the driver. If i change the driver to another printer model from CUPS the printer works. Prints garbage, but at least works. So this means that we have to wait for a new driver or what?
    Last edited by otx (2012-03-09 14:21:27)

    See if this is any help: https://bbs.archlinux.org/viewtopic.php?id=136415

Maybe you are looking for

  • HT201302 How do I downloads videos from my pc to Ipad?

    How do I downloads videos from my pc to Ipad?

  • Using Back button issue for radio button

    Dear All, My initial screen has 2 radio buttons, on selecting will take to a selection screen with few fields, i have enabled the back button using MODULE user_command AT EXIT-COMMAND.   when i select a Radio Button 1 which takes to the Selection Scr

  • Satellite C850-108 - WLan card driver for Win 7

    I have a Toshiba Satellite C850-108 and recently it just completely crashed. Being stupid i never got chance to create a recovery disc etc for it. I have a friend that sent me a disc to help reinstall windows 7. However when i did this i lost all dri

  • Using a scrollbar with a movieclip

    Hi, I'm making an application and i have a movieclip with 12 buttons which are images. At any one time 4 are shown on screen. I want to add a scrollbar at the bottom of the movie to slide the buttons over. Can I use the UIScrollBar component to do th

  • Quicktime playback distortion?

    I'm getting playback distortion from Itunes/Quicktime... Does anyone know how I can fix this? I have WinXP, and a Soundblaster Audigy 2. Downloaded the latest Itunes/Quicktime, and the latest Audigy 2 drivers. Thanks for the help