* See Download section
Parser for Girder
plugins
Allows to use plugins from Girder with SlyControl
Loading:
plugin_name = Load( "System\Girder\Girder.dll", "girder_plugin.dll[/event_type]"
)
Loading simultaneously several copies of plugin Girder.dll is not
supposed. If necessary it is possible to make some copies with the
different name, for example Girder1.dll, Girder2.dll etc.
Example:
Girder_uir = Load( "System\Girder\Girder.dll", "uir.dll/GREMOTE"
)
Girder_key = Load( "System\Girder\Girder1.dll", "keyboard.dll/GKEY"
)
Girder_say = Load( "System\Girder\Girder2.dll", "say.dll"
)
Girder_winamp3 = Load( "System\Girder\Girder2.dll", "winamp3.dll"
)
Default path for Girder plugins is \Program Files\girder32\plugins\
Open Plugin Setup for Girder.dll for more details.
------------------------------------------------------------------------------
If Girder plugin generates events (for example uir.dll or keyboard.dll)
in a loading command it is necessary to specify type of event through
a symbol "/" after a plugin name.
Events:
Type: specify in loading command
ID: Girder eventstring
Event Value: Girder device number (Unique for everyone Girder plugin)
Enable / Disable events:
Start() è Stop()
Example:
Girder_key = Load( "System\Girder\Girder.dll", "keyboard.dll/GKEY"
)
Main = Group( Enabled ){
OnGroupEnable(){
Girder_key.Start()
}
OnGroupDisable(){
Girder_key.Stop()
}
MyHook = Hook( "GKEY", *, Enabled ){
OSD( "Girder keyboard.dll event: '%s', Device num: %d",
*, MyHook )
}
}
Actions:
ActionPreset( <PresetName> )
Example:
Girder_say = Load( "System\Girder\Girder.dll", "say.dll"
)
Main = Group( Enabled ){
MyHook = Hook( "KEY", "Ctrl+S", Enabled ){
break( MyHook <> 0 )
Girder_say.ActionPreset( SayTest )
}
|