szk_chan 3 Posted August 13, 2015 Report Share Posted August 13, 2015 hello, I created simple action of running 'time.sleep (n)' if the 'n' is 5 or over, displayed 'Could not launch action'.but, it will succeed if 4 or less. could perform the long time need script in the action? regards. Link to post Share on other sites
instinct-vfx 33 Posted August 13, 2015 Report Share Posted August 13, 2015 For longer scripts you have to use asyncronous actions that launch into the background. See the batchupload example that uses an @async decorator function: https://bitbucket.org/snippets/ftrack/yK6p/action-batch-upload-thumbnails Cheers,Thorsten Carl Claesson 1 Link to post Share on other sites
szk_chan 3 Posted August 17, 2015 Author Report Share Posted August 17, 2015 thank you for reply! I'm glad to inform you that the problem is now solved. regards. Link to post Share on other sites
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now