Mioplanet Documentation Center
Resources and Help
HomeProductsMioScriptJavaScriptTechNotesPHP
   Home | MioScript | event.browser:mioCommand SEARCH    

  Events
event.browser:beforeNavigate
event.browser:documentComplete
event.browser:download:begin
event.browser:download:complete
event.browser:download:progress
event.browser:manualMailTo
event.browser:mioCommand
event.browser:navigate:error
event.browser:navigatecomplete
event.browser:newWindow
event.browser:statusChange
event.browser:titleChange

  Functions
browser.create
browser.createEx
browser.eventFrame
browser.fromPoint
browser.ID.cancel
browser.ID.copyTo.ID
browser.ID.download.current
browser.ID.download.max
browser.ID.execScript
browser.ID.get.status
browser.ID.get.URL
browser.ID.getSource
browser.ID.goBack
browser.ID.goForward
browser.ID.goHome
browser.ID.handle
browser.ID.height
browser.ID.HTML.fromPoint.attribute
browser.ID.HTML.fromPoint.tagName
browser.ID.HTML.get.background.color
browser.ID.HTML.get.element.attribute
browser.ID.HTML.get.element.content
browser.ID.HTML.get.element.list
browser.ID.HTML.get.title
browser.ID.HTML.set.background.color
browser.ID.HTML.set.element.content
browser.ID.HTML.set.link.color
browser.ID.HTML.set.title
browser.ID.isAvailable
browser.ID.left
browser.ID.manualMailTo
browser.ID.navigate
browser.ID.newWindow
browser.ID.offline
browser.ID.options.connection
browser.ID.options.general
browser.ID.parent
browser.ID.pos
browser.ID.print
browser.ID.print.pageSetup
browser.ID.property
browser.ID.refresh
browser.ID.repaint
browser.ID.rzBackColor
browser.ID.saveAs
browser.ID.scrollbar.visible
browser.ID.silent
browser.ID.stop
browser.ID.top
browser.ID.visible
browser.ID.width
browser.ID.zoom
browser.manualCommand

  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...

Event
event.browser:mioCommand

Language: MioScript
Product: MioFactory


Raised when a browser object sends a command to MioEngine via an URL as follow:


<A href='mio:commandLine'>Call MioScript</A>



If this event is declared, the commands received via the URLs will not be converted to MioScript code. You must process the requested command.

You can retrieve the command line with browser.ID.get.status.

The browser object ID from where the command comes from can be retrieved with window.eventAuthor.

Important: This event is processed by the libray klib.k.

See also: browser.manualCommand



MioScript Sample Code

event.browser:mioCommand()
    &br_id = window.eventAuthor()
    &cmdLine = browser.&br_id.get.status()
    alert(&cmdLine)
event.end