Adobe FrameMaker-10 Object Model JS: Globals
From Framemaker 2010
Globals
QuickLinks
AddMenu, Alert, Alive, AllocatePropVals, AppendIntProp, AppendMetricProp, AppendStringProp, AppendStringsProp, AppendVal, CallClient, CheckStatus, ChooseFile, ClientDir, ClientName, ClientNumber, CustomDoc, DefineMenu, DisconnectFromSession, Emergency, Err, ErrorName, FamilyFonts, Fcodes, FileScrollBox, GetEncodingForFamily, GetEncodingForFont, GetExportDefaultParams, GetFontAngleValue, GetFontFamilyValue, GetFontVariationValue, GetFontWeightValue, GetImportDefaultParams, GetOpenDefaultParams, GetPropIndex, GetSaveDefaultParams, GetSupportedEncodings, GetUpdateBookDefaultParams, InitializationName, IsEncodingSupported, LoadMenuCustomizationFile, MenuExists, Notification, NotificationName, Open, PopClipboard, PrintErrno, PrintExportStatus, PrintFAErrno, PrintImportStatus, PrintInitialization, PrintNotification, PrintOpenStatus, PrintPropVal, PrintPropVals, PrintSaveStatus, PrintTextItem, PrintTextItems, PrintUpdateBookStatus, PromptInt, PromptMetric, PromptString, PushClipboard, RemoveMenu, ReturnValue, Run, ScrollBox, Service, SetDdeInstance, ShortcutExists, ShutDown, SimpleNewDoc, SimpleOpen, Sleep, StringLen, USleep, UpdateMenus, UserCancel, WinInstallDefaultMessageFilterMethods
Instances
int AddMenu (toMenu: string, menu: string, label: string)
| Parameter | Type | Description |
|---|---|---|
| toMenu | string | |
| menu | string | |
| label | string |
int Alert (message: string, type: int)
| Parameter | Type | Description |
|---|---|---|
| message | string | |
| type | int |
PropVals AllocatePropVals (numProps: int)
| Parameter | Type | Description |
|---|---|---|
| numProps | int |
void AppendIntProp (pv: PropVals, prop: int, val: int)
| Parameter | Type | Description |
|---|---|---|
| pv | PropVals | |
| prop | int | |
| val | int |
void AppendMetricProp (pv: PropVals, prop: int, val: int)
| Parameter | Type | Description |
|---|---|---|
| pv | PropVals | |
| prop | int | |
| val | int |
void AppendStringProp (pv: PropVals, prop: int, val: string)
| Parameter | Type | Description |
|---|---|---|
| pv | PropVals | |
| prop | int | |
| val | string |
void AppendStringsProp (pv: PropVals, prop: int, val: Strings)
| Parameter | Type | Description |
|---|---|---|
| pv | PropVals | |
| prop | int | |
| val | Strings |
void AppendVal (pv: PropVals, prop: int, val: TypedVal)
| Parameter | Type | Description |
|---|---|---|
| pv | PropVals | |
| prop | int | |
| val | TypedVal |
int CallClient (clname: string, arg: string)
| Parameter | Type | Description |
|---|---|---|
| clname | string | |
| arg | string |
int CheckStatus (p: PropVals, statusBit: int)
| Parameter | Type | Description |
|---|---|---|
| p | PropVals | |
| statusBit | int |
int ChooseFile (title: string, directory: string, stuffVal: string, mode: int, helpLink: string)
| Parameter | Type | Description |
|---|---|---|
| title | string | |
| directory | string | |
| stuffVal | string | |
| mode | int | |
| helpLink | string |
void CustomDoc (width: int, height: int, numCols: int, columnGap: int, topMargin: int, botMargin: int, leftinsideMargin: int, rightoutsideMargin: int, sidedness: int, makeVisible: bool)
| Parameter | Type | Description |
|---|---|---|
| width | int | |
| height | int | |
| numCols | int | |
| columnGap | int | |
| topMargin | int | |
| botMargin | int | |
| leftinsideMargin | int | |
| rightoutsideMargin | int | |
| sidedness | int | |
| makeVisible | bool |
void DefineMenu (name: string, label: string)
| Parameter | Type | Description |
|---|---|---|
| name | string | |
| label | string |
| Parameter | Type | Description |
|---|---|---|
| message | string |
| Parameter | Type | Description |
|---|---|---|
| i | int |
Fonts FamilyFonts (family: int)
| Parameter | Type | Description |
|---|---|---|
| family | int |
int Fcodes (vec: Ints)
| Parameter | Type | Description |
|---|---|---|
| vec | Ints |
int FileScrollBox (title: string, directory: string)
| Parameter | Type | Description |
|---|---|---|
| title | string | |
| directory | string |
string GetEncodingForFamily (family: int)
| Parameter | Type | Description |
|---|---|---|
| family | int |
string GetEncodingForFont (font: Font)
| Parameter | Type | Description |
|---|---|---|
| font | Font |
PropVals GetExportDefaultParams ()
int GetFontAngleValue (angleName: string)
| Parameter | Type | Description |
|---|---|---|
| angleName | string |
int GetFontFamilyValue (familyName: string)
| Parameter | Type | Description |
|---|---|---|
| familyName | string |
int GetFontVariationValue (variationName: string)
| Parameter | Type | Description |
|---|---|---|
| variationName | string |
int GetFontWeightValue (weightName: string)
| Parameter | Type | Description |
|---|---|---|
| weightName | string |
PropVals GetImportDefaultParams ()
PropVals GetOpenDefaultParams ()
int GetPropIndex (propVals: PropVals, propNum: int)
| Parameter | Type | Description |
|---|---|---|
| propVals | PropVals | |
| propNum | int |
PropVals GetSaveDefaultParams ()
Strings GetSupportedEncodings ()
PropVals GetUpdateBookDefaultParams ()
string InitializationName (i: int)
| Parameter | Type | Description |
|---|---|---|
| i | int |
bool IsEncodingSupported (encodingName: string)
| Parameter | Type | Description |
|---|---|---|
| encodingName | string |
void LoadMenuCustomizationFile (pathname: string, silent: bool)
| Parameter | Type | Description |
|---|---|---|
| pathname | string | |
| silent | bool |
| Parameter | Type | Description |
|---|---|---|
| menu | string |
int Notification (notification: int, state: int)
| Parameter | Type | Description |
|---|---|---|
| notification | int | |
| state | int |
string NotificationName (i: int)
| Parameter | Type | Description |
|---|---|---|
| i | int |
void Open (fileName: string, openParams: PropVals, openReturnParams: PropVals)
| Parameter | Type | Description |
|---|---|---|
| fileName | string | |
| openParams | PropVals | |
| openReturnParams | PropVals |
| Parameter | Type | Description |
|---|---|---|
| i | int |
void PrintExportStatus (p: PropVals)
| Parameter | Type | Description |
|---|---|---|
| p | PropVals |
void PrintImportStatus (p: PropVals)
| Parameter | Type | Description |
|---|---|---|
| p | PropVals |
void PrintInitialization (i: int)
| Parameter | Type | Description |
|---|---|---|
| i | int |
void PrintNotification (i: int)
| Parameter | Type | Description |
|---|---|---|
| i | int |
void PrintOpenStatus (p: PropVals)
| Parameter | Type | Description |
|---|---|---|
| p | PropVals |
void PrintPropVal (p: PropVal)
| Parameter | Type | Description |
|---|---|---|
| p | PropVal |
void PrintPropVals (p: PropVals)
| Parameter | Type | Description |
|---|---|---|
| p | PropVals |
void PrintSaveStatus (p: PropVals)
| Parameter | Type | Description |
|---|---|---|
| p | PropVals |
void PrintTextItem (textItem: TextItem)
| Parameter | Type | Description |
|---|---|---|
| textItem | TextItem |
void PrintTextItems (textItems: TextItems)
| Parameter | Type | Description |
|---|---|---|
| textItems | TextItems |
void PrintUpdateBookStatus (p: PropVals)
| Parameter | Type | Description |
|---|---|---|
| p | PropVals |
int PromptInt (message: string, stuffVal: string)
| Parameter | Type | Description |
|---|---|---|
| message | string | |
| stuffVal | string |
int PromptMetric (message: string, stuffVal: string, defaultunit: int)
| Parameter | Type | Description |
|---|---|---|
| message | string | |
| stuffVal | string | |
| defaultunit | int |
int PromptString (message: string, stuffVal: string)
| Parameter | Type | Description |
|---|---|---|
| message | string | |
| stuffVal | string |
int RemoveMenu (fromMenu: string, label: string)
| Parameter | Type | Description |
|---|---|---|
| fromMenu | string | |
| label | string |
int ReturnValue (retvalue: int)
| Parameter | Type | Description |
|---|---|---|
| retvalue | int |
int ScrollBox (title: string, stringslist: Strings, _default: int)
| Parameter | Type | Description |
|---|---|---|
| title | string | |
| stringslist | Strings | |
| _default | int |
int SetDdeInstance (ddeInstance: uint)
| Parameter | Type | Description |
|---|---|---|
| ddeInstance | uint |
int ShortcutExists (shortcut: string)
| Parameter | Type | Description |
|---|---|---|
| shortcut | string |
void SimpleNewDoc (templateName: string, interactive: int)
| Parameter | Type | Description |
|---|---|---|
| templateName | string | |
| interactive | int |
void SimpleOpen (fileName: string, interactive: int)
| Parameter | Type | Description |
|---|---|---|
| fileName | string | |
| interactive | int |
| Parameter | Type | Description |
|---|---|---|
| seconds | int |
| Parameter | Type | Description |
|---|---|---|
| s | string |
int USleep (microseconds: int)
| Parameter | Type | Description |
|---|---|---|
| microseconds | int |
void WinInstallDefaultMessageFilter ()
| Jongware, 31-Oct-2011 v3.0.3f | Contents :: Index |