Big Tick wrote:Ah, no, you're right, this doesn't work. Thank you for pointing it out, I'll check what happens.jens wrote:You managed to load, modify and then save an AZR3 preset from within asHost?
OK Jens, I found why.
When importing presets, Zen will ignore the import request in the following cases:
- A duplicate is found (same preset data, with possibly a different name)
- or a preset with the same name exists, and the last import was done a few ms ago.
The 2nd test is to avoid constant popups in autoimport, with plugins that will notify the host multiple times when changing presets.
Unfortunately (and surprisingly) asHost doesn't support the getTimeInfo function, which is used to query the current time. Because of this (it returns 0 for the samplePos field), Zen thinks it is a double import, and silently ignores.
I will fix this in the next release - I'll get the time directly from the OS instead of asking the host.
'Tick
