utils.sendtofront

Bring a window to the front

Prototype

found = utils.sendtofront (name)

Description

Brings a nominated Windows window to the front - that is, it activates it.

This could be used to activate an editor, an email program, etc.

eg.

utils.sendtofront ("Crimson Editor")
It returns true if such a window exists, and false if not.

The name is case-sensitive, however only the first part matches (eg. the example above would match on "Crimson Editor - myfile.txt")

Lua functions

Topics