Automator via Applescript?
Automator via Applescript?
- Subject: Automator via Applescript?
- From: Robert Poland <email@hidden>
- Date: Tue, 15 Jul 2014 15:43:39 -0600
Hello,
Is it possible to launch an Automator [calendar] alarm applet via an Applescript?
Actually I am looking for a workaround a shell scripting problem.
The true problem: I have a java command that will run from a command line directly in Terminal.
The same java command will run from an Automator alarm to ‘Run Shell Script’. The script ran beautifully until Mavericks decided to break all my alarms and sent me searching for an alternative. Thanks, Apple.
Anyway, I am able to run the Automator alarm from within Automator, and also from Lingon X.
Otherwise, the alarm applet will not run (unless I do the contortions necessary to set it up as an alert in Calendar again, but then it is unstable because a) when Apple releases updates to the OS, the alerts lose their links to the alarm applets; b) even if the alarms are linked to the alerts in Calendar, if I go in to make any modification to that event, when I complete the edit, the alarm will run RIGHT THEN. not cool.)
I am trying to stop use of Lingon X as well because it has let me down a few times — ergo, not reliable.
Now I am setting all of the timers using XTension. I prefer to have the [java] command called from an Applescript applet that I can run from XTension.
Here is the interesting thing: on 2 of three systems, this works: create an Applescript applet with ‘do shell script “java -jar……”
Then in XTension I simply write a script: launch application “nameOfApplet”.
But on one of the systems, the java command only works if I invoke it via the Automator alarm applet or directly from a prompt in Terminal.
All systems are running 10.9.3. One system is a 2011 MBP; the other two systems are previous generation Mac Pro’s.
The system NOT cooperating is one of the MacPro’s.
What am I missing?
Thanks for any tips.
Dee Dee
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden