Programmer Guide/Macro Library/Kernal/StdLib: Difference between revisions
From STX Wiki
< Programmer Guide | Macro Library | Kernal
Jump to navigationJump to search
No edit summary |
|||
Line 6: | Line 6: | ||
:{|class="keinrahmen" | :{|class="keinrahmen" | ||
||'''application management''' || → | ||'''application management''' || → | ||
|[[#AppLoad|AppLoad]] & | |[[#AppLoad|AppLoad]] · [[#AppMain|AppMain]] · [[#AppCleanup|AppCleanup]] · [[#AppHelp|AppHelp]] | ||
|- | |- | ||
|— | |— | ||
Line 47: | Line 47: | ||
!name !!type !!description | !name !!type !!description | ||
|} | |} | ||
==AppLoad== | ==AppLoad== | ||
====<code>APPLOAD <var>appname</var> [ ; <var>appargs</var> ]</code>==== | ====<code>APPLOAD <var>appname</var> [ ; <var>appargs</var> ]</code>==== | ||
:Load and run a registered STX application. | :Load and run a registered {{STX}} application. | ||
{|class="einrahmen" | {|class="einrahmen" | ||
!argument !!description !!default | !argument !!description !!default | ||
|- | |- | ||
|<var>appname</var> | |<var>appname</var> | ||
|Name of a registered STX application. | |Name of a registered {{STX}} application. | ||
| | | | ||
|- | |- | ||
Line 68: | Line 69: | ||
*Start the realtime analyser: <code>appload rtanalyse</code> | *Start the realtime analyser: <code>appload rtanalyse</code> | ||
*Start a script: <code>appload bscript run ; $@root\scripts\myscript.sts ; mymacro ; arg1 arg2</code> | *Start a script: <code>appload bscript run ; $@root\scripts\myscript.sts ; mymacro ; arg1 arg2</code> | ||
==AppMain== | |||
====<code>APPMAIN</code>==== | |||
:This is the {{STX}} application main macro. It is called by the application management system to initialize, run and finish {{STX}} applications. This macro can not be called from other macros. |
Revision as of 09:38, 7 May 2012
- File: STDLIB.STX, linked to library STX.LIB
- Title: STx main library
- Content
application management → AppLoad · AppMain · AppCleanup · AppHelp — message handling → PostMessage · SetMsgHandler · DispatchMsg · MsgQueue · MsgFilter · GetMessage — utilities for standard
STx applications→ ExtSetup · PlayCursor · GenerateScaleParams · MetaSegment — file functions → stxFileTypeList · stxFileType · SectionFile · FileToolBox — display functions → LogWindow · ConLog · UM and EM · ShowItem — dialog and window functions → CreateMenu · DoModalDialog · SetModalWindow · GetWindowPos · SetWindowPos · WindowSizeDlg · GetMonitor · GetDesktop · ProgressBox · InitDialogItem · SetControlMode — SPU and graph functions → SetGraphXScale · GetOutputValue — SPUs → XScaleLinear · XScaleBark · Table2Output · Wave2output
- Variables and items used by this library
name type description
AppLoad
APPLOAD appname [ ; appargs ]
- Load and run a registered STx application.
argument | description | default |
---|---|---|
appname | Name of a registered STx application. | |
appargs | Arguments for the application. | |
RESULT | description | |
void | This macro has no return value. |
- Examples
- Start the realtime analyser:
appload rtanalyse
- Start a script:
appload bscript run ; $@root\scripts\myscript.sts ; mymacro ; arg1 arg2
AppMain
APPMAIN
- This is the STx application main macro. It is called by the application management system to initialize, run and finish STx applications. This macro can not be called from other macros.