Sub Thread0() SetEnvironmentVar "Key0","0" Delay 30000 SetEnvironmentVar "Key0","1" End Sub Sub Thread1() SetEnvironmentVar "Key1","0" Delay 30000 SetEnvironmentVar "Key1","1" End Sub Sub Thread2() SetEnvironmentVar "Key2","0" Delay 30000 SetEnvironmentVar "Key2","1" End Sub //.....可加分线,同环境变量 [General] MacroID=2bb6f2c0-ac96-4ea3-938a-7c584d6a3cd7