Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NewbieQ : Debugging



John,
In response to your question, I am sure that some simple tasks work quite
well with folder actions. Perhaps I was a little to negative in my comment.
My problems arose when I started creating complicated workflows for PDF
files that involved using cURL and -lpr shell scripts as well as some
Photoshop and finder work. The problem (I think) was that the folder actions
were trying to work on files before previous actions/scripts were complete.
So it would often deactivate the folder actions or hang the processes
working behind the scenes. Using the Idle handlers instead allows me much
more control over the timing and prioritizing of the former folder actions.
If the folder actions are working for you then stick with it. I just wanted
to point out an option that was not immediately apparent to me when I was
pulling my hair out (what is left of it) over similar problems.
Alex

> My advice is just don't use folder actions. They are inherently buggy and
> unreliable in my experience. (I am still running Panther and am not sure
if
> any of this was fixed in Tiger.) I would save yourself a whole lot of
> trouble and just start using stay open scripts with idle handlers instead.
I
> have all of my pseudo-folderaction scripts running on a different user
> account of my computer that is always logged in in the background (enable
> fast user switching). This is a great way to keep the automation running
all
> the time without using another machine to do it. I can send you an example
> if you like.

What actions? I've been using them as an autoscan mechanism with virex 7.2
for years with no problems at all.




This e-mail and any files transmitted with it are intended solely for the
use of the addressee. This e-mail may contain confidential and/or legally
privileged information. Any review, transmission, disclosure, copying, or
any action taken or not taken, by other than the intended recipient, in
reliance on the information, is prohibited. If you received this e-mail in
error, notify the sender and delete this e-mail from your computer and
network. In addition, please be advised that Edmund Optics reserves the
right to monitor, access and review all messages, data and images
transmitted through our e-mail system. By using our e-mail system, you
consent to this monitoring. 


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-studio mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-studio/email@hidden

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.