Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | extern.activate SEARCH    

  Functions
extern.activate
extern.close
extern.endTask
extern.exists
extern.get.desktopWindow
extern.get.foregroundWindow
extern.get.handle
extern.get.handleFromPoint
extern.get.pos
extern.get.titleFromPoint
extern.get.windowModuleFilename
extern.isEnabled
extern.isHandle
extern.isIconic
extern.isVisible
extern.openIcon
extern.postMessage
extern.received
extern.receivedNum
extern.remoteHandle
extern.send
extern.sendFinish
extern.sendMessage
extern.sendNum
extern.sendStart

  Events
event.extern:received
event.extern:received:num

  MioScript Reference
> Statements
app...
browser...
dialog...
disk...
draw...
extern...
filename...
keyboard...
menu...
mio...
mouse...
num...
path...
pushButton...
reg...
RS232...
sci...
screen...
shortcut...
sound...
str...
system...
time...
var...
window...

Function
extern.activate

Language: MioScript
Product: MioFactory


Syntax

extern.activate(Title)


Parameters

STRINGTitleTitle of the window to activate.


Return value

No value is returned.


Description

Activate the specified window. The window can be owned by another widget or Windows application.

When activated, the window is bring to front and the keyboard input is redirected to it.

Using extern.exists, you can check if the window exists before activating it. If the window do not exists, you can launch the application with {SYSTEM_EXECUTE} or {link:SETUP_OPENWITHLOCALENGINE}.