Ok, well basically what happens when you press the Deadline button is I get the deadline repository root and load in
Code:
submitMaxToDeadline_Functions.ms
Then call
Code:
SMTDFunctions.loadSettings()
which fills a global variable called
which I modify with my job name, priority, chunksize, etc. And then I call the rest of the functions necessary to submit the job with those settings.
Since SMTDSettings is a global variable and it contains the struct SMTDSettingsStructure which is fully exposed in "submitMaxToDeadline_Functions.ms", it's conceivable that I could add an optional MAXScript section of the Deadline submission rollout, where you can add your own custom settings that would be applied after tyFlow fills the struct with it's own stuff. So you'd enter something like:
Code:
SMTDSettings.DraftSubmitJob = true
SMTDSettings.ExtraInfo0 = "test"
SMTDSettings.WarnAboutMissingExternalFiles = false
--etc
And then I'd just directly execute that script prior to submission, thereby applying all of your settings as the job is sent along.
Would that work?