Well, I must not be masking this clear. Sorry! But the AVID screen unload script DOES have code that is supposed to save the current jog rate. But it doesn't. The only time I can make it work is if I edit the machine.ini file with Notepad and remove the jog rate line. After that, the rate is saved once but never again.
Thanks,
Tony
--Screen unload
inst = mc.mcGetInstance()
if (Tframe ~= nil) then -- touch plate frame
Tframe:Close()
-- Tframe:Destroy()
end
if (ASframe ~= nil) then -- touch plate advanced settings frame
ASframe:Close()
-- ASframe:Destroy()
end
--Save Jog Rate % to .ini
local valJogRate = scr.GetProperty("droJogRate", "Value")
mc.mcProfileWriteString(inst, "Preferences", "JogRate", valJogRate)
-- check modified state of config files
pf.CheckAllConfigFiles()