if ConstantValue(“appid.klogon”) then
PropertyValue(“app.DefaultWindow”) = “win_csec_login_login”
else
PropertyValue(“app.DefaultWindow”) = “win_main”
end
I get a compile error on line 1, the rest works.