OS X Technologies :: Running Multiple Folder Actions At Same Time

May 29, 2012

Does anyone have some experience running multiple folder actions at the same time?I've written a Applescript folder action that processes some files. When adding some files, the script starts and all goes well. The processing of each file takes a few minutes, but all files are processed correctly.However, when adding some new files to the dropfolder, while the folder action is all ready processing other files dropped a few minutes earlier, the process that is all ready running immediately aborts and the folder action is relaunched on the new files, leaving the old files for what they are.The same problem occurs with multiple folders, each having a folder action attached. When dropping files in "Folder A", the script starts processing. But if someone droppes files in "Folder B", The script of folder A aborts, and the script of folder B starts processing. When adding more files to the folders, the result is the same. In some casses, when the last dropped files are processed, the os continues where the operation was aborted on the previous files. But this not always happens. To make things worse, when you remove the items from the folders afterwords, the folder actions starts running again on items no longer present in the folder ..Does anyone know how I can prevent the folder action being aborted when new files are dropped and placing the new files in "Hold", until the previous files are processed? How can I prevent a folder action being aborted when a item is dropped into another folder?I've written a small script to test this behaviour. Just create one or more folders and attach the script below. Drop a item into the folder, wait a few seconds and drop another one in the same or another folder. To monitor what happens please check the console. [code]
Info:
Mac OS X (10.6.8)

View 2 Replies


ADVERTISEMENT

OS X Technologies :: Handle IPhoto's "import Duplicates" Prompt When Using AppleScript Folder Actions?

Jun 1, 2012

I'm traveling tomorrow to Europe and am only taking my iPad and camera.  I'm planning on using an SD card reader to upload my photos/videos to my iPad, then use Dropbox on the iPad to copy my daily shots to my Dropbox account. I'm thinking that I'll have an AppleScript on my home computer's  /Dropbox/europe/  folder to look for newly added data and then auto import that into iPhoto. What's the best way to handle this? I got it working with a couple of test images but when iPhoto sees photos that it's already imported it asks me if I want to import in the duplicates or skip them.  I'd like to skip them or write the AppleScript in a way that handles this. I'm also fine with copying the photos out of the Dropbox folder into a separate folder elsewhere and not using iPhoto. I'm just trying to theft proof my data in case my iPad gets stolen or if my Dropbox goes goofy and deletes the photos.  Maybe copy newly added data to a designated directory outside of the Dropbox folder?  How can I do this? 

Info:
iMac, Mac OS X (10.6.8)

View 2 Replies View Related

OS X Technologies :: Can't Open The Program Time Machine Located In The Folder /applications/time Machine

Mar 13, 2012

can't open the program time machine located in the folder /applications/time machine anymore, message says program ain't working for unknown reaason, but I still can open time machine in the menu bar. any clues what the trouble might be? and/or is there any way to reinstall time machine only on os x 10.7.3? 

btw., on the system backup hd which is a mirror of the imac system, the programm still works

Info:
iMac, Mac OS X (10.7.3)

View 8 Replies View Related

OS X :: Keep Getting Folder Actions Alert?

Mar 5, 2010

Every time I add something to my Dropbox, I get a pop-up saying "3 items have been added to your folder...would you like to view them?" I didn't enable anything on the computer.

View 1 Replies View Related

OS X :: Folder Actions That Keep Desktop Clean?

Mar 25, 2009

Like it would move anything immediately to the downloads folder. Would love to have something like this cause the wife has the desktop like whoa.

View 4 Replies View Related

OS X :: Folder Actions - Drag And Drop Wav / Mp4 / Ogg

Mar 30, 2009

has anyone achieved/know how to achieve this? drag and drop a wav, mp4, ogg, etc onto a folder and have it covert to an mp3. is there a audio converter app that plays nice with folder actions?

View 1 Replies View Related

OS X :: Automator Applications - Folder Actions

Oct 5, 2009

I understand when I make an automator 'application', it appears and can be drug to the applications folder. But when I make a folder action, or a service or whatever, where does the action go (so I can edit it again, later) or delete it?

View 1 Replies View Related

OS X V10.7 Lion :: How To Set Up Automator Folder Actions

May 8, 2012

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. [code]

Info:
Mac OS X (10.7.1)

View 14 Replies View Related

OS X :: Automator Folder Actions - Delete / Remove Them?

Mar 31, 2010

I managed to fumble my way through my first Automator actions today and after some trial and error, came up with a folder action that does exactly what I want, very simply to move music from my downloads folder to a different location. I also created an Automator application to do the same thing as I wasn't aware my folder action will now do this automatically (so cool). Here's my question: I have a few folder actions that were created during my trial and error process. Where are these and how do I delete/remove them? I did a Spotlight search and nothing came up.

View 2 Replies View Related

OS X :: Specific Folder Requires Authentication For Some Actions?

Apr 3, 2010

I'm new here but hoping I can find some helpful information for a new problem I have with OS X. Earlier today, I noticed that my Transmission was failing to download some torrents I was snatching. Transmission couldn't create the folders I was telling it to create for new CDs in my MUSIC folder. When I looked into the problem, I noticed that I no longer had the option to create new folders and several other modification options. I created a new folder on the desktop and dragged it into the misbehaving MUSIC folder and my MacBook asked me for my password to "authenticate". What's going on? I have not encountered this issue before and it is only effecting the MUSIC folder; all of the sub-folders are functioning correctly.

View 4 Replies View Related

OS X V10.7 Lion :: Why Have Folder Actions Stopped Working

Feb 9, 2012

I set up a few automated workflows with automator to take certain actions if different types of file are dropped into a folder (Downloaded etc) 

I had 4 working perfectly but for an unknown reason they all suddenly stopped working and i can't work out why.? 

Info:
Mac mini, Mac OS X (10.7.3)

View 2 Replies View Related

Applications :: Remove Automator Services And Folder Actions

Dec 16, 2009

I've been fooling around with Automator for a few hours trying to look for little ways it can handle my repetitive stuff. I've figured out some pretty neat tricks, but I also have a slew of unwanted folder actions and services in my context menus and for the life of my I can't figure out how to get rid of them. The folder actions are especially problematic since they mess with my files automatically. Googling it isn't turning up anything nor can I seem to find anything in Apple's help documents. Is this some kind of huge joke being played on me here or something? Has no one ever wanted to disable their automator tasks before or something?

View 4 Replies View Related

OS X :: Keynote - Making Two Actions Run At The Same Time

May 28, 2009

I have two objects in keynote that do about 14 moves each (spin and move) but I can not get them to go at the same time. The next one will only start when the first one ends. I can't move the second object to the top of the build order because when I do that it ruins all the spin/move steps. Want I kinda need is the ability to run step 13 with step one (whilst leaving the build order in the same rank)..unless somebody has got another way to do this?

View 1 Replies View Related

OS X Technologies :: Run In Apple Script Editor That Changes Several Folder Icons Inside Another Folder All At Once?

Jun 24, 2012

Would there be a script I can run in Apple Script Editor that changes several folder icons inside another folder all at once?

View 14 Replies View Related

OS X Technologies :: Applications Folder Inside The Users Folder?

Apr 20, 2012

What versions of Mac OS X has an Applications folder inside the users folder?

View 1 Replies View Related

OS X V10.7 Lion :: Folder Actions Not Working - "The Action “Scale Images” Was Not Supplied With The Required Data"

Apr 11, 2012

I had a simple folder action created in Automator that scaled images to 800 pixels whenever i added files to a specific folder. It does not work anymore. I have tried recreating the action in a new folder and all i get is a warning:  "The action “Scale Images” was not supplied with the required data."

Info:
iMac, Mac OS X (10.7.3)

View 5 Replies View Related

OS X Technologies :: Automator: Extract Multiple Zip Files?

Mar 11, 2012

I'm trying to create an Automator service for the Finder in Lion. It gives me an "error in shell script". I just created a similar script that uses "imguru" to upload images to [URL] which works great, so i'm thinking that it's must be the line with "unzip" that creates a problem. 

Info:
MBP late 2009

View 4 Replies View Related

OS X Technologies :: Sync Files And Folders Between Multiple Macs?

Mar 11, 2012

I currently have a MacBook Pro and I'm considering buying an iMac for home use. I want to keep the files between both computers in sync. It would also be a plus to keep mail, contacts, photos, etc., in sync between both computers, but my main focus is files and documents.

Info:MacBookPro, Mac OS X (10.7.3)

View 3 Replies View Related

OS X Technologies :: Run Multiple Copies Of Skype By Launching The .app File

May 8, 2012

I figured out how to run multiple copies of skype by launching the .app file from different osx user accounts in terminal.  What I'm trying to do now is script this or automate opening terminal and typing the line with automator.  The following is the line that I use. 

su user2 -c "/Applications/Skype.app/Contents/MacOS/Skype && exit" 

And I just change user2 to user3 for a third instance of skype and so on. how ot automate this process?

Info:
iMac, Mac OS X (10.7), 27" / i5 / 8GB RAM

View 7 Replies View Related

OS X Technologies :: Running On OS 10.5.8 - Does It Need An Update

Apr 12, 2012

If im running on OS 10.5.8, do i need to update this too?

View 2 Replies View Related

OS X Technologies :: Restore Multiple Partitions Through Disk Utility With Apple-script?

Apr 13, 2012

I need an AppleScript to restore a bunch of partitions from a master drive to a stack of external target drives. I don't mind partitioning them 1st, if necessary.The master drive has 16 partitions, all equally sized, and I'd like a script to run that will have Disk Utility to just go down the list restoring each partition to the matching 16 partitions on one of the target drives.

Info:
Mac OS X (10.7.3)

View 14 Replies View Related

OS X Technologies :: Way To Detect Application Running

Apr 24, 2012

how can i do a script which does one thing if it finds one application running, and does another thing if it finds the same application not running?

View 3 Replies View Related

OS X Technologies :: Automator Perpetually Running On Second Action?

Feb 8, 2012

I had been using automator quite successfully until recently now I'm unable to get automator to step through even the most basic setup. It refuses to step through to the second action and perpetually runs without producing any results as the image below shows.for any of my automator setups I get results for the first step and then an indefinate hang on the second leaving the step icon greyed out. I have tried this with numerous other actions like calendars etc but to no avail. Below are the very basic automator steps I'm using in this example. 

Info:
iMac, Mac OS X (10.7.2)

View 10 Replies View Related

OS X Technologies :: Apache Error Running Constantly?

Feb 9, 2012

How can I correct this error?

Could not open configuration file /Library/FileMaker Server/Admin/admin-helper/WEB-INF/conf/fmi-test.conf: No such file or directory 

View 6 Replies View Related

X Technologies :: Remove Flashback Malware From A Mac Running OS 10.5.8?

Apr 14, 2012

How do I remove Flashback Malware from a Mac running OS 10.5.8?

Info:Mac Pro, Mac OS X (10.5.8)

View 2 Replies View Related

OS X Technologies :: Running Slow With Some Of The Sites Such As Facebook?

May 15, 2012

I am having difficulty in slow in some locations and as especially in the facebook site

Info:
MacBook
Pro, Mac OS X (10.7.3)

View 3 Replies View Related

OS X Technologies :: Running An Applescript Without Username Or Password?

Jun 18, 2012

I am trying to write a generic script that will mount a disk upon log in of a user So far I have this: (which works for a specific user:) 

try
mount volume "smb://MyUserName:MyPassWords@ServerIAmPointingTo"
end try  

I have pointed the script to my log in prefernces so it runs automatically when I log in. Is there a way to do this with a generic username/password? If I wanted to give this script to 100 of my co-workers, they would all have to modify the code to their credeintals. But is there any defaut usernames or passwords that AppleScript will take?  Maybe something like: mount volume "smb://default:default@ServerIAmPointingTo" ...? My goal for this script is to have it run on peoples desktops at work to point to the same server, since I work in IT. But, I don't want to modify each script for each unique person. 

View 1 Replies View Related

OS X Technologies :: Install A Base Java Before Running Update?

Apr 15, 2012

Does one have to install a base Java before running this update, or is it a full installer?

Info:
iMac, Mac OS X (10.7.3), Lee's computer

View 1 Replies View Related

OS X Technologies :: Command That Works In Terminal Not Running As Launch Agent

Apr 11, 2012

Trying to run the following command as a Launch Agent (OS X 10.7): /usr/bin/find /Users/username/Documents/Dropbox/Public -type f -mtime +2 -print0 | xargs -0 rm -r 

Created a plist file (reproduced below) and saved to ~/Library/Launch Agents, but the command isn't executed either at the specified time or when the agent is loaded via launchctl.  If I change the command to a simple Applescript test: osascript -e 'tell Application "Finder" to display dialog "hello"' 

It runs correctly as a launch agent when loaded and as the specified time Which means there's something wrong with the first command (find). But the command runs as written when executed manually in the terminal.  

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">

[Code].....

View 4 Replies View Related

OS X Technologies :: Folder Action Does Not Run On SECOND File Only

Mar 7, 2012

Does any one know of a bug or a log for folder scripts that do not run? I am trying to get a basic folder script (to replace %20 in the file name) of the Downloads folder.

When downloading multiple files (two or more) it runs only on the first file, successfully without error, and then never runs on the second file. If I move both of the files out of the Downloads folder and move it back it, the one file that does not get the folder action now does and everything is peachy.So it is not that the folder action is not scripted properly. It is just that the folder does not catch the second file download - guess maybe too fast? Has any one seen this or have this bug?

Info:15" Unibody MacBook Pro , Mac OS X (10.6.4)

View 13 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved