Folder Action + Move Finder Items = Zero KB files

I've got a folder action set that is supposed to run the Automator Action "Move Finder Items" on any file that gets placed in a specific folder (called "Folder A") and move it to "Folder B". I'm having an issue with larger files though.
As soon as I begin to transfer the file to "folder A" , the folder action runs and results in a "Zero KB" file in "Folder B".
Is there any way to keep the Folder Action from triggering until the file has completely copied to the folder with the Folder Action attached ("Folder A")?
A side note: I have this same folder action running on an iMac with Mac OS 10.6.3 and it works great . (This one was made with the newer version of Automator that shipped with 10.6 vs. Automator on 10.5 which made the action I am having trouble with)
Any input would be appreciated!

There is a check in *Snow Leopard* to see if the items have completed their copy/download, but Leopard does not do any checking - the script is triggered immediately. You can add your own delay with a *Run AppleScript* action, though, for example:
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
font-weight: normal;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px; height: 340px;
color: #000000;
background-color: #DAFFB6;
overflow: auto;"
title="this text can be pasted into an Automator 'Run AppleScript' action">
on run {input, parameters} -- wait for file copy to complete by testing the size of the containing folder
set theFolders to {} -- to handle items in different folders
set skippedItems to {}
repeat with anItem in the input -- get a list of unique folders
tell application "Finder"
get (container of anItem) as alias
if the result is not in theFolders then set the end of theFolders to the result
end tell
end repeat
repeat with aFolder in theFolders
set timeToWait to 30 -- time to wait for copy to complete
set interval to 2 -- test every interval seconds
set copied to false
tell application "Finder" to set currentSize to size of aFolder -- get initial size
repeat with timer from timeToWait to 1 by -interval -- check every interval seconds up to maximum time
delay interval
tell application "Finder" to set newSize to size of aFolder -- recheck size
if (newSize is equal to currentSize) then
set copied to true
exit repeat -- success
else -- update size
set currentSize to newSize
end if
end repeat
if not copied then set the end of skippedItems to quoted form of (aFolder as text) -- timed out
end repeat
showSkippedAlert for skippedItems
return input
end run
to showSkippedAlert for skippedItems
show an alert dialog for any items skipped, with the option to cancel the rest of the workflow
parameters - skippedItems [list]: the items skipped
returns nothing
if skippedItems is not {} then
set {alertText, theCount} to {"Error with waiting for items to copy", count skippedItems}
if theCount is greater than 1 then
set theMessage to (theCount as text) & space & " folders timed out"
else
set theMessage to "1 folder timed out"
end if
set theMessage to theMessage & " - copy of contents may be incomplete:"
set {tempTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, return}
set {skippedItems, AppleScript's text item delimiters} to {skippedItems as text, tempTID}
if button returned of (display alert alertText message (theMessage & return & skippedItems) alternate button "Cancel" default button "OK") is "Cancel" then error number -128
end if
return
end showSkippedAlert
</pre>
The action will check the folder sizes, and when there is no change (or the wait times out) the input items are passed on.

Similar Messages

  • IMac: I try to save a file and get 'the action "Copy Finder Items" encountered an error.  Check the action's properties and try running the workflow again.'

    I keep on running into this when I try to save a download file. Any help would be appreciated.
    'The action "Copy Finder Items" encountered an error.  Check the action's properties and try running the workflow again.'
    I tried clicking the button to change the save but that has no effect.

    Hi All,
    I am having same issue too.  Can anyone you advise?  Thank you.

  • Folder action to find and replace text and change line feeds

    I want to use a folder action to find and replace text and change Mac carriage returns to DOS line feeds inside text files.
    The text to be replaced is: "/Users/wim/Music/iTunes/iTunes Music/Music" (without the quotes)
    This text has to be removed (i.e. replaced by an empty string)
    The text occurs many times within each file.
    The files are playlists exported from iTunes in the M3U format (which are text files). They contain Mac carriage returns. These need to be changed to DOS line feeds.
    I have found the following two perl commands to achieve this:
    To find and replace text: perl -pi -w -e 's/THIS/THAT/g;' *.txt
    To change carriage returns to line feeds: perl -i -pe 's/\015/\015\012/g' mac-file
    I know that it's possible to make a folder action with Automator that executes a shell script.
    What I want to do is drop the exported playlists in M3U format in a folder so that the folder action will remove the right text and change the carriage returns.
    My questions are:
    Is it possible to make a folder action that executes command line commands instead of shell scripts?
    What is the correct syntax for the two commands when used in a folder action shell script? Especially, how do I escape the slashes (/) in the string to be removed?
    Thanks for your help

    Ok, I've include an applescript to run a shell command. The applesript command quoted form makes a string that will end up as a single string on the bash command line.  Depending on what you want to do, you may need multiple string on the bash command lines.  I've included some information on folder actions.
    It is easier to diagnose problems with debug information. I suggest adding log statements to your script to see what is going on.  Here is an example.
        Author: rccharles
        For testing, run in the Script Editor.
          1) Click on the Event Log tab to see the output from the log statement
          2) Click on Run
        For running shell commands see:
        http://developer.apple.com/mac/library/technotes/tn2002/tn2065.html
    on run
        -- Write a message into the event log.
        log "  --- Starting on " & ((current date) as string) & " --- "
        --  debug lines
        set desktopPath to (path to desktop) as string
        log "desktopPath = " & desktopPath
        set unixDesktopPath to POSIX path of desktopPath
        log "unixDesktopPath = " & unixDesktopPath
        set quotedUnixDesktopPath to quoted form of unixDesktopPath
        log "quoted form is " & quotedUnixDesktopPath
        try
            set fromUnix to do shell script "ls -l  " & quotedUnixDesktopPath
            display dialog "ls -l of " & quotedUnixDesktopPath & return & fromUnix
        on error errMsg
            log "ls -l error..." & errMsg
        end try
    end run
    How to set up a folder action.
    1) right click on folder. click on Enable folder actions
    2) Place script in
    /Library/Scripts/Folder Actions Scripts
    3) right click on folder. click on attach folder action
    pick your script.
    Create a new folder on the desktop & try.
    You can put multiple folder actions on a folder. There are other ways of doing this.
    Here is my test script:
    on adding folder items to this_folder after receiving dropped_items
        repeat with dropped_item_ref in dropped_items
           display dialog "dropped files is " & dropped_item_ref & " on folder " & this_folder
        end repeat
    end adding folder items to
    How to  make the text into an AppleScript program.
    Start the AppleScript Editor
    /Applications/AppleScript/Script Editor.app
    In Snow Leopard it's at: /Applications/Utilities/AppleScript Editor
    Copy the script text to the Applescript editor.
    Note: The ¬ is typed as option+return.  ption+return is the Applescript line continuation characters.
    You may need to retype these characters.
    Save the text to a file as an script and do not check any of the boxes below.

  • Automator (move finder items)

    I have a service that moves finder items to a particular folder. Since I started using this I noticed I occasionally will need to move an item with the same name into this folder. Is there a way I can get the service to move the second item with the same name, but instead of overwriting the first item, have it add a -1 or something? If I open something like a zip file multiple times in finder, it creates the second one with a 1 after the name. That's exactly what I need. Any way to do that with a service like this?

    No, I didn't give up on the thread, I just went to work with what you gave me to see what I could do with it. It's just that you've been nothing but extremely helpful and patient with me in the past; and I started to feel like I was coming to the board, putting up my problems, and you do everything for me. I know you're here to contribute to the community, but I don't like to take advantage. I am making an effort to learn this stuff now, I just have to make baby steps!
    Okay, here is the deal with this item. I actually want to apply this with more than one operation, but the basic script or concept would remain pretty much the same. We create lots of documents like invoices, receipts, shipping labels, etc., that usually get saved as pdf onto the desktop. Then, they are named, often with the date and particular file name and finally moved into the proper folders. For example, shipping labels get saved to desktop with the default name of something like
    vty3RlsIK.LabelGenerationServlet.part
    Then I would change the name to something like
    12-31-2009USPSLabel.pdf
    Then, I would move it to the folder where we keep the shipping labels for records.
    So, the service I created actually does more than just moving the file. It goes like this:
    service receives selected pdf
    in finder
    name single item in finder item names (to: USPS_Label.pdf)
    add date or time to finder item names (before name, underscore separator)
    move finder items (to target folder)
    open finder item (with default application)
    The other ones I need would be similar, except they don't usually need to be opened afterward, just named and moved, for the most part. I figured I could continue to just use the name change function of automator before running the script, but if would run faster or more efficiently if that were also part of the script, I suppose that would be better. And I would like to be able to have the numbers go up through as many as I need. If it's a matter of just adding in all the possibilities of existing names up to the number I need, that's tedious work I don't mind doing now to save on having to name all these files in the future!
    Also, these files are always named differently, so the source file would need to just be selected file, not the actual name.
    Finally, I tried to play with the script to name the desktop like you said, but would it be something like
    set source_folder to folder (path to desktop)
    or
    set source_folder to (path to desktop)
    I still need to learn a little more before I understand the way that works. I am so used to only using the unix path, I like the ability to use (path to desktop) that's really interesting.
    I think I may have rambled a bit, but that should explain the details of what I'm trying to accomplish.
    thanks

  • Script Help: Folder Actions - Move files

    Hi,
    So, I'm having some trouble writing a script for a folder action. I basically want the folder to check the file extension of the files that I add to the folder, and if they are music files (mp3, m4a, m4p), to move those files to a different folder. Additionally, is it possible to also move entire folders containing music files to a different folder, instead of just single files?
    Thank you for any help.

    What is your script doing now (note that a name extension does not include the period delimiter)? You can move entire folders, but your folder action script would only pass the items added to the attached folder, not any folder contents. Your folder action script would need to look into any passed folders if you wanted to move them based on their contents.

  • Folder action contextual menu item in Finder

    hi,
    I remember that when I first got my mac, the contextual menu in Finder would also include an item related to Folder Actions (don't remember the exact wording now). However, at some point of time, when I didn't find folder actions to be really useful to me, I think I must have made some change somewhere, and now the said item doesn't appear in the contextual menu anymore.
    Though I do run Folder Action Setup.app and have set up actions for some specific folders, I would rather want this contextual menu item back, so that I can directly enable Folder Actions in/for a folder w/o having to invoke the setup.app.
    Hope someone can help out.

    If the 'FolderActionsMenu.plugin' is not in the /System/Library/Contextual Menu Items folder you can download a copy here.
    <http://tomx.890m.com/FolderActionsMenu.dmg>
    If that's the case, after you install the plugin Repair Disk Permissions with your Disk Utility and Restart.
    Good luck,
    Tom

  • "Find Finder Items" returns same file twice

    Hey y'all,
    I'm trying to jerry-rig a photobooth for my wedding. I'm using automator to grab 3 stills from a webcam, and place them all in a folder. When I use "Find Finder Items" to send these images to an action that will rotate them, it finds one of the images twice. That is, the results for "Find Finder Items - where: path whose: name contains 'snap' " will return pictures/path/snap3.tiff, pictures/path/snap1.tiff, pictures/path/snap2.tiff, pictures/path/snap3.tiff. This means that when I send these results to my Rotate 90 Degrees action, Snap3 is rotated 180, and when I send them all into a PDF, I get snap3 twice.
    This also happens when I "Find Finder Items" and just look for all the .tiff files in /path, and when use "Get Folder Contents" on /path.
    Background: Running 10.5.8 Leopard on a PPC Mac mini. Fairly new to the world of Mac, so I may be missing something obvious.
    I've been searching for answers for a day or two now, and haven't come across this sort of issue; I apologize if this is old hat, but I really have made a goodfaith attempt to search these and other forums.
    Any help would be greatly appreciated.
    Edited to add: The folder only contains the 3 .tiff files, and the PDF I'm trying to dump them into. I thought maybe I was somehow creating a 4th identical file, but it's not the case.

    Hello & a warm welcome!
    no idea what is happening, other than Apple Software is usually the worst to accomplish thing the way YOU want to.
    GraphicConverter has a powerful Browse Folder function, & many tools for manipulation, & you can keep your Pics wherever you want...
    http://www.lemkesoft.com/

  • Find item in zip file without extracting

    Hi Guys!
    Weird question today!
    I'm looking for files like sin*.dat into a specific file-server folder that may contain subfolders and zip/7z folders.
    With powershell i'm not able to find this files into zip/7z folders and i can't unzip those folders for many reasons.
    Is there a way to find those files without unzip the folders?
    Thanks
    A

    Hi!
    Not Sure, i've got PS4 and update .Net with Windows update to 4.5.1 but it seems that PS don't recognise([System.IO.Compression.ZipFile].
    Using  this script http://blogs.technet.com/b/heyscriptingguy/archive/2013/11/02/powertip-find-if-computer-has-net-framework-4-5.aspx the
    result is true.
    What can i do?

  • The action "filter finder items" encountered an error

    I am trying to run an AutoMator script and keep getting this error.   I've read some links on this site, one of which said to open up Spotlight and make sure the file I am trying to open exists.  It does Not.  This is an .indd file (Acrobat Indesign).  It is not in the Spotlight list of apps.  How do I add it?   

    After some more troubleshooting, I figured my problem statement is incorrect. Here is what seems to be the right one:
    I was using 2 filter expressions on the filter action: Extension is mp4 or extension = mkv. This always resulted on the error.
    But when I use only one expression (filer only one file extension) it works fine as long as there is only one file with that extension on the folder being analysed...
    For example, if have 2 mp4 files, I get the error...
    Any hints?
    Thanks.

  • Automator Filter Finder Items

    A very simple task, which I have attempted to figure out many times over the last few months; but my repeated attempts haven't been successful. This should be easy for someone to resolve…
    I would like to strip out all the files of a certain extension (.txt) from an hierarchy of nested folders, & move them to the Trash. (Told you it was easy!)
    Here's what I think ought to work:
    • Create an Automator Workflow
    • 'Ask for Finder Items' to select the topmost folder
    • 'Get Folder Contents' with 'Repeat for each subfolder found' — (the results successfully include all the relevant files)
    • 'Filter Finder Items': "find files where any of the following are true: file extension is .txt" — (I tried "txt" as well as ".txt")
    • 'Move Finder Items to Trash'.
    The files turn up (alongside loads of other junk) in the 'Get Folder Contents' step, & they are reported in the results; but when I try to filter out everything apart from the .txt files, so that only the .txt files remain, the filter reports no results.
    So the 'Filter Finder Items' action completes with no results, & with a warning that: The action “Move Finder Items to Trash” was not supplied with the required data.
    I think it must be something obvious, but I can't figure it out, & although I've searched extensively online, everyone else with similar problems has other complications which get resolved… so they lose interest just at the point where I think they're going to reveal the solution.

    You need to understand the issues here. Automator was released with 10.4 (Tiger), and many of the core automator actions date from that time.  This introduces forward-compatability problems: things that should work (and maybe did work) in 10.4 might not work as specified in 10.6, depending on if/how the underlying cocoa APIs have changed.  Now, in the best of all possible worlds, Apple would update automator actions with each new upgrade, but it's probably not needed for the bulk of the actions, and Apple may not be aware of problems that do exist with given actions (that depends on whether people filed meaningful bug reports on them).
    Don't be confused by the seeming simplicity of what I did: the Move Finder Items to Trash action probably uses cocoa file system APIs directly, whereas my applescript leverages the developed programmatic underpinnings of the Finder - the Finder has a built-in system for moving files in bulk, whereas the action is obviously moving files one at a time (which is where things are getting congested).
    Filter Finder Items seems to be a simple metadata search (just another use of the spotlight framework, which hasn't changed much since its inception) so I can't see any way in which it would fail.  it is, of course, limited by the same things that spotlight is limited by - it won't find material that's not indexed and may not do exactly what one always expects (e.g., may not recognize an extension as an extension unless the extension belongs to an app registered with the system) but other than that there's very little it can do wrong.  As a general rule, actions that deal only with manipulating automator data (e.g. modifying references passed from one action to the next) won't break.  You'll only see breakage with actions that need to access exterior frameworks that have changed significantly since the actions were created. 
    That's the best answer you're going to get: one can't prove a negative, so there's no way to demonstrate that FFI isn't broken.  it's easy enough to check for a given task, though - just run the workflow you have on a test folder without the deleting action, check the results window, and compare it to the results you expect (which you can gather by eye in a Finder search window, through an applescript, through an app that will report the number of files of given types in a folder…). 

  • Folder Actions script no longer runs on new file creation

    Hope this isn't trivial.......first time posting here...hopefully in the right place.I'm not a total Mac OS X newbie...and surely no techie, either. Dabbled a wee bit with Automator and scratchin' my head on this one. Help, please!
    Any idea why folder actions not running when a new file is saved? A simple add-color-label script created in Automator was workin' fine before I did a Snow Leopard-to-Leopard downgrade clean-install & account migration from external HD (TimeMachine) backup. Folder actions are enabled and script runs only if I start it with Automator Runner. Previously, it would label the file as soon as I saved it....now it needs a manual start. Is this default behavior in Leopard? Or am I missing something or doin' something wrong? Or is this a consequence of downgrade? I was sure I had the same script workin ok in my original Leopard install - though possibly un-modified at that time.
    I have no clue why, but the new version I created recently (cpl wks ago?)worked the first time I added a new file but not thereafter...and in that instance it only labelled the file in Finder upon quitting Preview (file is a Grab saved as pdf).
    The reason for the downgrade was compatibility problems with Photoshop CS4 on SL (OS & app all updated yet crashin' at the drop of a hat) - maybe due to lack of RAM? (only 1GB). Saw quite a few posts regarding SL running CS4 problems, so now I'm back to running 10.5.8 ..again.. and PS actually runs smooth like it did before.
    Maybe these console messages are a help......or am I barkin' up the wrong tree?
    6/11/11 7:44:54 PM /System/Library/CoreServices/Folder Actions Dispatcher.app/Contents/MacOS/Folder Actions Dispatcher[91] CPSGetProcessInfo(): This call is deprecated and should not be called anymore.
    6/11/11 7:44:54 PM /System/Library/CoreServices/Folder Actions Dispatcher.app/Contents/MacOS/Folder Actions Dispatcher[91] CPSPBGetProcessInfo(): This call is deprecated and should not be called anymore.
    6/11/11 7:44:54 PM /System/Library/CoreServices/AppleScript Runner.app/Contents/MacOS/AppleScript Runner[264] CPSGetFrontProcess(): This call is deprecated and should not be called anymore. 
    6/11/11 8:19:12 PM Automator Runner[415] Error while processing arguments
    6/11/11 8:20:31 PM /Applications/AppleScript/Folder Actions Setup.app/Contents/MacOS/Folder Actions Setup[420] CPSGetProcessInfo(): This call is deprecated and should not be called anymore.
    6/11/11 8:20:31 PM /Applications/AppleScript/Folder Actions Setup.app/Contents/MacOS/Folder Actions Setup[420] CPSPBGetProcessInfo(): This call is deprecated and should not be called anymore.
    6/11/11 8:20:32 PM [0x0-0x5b05b].com.apple.systemevents[421] com.apple.FolderActions.enabled: Already loaded
    And for that matter....why does Automator throw these messages? All apps (except iWork '08 apps) and OS are up to date.
        - Just a few of the many actions not loaded:
    6/11/11 7:48:25 PM Automator[294] The action “Start iTunes Visuals” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 7:48:25 PM Automator[294] The action “Stop iTunes Visuals” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 7:48:25 PM Automator[294] The action “Update iPod” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 7:56:33 PM Automator[294] name = name was not found
    6/11/11 7:56:33 PM Automator[294] name = name extension was not found
    6/11/11 7:56:33 PM Automator[294] name = file type was not found
    6/11/11 8:00:29 PM Automator Runner[339] Error while processing arguments
    6/11/11 8:00:30 PM Automator Runner[339] The action “Import Files into iTunes” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 8:00:30 PM Automator Runner[339] The action “Add Songs to iPod” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 8:00:30 PM Automator Runner[339] The action “Add Songs to Playlist” could not be loaded because the application “iTunes” is the wrong version.
    6/11/11 8:00:30 PM Automator Runner[339] The action “Apply SQL” could not be loaded because the application “Xcode” was not found.
    Do I need to wipe the drive again and re-install everything?
    Any help is greatly appreciated. Apologies if this seems long-winded.

    Folder Actions are set up a bit differently in Leopard (they use an AppleScript wrapper), and several actions have been updated to use new technologies available in Snow Leopard.  Looking at some of your console logs, it looks like some actions or workflows were just copied over from Snow Leopard.  When changing versions like that, you should rebuild the workflows so that they link to the correct actions, and check added actions for any dependencies (an action won't be loaded if it requires resources that are not available).
    Resaving your Folder Action workflow as a Folder Action Plug-in should do the trick.

  • Putting Variables in Action "Find Finder Items"

    Hello! I'm using Automator to make a workflow. One of my action in my workflow is to find finder items. I'd like to tell Automator to find items that start with a specific string of text (the text is "016") stored in a variable. Since Automator does not allow me to insert a variable directly, I tried to add the variable by adding the variable's UUID. I followed the method outlined in this website:
    http://hints.macworld.com/article.php?story=20080213200213250
    But even after I put my variable's UUID as "$(9051E0AA-257F-4F00-9A58-50677FB0C07E)", it seems that Automator does not understand, as the results of the action "Find Finder Items" returned no files at all. I tried to store my string as "Storage" and "Text" and used the same method, but it still didn't work. Thank you very much!

    I'm not sure what the action is using to search, but a name extension does not include the period. Another approach would be to get the entire contents of the memory card, and filter the items from there.

  • Creating a simple Folder Action

    Hello, I am trying to make a simple folder action.
    Well first off I have all my applications stored in the "application" folder (Mac MD>Applications) and I have aliases to all the apps stored in a separate application folder in which I have arranged the apps by type. One folder I have is called "new apps" (Mac HD>Users>Me>Applications>New Apps) it contains obviously new applications I have downloaded and have yet to try out.
    *What I want to do is whenever I drag a new application to the new apps folder I want it to 1) make an alias of that application and then 2) move the application to my actual "applications" folder.
    I went to automator and selected "New Aliases" and selected the new apps folder for its location to be made, and then followed it by "Move Finder Item" and selected my applications folder. I then saved it as a folder action attached to my new apps folder... It doesn't work. Yes folder actions are enabled. Is there something else I need to do for the folder action to actually pass the new files added into the folder into the script? thank you much
    Sean

    Spotlight can search for a color label but you must make that an active search criterion. Open a new Smart Folder in the Finder. Click on the + button to the right of the Save button. From the drop down menu that displays "Kind" select Other. Scroll down the list until you find the "File label" entry and then check the box to the right of the item. Click Close button. Now you should see the drop down menu has the "File label" selection followed by the color options. Select the "Green" color.
    Now, Spotlight will find files with a green label, but it may not display folders with the green label. I've not tested that. If it does not locate folders with a green label, then you will need to set the color of the files in the green labeled folders to the green label.

  • 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.

  • Filter finder Items... broken? (also request to help streamline script)

    Let me begin by saying that I've done the SAME THING for a long time with this Automator script, and it's worked flawlessly. I recently added some now automator actions (and later deleted them) thinking they were the culprit of why my "filter finder items" was showing no results, but I'm not sure at all at this point.
    Here's the script (that has been working fine until at least the 7th):
    It's long, so bear with me (I use this script to install custom Sims2 content when I download it:
    ("Get Specified Folder" uses the "Get specified finder items" action, I just didn't want to type that every time).
    New Folder: Recent (in my downloads folder)
    Get Specified Folder: my downloads folder
    Get folder contents (repeat for each subfolder found)
    Filter finder items (name contains .package)
    Copy Finder items (to Recent)
    Get Specified Folder: my downloads folder
    Get folder contents (repeat for each subfolder found)
    Filter finder items (name contains Sims2Pack)
    Move finder itmes (to my core download folder (they're generally in subfolders after downloading, as are the .package files)
    Get Specified Folder: my downloads folder
    Get folder contents (repeat for each subfolder found)
    Filter finder items (name contains Sims2Pack)
    Copy finder items (to Recent)
    Get Specified Folder: Recent
    Create Archive (on desktop named Sims2)
    Rename (add date to end of file name)
    Rename (add time to end of file name)
    Get Specified Folder: Recent
    Move to trash
    Get Specified Folder: my downloads folder
    Get folder contents (repeat for each subfolder found)
    Filter finder items (name contains .package)
    Move finder items (to Sims2 Downloads folder, which installs the custom content, replacing any repeats)
    Get Specified Folder: my downloads folder
    Get folder contents
    Filter finder items (name contains Sims2Pack)
    Move Finder items (Sims 2 Packs folder within the downloads folder... these items must be installed into the game by double-clicking on them.)
    Get Specified folder: Desktop
    Get folder contents
    Filter finder items (name contains Sims2)
    Move Finder items (To Backup)
    Get Specified Folder: my downloads folder
    Get folder contents (repeat for each subfolder found)
    Filter finder items (name contains MTS (most of the containing download folders (after they've been expanded by another automator script, have this at the beginning of the folder name due to where I commonly download my custom content)
    Move to trash
    And that concludes the script. I know it could probably be streamlined (another reason I'm posting the whole thing) but it worked until very recently, and I don't know what could cause it to no longer report results after filtering within the subfolders while within the main folder works fine.
    To clarify, it's recently been simply deleting the MTS folders and creating a "Recent" folder and archiving it but it's empty. So the script is not filtering for the Sims2Pack data nor the .package data as it used to.
    I haven't modified the script, and I've deleted all actions that I downloaded recently (backed them up in case they're not the culprit). Also ran disk permission repair but nothing was repaired in regards to Automator.
    Thanks.
    iMac Intel   Mac OS X (10.4.7)  

    Here is an update to the script, however filter continue to not work as it once did.
    New Folder: Recent (in my downloads folder)
    Get Specified Folder: my downloads folder
    Get folder contents (repeat for each subfolder found)
    Filter finder items (name contains .package)
    Copy Finder items (to Recent)
    Get Specified Folder: my downloads folder
    Get folder contents (repeat for each subfolder found)
    Filter finder items (name contains Sims2Pack)
    Move finder itmes (to my core download folder (they're generally in subfolders after downloading, as are the .package files)
    Get Specified Folder: my downloads folder
    Get folder contents (repeat for each subfolder found)
    Filter finder items (name contains Sims2Pack)
    Copy finder items (to Recent)
    Get Specified Folder: Recent
    Create Archive (on in "to backup" named Sims2)
    Rename (add date to end of file name)
    Rename (add time to end of file name)
    Get Specified Folder: Recent
    Move to trash
    Get Specified Folder: my downloads folder
    Get folder contents (repeat for each subfolder found)
    Filter finder items (name contains .package)
    Move finder items (to Sims2 Downloads folder, which installs the custom content, replacing any repeats)
    Get Specified Folder: my downloads folder
    Get folder contents
    Filter finder items (name contains Sims2Pack)
    Move Finder items (Sims 2 Packs folder within the downloads folder... these items must be installed into the game by double-clicking on them.)
    Get Specified Folder: my downloads folder
    Get folder contents (repeat for each subfolder found)
    Filter finder items (name contains MTS (most of the containing download folders (after they've been expanded by another automator script, have this at the beginning of the folder name due to where I commonly download my custom content)
    Move to trash
    I removed the step where it was saving it to the desktop. If the filters ever work again, this should therefore go faster than before.

Maybe you are looking for

  • Adobe form is going to Spool directly want a print preview

    HI Experts, I have created a class where I am calling a standard Material document print form WOST_WSGM_MATDOC_PDF but it is directly going to spool. NOTE : I am calling this class method in one of my POWL Feeder class which is linked with standard G

  • How to attach table type value set to LOV of oaf page

    Hi everyone, There is a valueset created in the front end say xx_ap_valueset which is of table type and created on a table xx_ap_table having some where cluase and order by clause. Is there a way we can attach this value set to a LOV of oaf page? or

  • WTK vs. Omnia Font Sizes

    Hi everyone. I develop an application that is fairly simple but my first Canvas experience. I designed my simple canvas and tested it with NetBeans Emulator and Esmertec Jbed on my Toshiba G500, and it was running good. I was planning to release it.

  • Bluetooth not working with IOS 7 and apple tv Ver3

    I have a ver 3 Apple TV MD199X/A and an Iphone running IOS7. I saw recently that there is an option with IOS 7 to bluetooth sync with Apple TV. Neither my Iphone 4S or Apple TV is recognisiing each other in bluetooth mode. My iphone bluetooth is work

  • Linksys E1000 Cordless Pone Interference

    Router Stops working when cordless phone is used.  Once phone is not in use router starts to work.  How do I stop this interference?