View unanswered posts | View active topics It is currently Sun May 19, 2013 4:17 am



Reply to topic  [ 2 posts ] 
 Sequence of executing action group elements 
Author Message

Joined: Jan 24, 2006
Posts: 198
Post Sequence of executing action group elements
I'm trying to debug a couple of action groups that don't execute reliably.

Are individual actions in a group all launched immediately, in the order they are listed, or are there situations where an action's execution is delayed until a previous step has completed?

Specifically, does Indigo wait for an embedded AppleScript (or Python code) to finish before executing the next action in the group?

Thanks.


Mon Feb 20, 2012 9:47 am
Profile
Site Admin
User avatar

Joined: Mar 19, 2008
Posts: 6642
Location: Austin, Texas
Post Re: Sequence of executing action group elements
In general, they are scheduled to run in parallel (unless they have a delay specified). Embedded AppleScripts are the exception because they have to run on the main thread of the Indigo Server so there is a little serialization. Fundamentally, however, you shouldn't assume that the order of the actions means anything. If you need something to happen serially, then you should add delays to guarantee one finishes before the next.

_________________
Jay (Indigo Support)
Image


Mon Feb 20, 2012 10:33 am
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.