Replaced MacOS.EnableAppSwitch with MacOS.SchedParams
diff --git a/Mac/Lib/EasyDialogs.py b/Mac/Lib/EasyDialogs.py
index b42674a..742daa4 100644
--- a/Mac/Lib/EasyDialogs.py
+++ b/Mac/Lib/EasyDialogs.py
@@ -213,7 +213,7 @@
 			"So far, so good!", "Keep on truckin'" )
 	bar = ProgressBar("Progress, progress...", 100)
 	try:
-		appsw = MacOS.EnableAppswitch(0)
+		appsw = MacOS.SchedParams(1, 0)
 		for i in range(100):
 			bar.set(i)
 			time.sleep(0.1)
@@ -223,7 +223,7 @@
 		time.sleep(0.3) 	# give'em a chance to see the done.
 	finally:
 		del bar
-		MacOS.EnableAppswitch(appsw)
+		apply(MacOS.SchedParams, appsw)