Applescript submit variants, but large numbers are not entirely processed
Hello.
If I manually select a very large set of variants (7000+) and submit them to export with a single recipe all of them are processed as expected.
Now I have an AppleScript that inspects all the selected variants and submits them to export with recipes picked in function of keywords and color tag. Yesterday I tried to run it against a selection of about 1700 variants, that should have generated a few thousands of exports (I don't know whether more or less than 7000, but I presume a similar number). Not all of them were processed, C1 just stopped at some point without complaining; I had to split into batches and run the Applescript against each one of them.
I noted that in the history of the queue the overall count in each case stopped at 1000, so I suppose I hit a limit.
I suppose the difference is to have one batch versus several thousands of batches — could it be?
The Applescript command used is 'tell variant to process':
...
repeat with _variant in _selectedVariants
...
repeat with _recipeName in _recipeNames
-- computes _pick in function of the current _recipeName, keywords and color tag
if _pick then
tell _variant to process recipe _recipeName
end if
end repeat
end repeat
The whole script is available here (it should be publicly readable):
Thanks.
-
Ok, I see that the '1000' limit in the queue is just a view limit — but I confirm the original problem.
PS An improved and more readable version of the script is here:
Code has been changed, but the key concept has not; that is every variant is exported in a separate 'tell' command.
0
投稿コメントは受け付けていません。
コメント
1件のコメント