Getting TaskTime with scripting api