• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Workflow works fine, but not as saved application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Workflow works fine, but not as saved application


  • Subject: Re: Workflow works fine, but not as saved application
  • From: Elliot Kanter <email@hidden>
  • Date: Mon, 9 Feb 2009 22:00:08 -0600


On Feb 9, 2009, at 8:03 AM, Ben Waldie wrote:

Elliot,

On Feb 7, 2009, at 12:03 AM, Elliot Kanter wrote:

I've been trying to use Automator to create an application that I can run via cron to email me a daily summary of my upcoming calendar appointments. The workflow I created (Find Events in iCal- >Filter Events->Event Summary->New Mail Message->Send Outgoing) works fine, doing just what I want. When I save it as an application and then execute it, it always sends me an empty email. The only messages I see in the system log seem irrelevant and are identical whether the workflow or application is run. How can I debug and, even better, does anyone have a theory as to what could be going wrong with the application?

According to <http://automator.us/leopard/downloads/index.html>...

"There is a known issue with Automator 2.0 actions not accepting text input when they are set to display when the workflow is run. There is no work-around for this problem other than to run the workflow containing the effected actions, opened in Automator with their Show When Run option disabled."

Could this be the problem you are encountering?

No, I don't think so, they are all disabled.

As to the other suggestions I've received, the Filter Events action is not necessary (I only added it at someone's suggestion that that might fix the problem). The application fails with or without the Filter. The saved application does work however if I remove the Event Summary action, so that seems to be the source of the bug - I should have pointed that out originally.

I have developed a workaround which, although rather kludgy, meets my needs. I've added a "Run Shell Script" (which just waits for a semaphore file to appear, removes it, and exits) in front and a "Loop" at the end and leave the workflow minimized, but running forever. My cron job just touches the semaphore file every day at 5 AM and after 2 days experience, it's adequate.

	Thanx to all who replied.

__________________
Elliot P. Kanter
email@hidden



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Automator-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Workflow works fine, but not as saved application (From: Elliot Kanter <email@hidden>)
 >Re: Workflow works fine, but not as saved application (From: Ben Waldie <email@hidden>)

  • Prev by Date: Re: Workflow works fine, but not as saved application
  • Next by Date: User input within a shell
  • Previous by thread: Re: Workflow works fine, but not as saved application
  • Next by thread: User input within a shell
  • Index(es):
    • Date
    • Thread