SysSwitchSession (Windows only)

>>-SysSwitchSession(name)--------------------------------------><

Makes the named application the foreground application. SysSwitchSession returns GetLastError of SetForegroundWindow.

Parameter:

name

The name of the application you want to be the foreground application.