Skip navigation
This discussion is archived

automator actions

4921 Views 15 Replies Latest reply: Oct 27, 2009 5:03 PM by K Shaffer RSS
1 2 Previous Next
Weißtitan Level 1 Level 1 (0 points)
Currently Being Moderated
Oct 25, 2009 9:06 PM
Hi everyone

I'm an automator newbe trying to create a workflow that will find image files on my desktop and move them to the trash. Simple enough right. I thought so too.

I have a folder on my desktop (named images). When ever i download images off the web or synch my camera, their default destination is the desktop. I manually sort them. The ones i need go into the folder and the other ones will go to the trash. The workflow I have created is supposed to move the images left on the desktop into the trash. It goes something like this

S1: Finder - Find Files
Where : Desktop
Kind: is Image
S2: Finder - Get Specified Finder Items
S3: Finder - Move Items to Trash

The problem is that this workflow will move the images that are stored in the images folder (located in the desktop) to the trash as well. I want it to move images that are only on the desktop, not on desktop folders.

Is there any automator action/parameter that will allow me to specify this limit. What can I do?

Thanks In Advance
iMac Intel, Mac OS X (10.4.11)
  • K Shaffer Level 6 Level 6 (8,565 points)
    Currently Being Moderated
    Oct 26, 2009 12:17 AM (in response to Weißtitan)
    Since the "Desktop" is a named location, you may have to
    have the automator put the discard images into another
    folder first and not use the word "Desktop" since it is like
    a folder. In fact, each user account has a Desktop folder.

    So, you need to add some steps and not use Desktop name
    in the process if you do not want to include anything in or
    on the full Desktop. Selective named folders would be the
    path to make for this to happen. A 'Discard Images' folder is
    is another name for a location in the Desktop (folder) of your
    user account, for example. Desktop is too vague, too inclusive.

    You could also put a set of folders on the hard drive itself,
    the root level, if you are the only user in the computer, and
    direct Automator to move sort save & trash, revolving them.

    Good luck & happy computing!
     iBookG4 1.33 12" 1.5GB RAM (10.4.11)  2-iMacG4 1.25 17" 1GB RAM (10.4.11),  iPod  2-AirPort Extreme M8799LL/A  1-AirPort Express M9470LL/A 
  • Andrew99 Level 4 Level 4 (1,300 points)
    Currently Being Moderated
    Oct 26, 2009 11:55 AM (in response to Weißtitan)
    Weißtitan wrote:
    I have a folder on my desktop (named images)...

    You might consider moving the Images folder to some other location on your hard drive and keep only an alias of it on your desktop. Add images you wish to save to the Images folder by dragging and dropping them into the Images folder alias on the desktop.

    Then try the following workflow:

    1) *Find Finder Items* -- Where: Desktop; Whose: Kind --> Is --> Image

    2) *Move to Trash*

    If all goes well, only those images left on the desktop will be trashed, while those added earlier to the original Images folder will remain unmoved. Good luck.
    iMac 1 GHz Flat Panel 15" PPC 768 MB RAM Imation SuperDisk, Mac OS X (10.4.11)
  • BDAqua Level 10 Level 10 (114,685 points)
    Currently Being Moderated
    Oct 26, 2009 9:23 PM (in response to Weißtitan)
    Just askin', so don't shoot!

    Are you aare that every file kept on/in the Desktop uses 2 to 3 times the resources of keeping the file elsewhere?
  • BDAqua Level 10 Level 10 (114,685 points)
    Currently Being Moderated
    Oct 26, 2009 10:54 PM (in response to Weißtitan)
    Any file on the Desktop, (ie. in the Desktop folder, uses Quartz, Transparencies, etc., and consumes more CPU, more RAM, more VRAM... on top of the normal requirements!

    The less files you keep on the Desktop, the Faster/Bigger your Mac will be!

    Some that are unaware, copy a thousand files or so to the Desktop Folder & render their Mac unusable, might take weeks for it to boot to a painfully slow/unresponsive Desktop after that!!!
  • K Shaffer Level 6 Level 6 (8,565 points)
    Currently Being Moderated
    Oct 26, 2009 11:48 PM (in response to Weißtitan)
    As an identified User, your account would already be focused on putting your saved content to
    the Documents/images folder in your account. The Desktop is just another folder in your account.
    An alias in one folder to re-direct content flow to another, is also something that Automator can
    deal with, if you tell it to do so; instead of finding surprise in having everything in a ballpark end
    up in the county library, one has to tell Automator to use certain containers and routes.

    I've used aliases to folders on the desktop since OS7.x days, but at least in OS 9.2.2 & before
    the actual Desktop (finder) was a full application that managed the System. Not so in OS X.

    You should be able to have Automator sort images without the desktop, except for the human
    element, ie: where you probably want to see what each one is and where it may be going.

    Depending on how you use your account in OS X, the paths available to you in Automator
    and how (in general) your items get saved and found, will vary. I try to not use the Document
    folder in my User account, instead I make folders and direct items manually. However, this
    is counter-intuitive for the OS X file management and so there would be an easier way if I
    were to automate any processes on my agenda.

    For computers with more than one active user and created content authorship being assigned
    to user accounts and privileges, the need to use the user's account to facilitate automated
    processes should make for a more direct flow of items to locations within each account. Shared
    items have a different permission or privilege level, for example; but that does not matter so
    much if only one user is also the Admin for the system and he/she has only one or two accounts.

    There is a missing level of understanding, it appears, in this path; and since I do not use the
    user account to the fullest extent, I am not one to point out a more efficient way to do the
    task(s) you are doing in your system. But to discover and use the integrated path to make the
    best use of how the system is supposed to work, may be a faster overall method of automation.
    (My previous use of OS 9.2.2 and before, with full manual control and admin access universally,
    hinders my open-mindedness about how much OS X could do for me.)

    In my computer, since my other user account is also controlled by me, I have folders of items,
    such as images from two digital cameras; I can access this content from both accounts even
    though the secondary account may not have privilege to change an image. I could duplicate
    it and then act on it in the second account; but not have equal access to the original unless I
    were logged-in as the first user. And in my case, I manually move images from my cameras
    to specific folders, where new by-date created images are stored, reviewed, edited & trashed.
    {Not using iPhoto to do this, I have no issues with the source content being mixed up.}

    These same kinds of things can also affect how you use your Mac even if you do not think that
    way about account use and traffic through Automator; but you can work outside of the user
    account limitations when you are the Admin, yet some workflow aspects may suffer as a result.

    Good luck & happy computing!
     iBookG4 1.33 12" 1.5GB RAM (10.4.11)  2-iMacG4 1.25 17" 1GB RAM (10.4.11),  iPod  2-AirPort Extreme M8799LL/A  1-AirPort Express M9470LL/A 
  • BDAqua Level 10 Level 10 (114,685 points)
    Currently Being Moderated
    Oct 26, 2009 11:56 PM (in response to Weißtitan)
    10GB... I do think so, but OSX likes lots of RAM, lots of Free space on the HD, but Dashboard, Spotlight, Bonjour & a few other things all conspire to drag OSX down to performance less than 32 MHz CPUs!

    Well, a Folder on the Desktop only consumes one unit of waste so to speak, not the things in it until you open it, yet it's best to do like SJ, just use 5 Apple Apps & only keep the "Where's the Corporate Jet now" Folder/APP on the Desktop!

    LOL, running a Browser, Text Edit, Console & not much else on 10.5.5 uses 70.16 GB of VM!?
  • BDAqua Level 10 Level 10 (114,685 points)
    Currently Being Moderated
    Oct 27, 2009 1:28 AM (in response to Weißtitan)
    wait 70GB (thats gigabites). That's Insane!!!... I don't even think I have 70GB left in my hard disk.

    Don't worry, it just is telling you that if it really had it druthers...

    LOL... insane... I don't think you want to know about 10.6.x/64 bit goodness then!

    So in short, move things away from the desktop to avoid over using resources. Sigh, hard work indeed.

    Naw, it's easy, just Thimk Different, this isn't an OS you can do what you want to with anymore.

    PS. I'm simply amazed at how much faster Dial-up is with a Quad/G5/2.5GHz/10GB RAM is over a Dual/G4/1.42/2GB RAM booting from the exact same 500 GB HD is... well it doesn't match a G3/266Mhz Beige with 256MB RAM running OS9, but such is the cost of "progress'!
1 2 Previous Next


More Like This

  • Retrieving data ...

Bookmarked By (0)


  • This solved my question - 10 points
  • This helped me - 5 points
This site contains user submitted content, comments and opinions and is for informational purposes only. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.