Issue with folder action created with automator

Hello all,
I'm having an issue with folder actions that i created with automator and it's driving me crazy. Apple says they can't help with things created by the user so this is my only shot at figuring this out.
Running a Mini 2.3G quad i7, 8GB ram on OSX Mavericks 10.9.2
My goal is to set up an action to add text to the filename of a file placed into a particular folder. So I open automator and choose folder action. Then I choose the folder I want the action applied to at the top. Then I go to Files and Folders in the library and choose rename finder items and drag it over to the workflow. I select add text, then add the text I want added to the file name and choose before name because I want the added text to preceede the original filename text. I save it then go to the folder I applied it to and right clikc go to services then folder actions and verify that the service is attached to that particular folder and it is.
Should work right? No. When I place a file in that folder the action runs and adds the text like I want it to... but then it starts to add it over and over again in an infinite loop. It also adds a file with the extension .ds_store to the folder that also has the name added over and over.
I've tried deleteing all the folder actions and even deleteing all the folder actions themselves saved by the automator in the workflow file in the user library.
I'm stumped... no idea what to do. A while ago I had used the automator to batch rename files and it worked perfectly. I tried the same steps i listed above to set this action up on a machine in an Apple retail store and it worked... so I know I have the set up right.
Any help is greatly appreciated.
Thanks,
Justin

Hi JK257
This is why it happens:
The folder action is looking for new items in the folder. You drop in a file called "File1". So it renames it "sometext File1". Then it sees this new file called "sometext File1" and thinks "Hey, this is a new file - I'll call it 'sometext sometext File1' because I have to rename every new file." Then it sees this new file called "sometext sometext File1" and thinks...
You get the picture.
(the .ds_store is a normally hidden database file which is getting revealed by the same process.)
The solution is to move the files out of the renamer folder into a receiving folder after they have been renamed:
Hope this helps,
H

Similar Messages

  • Managing and distributing Folders with folder actions to a group of users?

    I want to set up a server for a camera club on a SnowLeo Server running on a MacMini. We want to collect images every month from users who want to participate in a club competition and are looking into the FileSharing service on the server to collect the images.
    My initial idea was to find a way of letting the Administrator automatically create folders with folder actions in every users home folder (i.e. "2010-April-Portraits"). After the user had uploaded images into it, the folder action would then rename, reformat and transport images into a central location to be processed further.
    Is this a good way of collecting data, and if yes - how do I let the Admin create and distribute these folders with the appropriate actions?
    Best regards,
    Kjell Are Refsvik
    Norway

    Hi,
    I want to purchase a Macmini with SL Server and create a photo competition solution for a camera club. The solution needs to be able to accept uploaded images and the solution needs to let the user associate a set of images to a competition and from there the solution needs to make sure that the filename, format, size and embedded metadata is correct before storing and processing them further. Friends I have talked to say I need a classic CMS solution so I may need to investigate instead of my planned AppleScript/Automator solution.
    Also - thank you for offering to develop, but I had kinda planned to do this myself to build some knowledge and also get to know the server better.
    Anyone else using the SnowLeo server for a solution like this?
    Kjell Are Refsvik
    Norway

  • Help with folder actions

    Automator is still a little confusing to me, I have virtually no experience, but wish to have automated emails sent when the contents of certain folders in my idisk/public folder are updated.
    First thing that confuses me is I thought automator worked with folder actions, it doesn't seem to for me and am left running an applescript to detect the changes and tell automator to send the email. This seems rather long winded and not what I'd expected.
    Second thing I can get what I've done to send emails when items are added to the folder, but not when they are modified/updated which is what I wanted. This is due to my lack of experience with scripting so any help would be appreciated.
    What I've got so far is
    '....on adding folder items to this_folder after receiving added_items
    try
    tell application "Automator".....'
    how do I change this to do what I want ?

    Winston,
    You need to save the Automator workflow as a folder action plug-in with it attached to the folder of interest. You start this process by selecting the "Save as Plug-in..." command under the File menu. You will then have to enter the name you want to use for the plug-in and select the "folder action" from the "Plug in for:" drop-down menu. An "Attached to Folder:" drop-down menu will appear and you can select one of those presented or navigate to something else by selecting the "Other..." choice (which you will have to do to get to your idisk/public folder).
    Once this is done then every time something is added or modified within the watched folder the Automator workflow will be triggered and run. In your case, because the folder is on iDisk, it will only be triggered when you are logged into your iDisk account.

  • I would like to be able to accept credit cards on my website; can I do that with a website created with iWeb?

    I would like to be able to accept credit cards on my website; can I do that with a website created with iWeb?

    Here's some info about PayPal...
    http://www.iwebformusicians.com/Internet-Music-Sell-Distribute/PayPal.html
    You can also hook up with one of their preferred partners for various delivery options...
    http://www.iwebformusicians.com/Internet-Music-Sell-Distribute/Shopping-Cart.htm l

  • Trial version problem with the wrie Create with the trial version

    help me
    trial version problem with the write Create with the trial version
    i wanna delete the Create with the trail version

    Publication on businCata I am sorry I do not understand your inquiry.  Can you please restate your question?  What Adobe software or service is your inquiry in relation too?

  • Name of Proxies created with SE80 against created with SPROXY

    Hi All!
    I have a simple doubt.
    Exist any difference in the name of Poxies created with SPROXY against created with Object Navigator (SE80)?
    For example, the proxies created with SPROXY could be called "XI Proxy" and the Proxies created with Object Navigator could be called "WS Proxy".
    Helpful answers will be rewarded.
    Thanks and regards,
    Manuel.

    i am not sure of a standard way but when you try to create a proxy you are requested to enter the prefix for the proxy, you can use a different ones for the ones created from sproxy and differnt ones for the ones created from se80
    Raja

  • Folder Action Problems with Leopard 10.5.8

    My company recently upgraded from 10.4.11 to 10.5.8 and our folder actions have been stopping mid-process or not working at all. Sometimes a few files will process and then everything stops completely.
    Our workflow involves the use of several different hot folders that use folder actions (converting InDesign CS4 documents to various quality of PDFs). All of the actions are single stream, meaning each folder does the action it's assigned and the original file is trashed and the new file remains in the folder. There are no subsequent folder actions that pull from the newly processed files. We also only run one folder action (with several files dropped in it) at a time.
    I have also tried running a pre-made generic folder action script from Apple and it, too will stop mid-process, process a few files then stop, or not work at all.
    Does anyone know what might be causing this problem with either the new Applescript or Folder Actions with Leopard 10.5.8?

    I have several scripts that all work different ways. One script I have opens the InDesign document, exports a PDF to a different folder located elsewhere on the hard drive (where a different script searches for PDFs). After this the original document is sent to the trash. Nothing new is created in the original Folder Action Scripted folder.
    What's more, even Apple's stock Folder Actions don't work properly and stop mid-process. I've seen vague reports of 10.5.8 having issues with Applescript or Leopard in general. The fact this script works perfectly in 10.4.11 makes me think that something has changed with the way Leopard handles the FA's.

  • Copying modified files with Folder Actions

    Hi,
    I'm not sure if this is the right place to ask this so please tell me if it isn't!
    I need to set a folder action where any time a file within a specified folder is modified, I want it to be duplicated to another folder elsewhere on the computer. Does anybody know how I would go about this bearing in mind that I know nothing about applescript?
    Many thanks,
    Paul.

    You may be able to set up a watched folder with some shell scripting, but there isn't a folder action for when a file is modified. The available folder actions are:
    adding folder items to - invoked after items are added to its associated folder
    closing folder window for - invoked after a folder’s associated window is closed
    opening folder - invoked when its associated folder is opened in a window
    removing folder items from - invoked after items have been removed from its associated folder

  • PrE 12.  How to deal with black screen "Created with Adobe Premiere Elements trial version"?

    I'm really considering purchasing PrE 12 and would like to try it out.  (I have another video editing software and would like to try this one.)
    When I add video, I get a black screen "Created with Adobe Premiere Elements trial version".  When I hit play, I can hear audio, but I don't get any video (just the black screen).  Is there a work around, a setting that I can change, or is the trial version supposed to show the black screen? 
    Thanks,

    To help with troubleshooting, some questions so people have more to work with
    More information needed for someone to help... please click below and provide the requested information
    -Premiere Elements FAQ http://forums.adobe.com/thread/1042180
    And, exactly what are you editing?
    Codec & Format information, with 2 links inside to read
    -read both links in reply #1 http://forums.adobe.com/thread/1270588
    Report back with the codec details of your file, use the programs below... A screen shot works well to SHOW people what you are doing
    http://forums.adobe.com/thread/592070?tstart=30
    For PC http://mediainfo.sourceforge.net/en or http://www.headbands.com/gspot/
    For Mac http://mediainspector.massanti.com/

  • Trace() not working with embedded SWFs created with Flash Builder

    I have just migrated to Flash Builder 4.5 with the 4.5.1 SDK.
    I have an application that loads a lot of child SWFs into it - some of which are created with Flash, some are created with Flash Builder.
    I am noticing now that my trace() statements that are called from within SWFs produced with Flash Builder that are loading as child SWFs into my main SWF are NOT appearing.  However, trace() statements called from within SWFs produced with Flash that are loading as child SWFs into my main SWF ARE appearing.
    This is an extremely major problem and has short-circuited my debugging/development.
    Any recommendations, workarounds, or suggestions?

    If the child SWFs were created by performing an "Export Release Build", then trace() statements would be omitted.
    You can control this by setting the -omit-trace-statements compiler argument (in Project properties -> Flex Compiler -> Additional Compiler Arguments).
    -Anirudh

  • Send mail with folder actions

    Hee there genius
    sorry to bother you again.
    The next step i am making is trying to send a document that is added to a folder with mail.
    I have made a script.
    Sometimes it works sometimes it doesn't (??).
    Any ideas on what i am doing wrong ( i am not sure about making an attachment with the added item)
    Thanks and cheers
    on adding folder items to this_folder after receiving added_items
    set the item_path to the quoted form of the POSIX path of item 1 of added_items
    tell application "Mail"
    -- Properties can be specified in a record when creating the message or
    -- afterwards by setting individual property values.
    set theSubject to "testen van mail"
    set theBody to "filmpje"
    set newMessage to make new outgoing message with properties {subject:theSubject, content:theBody & return & return}
    tell newMessage
    set visible to true
    make new to recipient at end of to recipients with properties {name:"name", address:"mailadress is put here", content:theBody}
    tell content
    make new attachment with properties {file name:item 1 of added_items as alias} at after the last paragraph
    end tell
    end tell
    activate
    tell application "System Events"
    click menu item "Send" of menu "Message" of menu bar item "Message" of menu bar 1 of application process "Mail" of application "System Events"
    end tell
    end tell
    end adding folder items to
    Message was edited by: jitse

    but just stopped...my app receives email via a mail rule, processes it via osascript, then sends a reply...this worked until 12mar:
    tell application "Mail"
    tell (make new outgoing message with properties ¬
    {subject:"re: " & cmd, content:(resultMsg as string) & return})
    set sender to my dvrEmail
    make new to recipient at end of to recipients with properties {address:replyTo}
    send
    end tell
    end tell
    here's the sent msg:
    Subject: re: tvpi2DVR:send2sammy
    From: [email protected]
    Date: March 12, 2010 8:25:40 AM EST
    To: [email protected]
    [email protected] - tvpi2DVR:send2sammy
    /tmp/1003_12__08_2534-program.tvpi
    to
    /Volumes/DVR/recordings/ScheduleMar_17_2010__08_00_5-1PM.tvpi
    crontab updated
    but by 16mar, the recipient was no longer getting set, thus no send. everything else is fine..the unsent msg sits in drafts, showing all expected inputs but no recipient:
    Subject: re: tvpi2DVR:send2sammy
    From: [email protected]
    Date: March 16, 2010 11:48:02 AM EDT
    [email protected] - tvpi2DVR:send2sammy
    /tmp/1003_16__11_4718-program-2.tvpi
    to
    /Volumes/DVR/recordings/ScheduleMar_22_2010__09_00_5-1PM.tvpi
    crontab updated
    a simple standalone test script works, but the osascript invocation simply ignores the replyTo value, which is valid (and was output in the body of the msg)
    i don't recall when i applied the 10.6.3 update, but perhaps something changed with mail...any ideas?

  • Issue with Scheduling agreements created with reference to Contract

    We create scheduling agreements only with reference to contracts. A contract may have multiple Scheduling agreements linked to it. Now the problem is that when a scheduling agreement is being modified, it is creating a lock to all the other scheduling agreements which refers to the same contract. So till the time the user is out of change mode in Scheduling agreement, no other user is able to perform any transactions pertaining to other scheduling agreements (referring to the same Contract)
    Is there anyway that we can address this?? Please suggest.

    The record locks are needed to avoid data inconsistencies. If 2 users would be able to have the same document open in update mode, then how can you decide which entry will be used  for a table update? And what would you tell the other person? (Oh sorry, another user was quicker, please start all over again)
    In some high frequent transactions SAP has developed some options like late locks for good movements, but more often you have to take organization measures like educating the users, and maybe reducing the number of items in a document and creating more documents instead.
    If it is a real big headache then you have to talk to SAP, have to explain the situation, and hope that they either have already a solution or even realize that it is not needed to lock all and can create a solution per OSS note.

  • Issue in Shoppping cart created with SRM function modules

    Hi SRM experts,
    We need to create a shopping cart in SRM automatically from an external system.
    For this we have identified 3 FMs. Those are as follows -
    1.  BAPI_SCEC_CREATE
    2.  BBP_PD_SC_CREATE_EXTERNAL
    3.  BBP_PD_SC_CREATE
    Can anybody tell me which one of these 3 is best to be used?
    I tried to test FM's BAPI_SCEC_CREATE and BBP_PD_SC_CREATE independently but i am getting some errors in testing FM BBP_PD_SC_CREATE and in  testing FM BAPI_SCEC_CREATE, i am not getting any errors but 4 records in E_STATUS.
    FM BAPI_SCEC_CREATE  Test result
    E_STATUS
    I1021
    I1038
    I1106
    I1129
    FM BBP_PD_SC_CREATE   Test result
    E_MESSAGES
    E  BBP_PD               238 Enter at least one item or one limit
    E BS                       013 System status INCM is active (Shopping Cart 10042690)
    Also the main problem is that created SC number is returned as output in this FM's but when i enter that SC number in BBP_PD then zero records are displayed means no record.
    Please suggest how can i create SC using this FM's successfully and get it also displayed in BBP_PD.
    Thx in Adv,
    Tirumala

    Angel,
    You weren't clear on the issue you were trying to resolve.
    I assume you mean the cart was not able to be displayed in BBP_PD (i.e. not saved).
    To trigger this you will need to have a commit work i.e. call FM BAPI_TRANSACTION_COMMIT or create a wrap around FM which includes FM BBP_PD_SC_CREATE, evaluates the messages and then commit's work in need.
    Regards
    Rob

  • Issues with a website created with Iweb

    I'm hoping someone out there can help...
    The site appears okay when viewed on a computer screen but...
    The main problem that I'm having at the moment is with printing site content. When opened in Firefox, only the first page of content will show up in print preview, and print out. When opened in IE, all of the content pages show up in print preview but many of them are blank and print blank. Usually, the first page is okay, with the exception of the home page itself, where only the top menu shows up. In Safari, everything seems to be okay except for page breaks which sometimes go right through text or a picture.
    Another problem I have is that the website pictures don't look too good when printed out. The colors are off a bit and the quality is not quite there. I've tested it on a few good printers. I had better appearance when I did this website previously with a cheap web editor.
    Any good suggestions on why this is happening and what I can do to fix this?

    If you have a page or pages that require to be printed out it is more sensible to offer this as a PDF download. That way you can make the layout of the PDF to suit a printed page.
    http://www.iwebformusicians.com/WebMusic/PDFs.html
    "I may receive some form of compensation, financial or otherwise, from my recommendation or link."

  • T61: User on Domain with folder user profile with progressive number each time that log on

    Hi,
    On my new T61 something is happening.
    I create my user local profile and then create a user on domain.
    I already copy my data into my folder Document.
    But everytime that I log on my user account, appears a new folder
    on the Folder Users with my "account.domain.001", "account.domain.002", "account.domain.003"
    What is happening?
    I need to reinstall my T61 from my Start Recovery Disc?
    Thanks in advance,
    Ruben Elizondo

    Is there anyway around this issue???
    Or is there anyway to get content from my iPad to display on my Apple TV without an Internet connection on the Apple TV???
    Unfortunately not.

Maybe you are looking for

  • Understanding Linux/Unix/Arch - not the same thing as using it

    Hi there Archers! I've been using Linux for almost a year now. I started out pretty rough, with Fedora - and uninstalled it pretty quickly as it wasn't the easiest OS to start with, and I didn't have that extra time to learn it by then. I then procee

  • T400s heat at the bottom of the display frame

    recently, i noticed that the center bottom of the display frame is very warm, while the other parts are quite cool. is this related to the driver of the graphic card? I recently installed tha driver provided by Lenovo (ver. 8.15.10.1855). before this

  • FBL3N Display Issue

    Hi, I am having some display issue here. I have posted a document to a vendor acct. I can view the corect data posted under the assignment field when i view the document in FB03 and FBL1N. The data is also correctly reflected under the BSAK or BSAS.

  • Default Device

    I purchased an AIR-BR-1310G-A-K9-R off ebay. I need to know how to default this device back to factory settings.

  • Itunes could not backup the iphone because an error occurred

    I can sync my iPhone but cannot backup.  Keep getting this message, "itunes could not backup "name" iphone because an error occurred.  I already deleted all previous backups.