warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in C:\inetpub\Websites\DevGuru\www\includes\common.inc(1762) : eval()'d code on line 1.

WSH » wshshell » AppActivate

Syntax:
WshShell.AppActivate (strTitle)

The AppActivate method activates an application.

The AppActivate method tries to activate an application whose title is strTitle. If strTitle does not match any titles of the running applications, then the application whose title begins with strTitle is activated. If none of the running applications have a title that begins with strTitle, then the application whose title ends with strTitle is activated. If strTitle matches the titles of more than one application, then one of the applications is arbitrarily activated.

Examples

Code:
Set WshShell = CreateObject("WScript.Shell")
WshShell.AppActivate "notepad"
Explanation:

This VBScript code activates Notepad (assuming that an instance of Notepad is currently running).

Language(s): VBScript