Field-Map Scripting

Topics with keyword "Script"

1. What is a Field-Map script

... is a Field-Map Script What is a Field-Map...

2. Why use Field-Map scripts

...Why use Field-Map Scripts Why use Field-Map ...

3. How to create a Field-Map script

... create a Field-Map Script How to create a Field...

4. Some Field-Map scripting key terms

Some Field-Map Scripting key terms Some Field-...

5. Field-Map script types overview

Field-Map Script types overview Field-Map Script ...

6. On-Validate scripts

On-Validate Scripts On-Validate Scripts This kind ...

7. On-Change scripts

On-Change Scripts On-Change Script This kind ...

8. On-Demand scripts

On-Demand Scripts On-Demand Script This kind ...

9. Layer scripts

Layer Scripts Layer Scripts This kind of ...

10. List of layer events

... List of layer events BeforeImport AfterImport BeforeEmptyLayer Variable: RunBeforeAndAfterDeleteScripts (output), descr: 0 display...

11. Global scripts

Global Scripts Global Scripts Global Scripts are ...

12. List of global events

... events List of global Scripts Category: Field-Map AfterOpenFieldMap BeforeCloseFieldMap ABORT=YES AfterOpenSystemTables AfterOpenProject BeforeRunDLL...

13. Writing On-Validate / On-Change scripts in Field-Map Project Manager

...-Validate / On-Change Scripts in Field-Map Project...

14. Writing On-Demand scripts in Field-Map Project Manager

Writing On-Demand Scripts in Field-Map Project ...

15. Writing Layer scripts in Field-Map Project Manager

Writing Layer Scripts in Field-Map Project ...

16. Writing scripts in Field-Map Data Collector

Writing Scripts in Field-Map Data ...

17. Hot keys

...Hot keys Hotkeys for Scripting in Field-Map Data ...

18. Format strings

... recognized in Field-Map Scripting. FORMAT attributes: format string meaning specifier...

19. Accessing Field-Map data within a script

...-Map data within a Script Accessing Field-Map data within...

20. Using Field-Map predefined variables

... which make Field-Map Scripting more convenient an effective...

21. Disabling events

... events Disabling events in Scripts Assigning a value to a...

22. DisableScripts

DisableScripts DisableScripts procedure Prototype: procedure DisableScripts; DeScription:...

23. EnableScripts

EnableScripts EnableScripts procedure Prototype: procedure EnableScripts; DeScription:...

24. ScriptsEnabled

ScriptsEnabled ScriptsEnabled property Prototype: property ScriptsEnabled ...

25. Referencing scripts

Referencing Scripts Referencing Scripts Sometimes it is ...

26. PerformLayerScript

PerformLayerScript PerformLayerScript function Prototype: function PerformLayerScript (const ...

27. PerformOnChangeScript

PerformOnChangeScript PerformOnChangeScript function Prototype: function PerformOnChangeScript (const ...

28. PerformOnChangeScriptForAllRecords

PerformOnChangeScriptForAllRecords PerformOnChangeScriptForAllRecords function Prototype: function PerformOnChangeScriptForAllRecords ...

29. General

... variables Database Array XML Date Measurement (support of devices) GIS Lists ScriptOrganizer Stem profile Species groups

30. InputFromCheckListTab

...(const caption, msg: string; tab : TFieldMapTableScriptWrapper; FormatString, FormattedAtts, TaggedAtt, ValAtt...

31. List of button names

... of ShowButton/HideButton procedures. 'NewPlotButton' 'DeletePlotButton' 'ImportDataButton' 'ValidityCheckingButton' 'VerifyInheritedDataButton' 'DatabaseToolsButton', 'SynchronizationButton' 'ShowNavigatorButton' 'ExtensionsButton' 'ScriptEditorButton' 'EditLookupListsButton' 'CheckCompassButton' 'HelpPlotButton'

32. Mean

...:string; const NullAsZero :boolean) : extended; DeScription: Calculates arithmetic mean of...

33. QuadraticMean

...:string; const NullAsZero :boolean) : extended; DeScription: Calculates quadratic mean of...

34. Median

...:string; const NullAsZero :boolean) : extended; DeScription: Calculates median of a...

35. SampleVariance

...:string; const NullAsZero :boolean) : extended; DeScription: Calculates variance of a...

36. StandardDeviation

...:string; const NullAsZero :boolean) : extended; DeScription: Calculates standard deviation of...

37. StandardError

...:extended; const NSample :integer) : extended; DeScription: Calculates standard error of...

38. MeanError

...:extended; const NSample :integer) : extended; DeScription: Calculates maximal accepted error...

39. VarianceOfMean

...:integer; const NPopulation :extended) : extended; DeScription: Calculates variance of mean...

40. SampleSize

...:extended; const StudentLevel :integer) : integer; DeScription: Calculates the minimum number...

41. ShowDistributionChart

... Xlabel_,ChartLabel_,Options_ :string); DeScription: Shows distribution chart from...

42. ParameterizeRegressionModel

... Rcoef, Syx, Count : variant) : boolean; DeScription: Parameterizes the regression model...

43. Predefined variables

... which make Field-Map Scripting more convenient an effective...

44. PlaySoundFromFile

... PlaySoundFromFile(const FilePath: string); DeScription: The PlaySoundFromFile procedure plays...

45. Example

... how to make a Scripts in your project easily...

46. CloseAndFreeTable

...: procedure CloseAndFreeTable (var TableName : TFieldMapTableScriptWrapper); DeScription: Procedure CloseAndFreeTable serves...

47. XML

XML XML ScriptingXML members Methods and properties of ...

48. TScriptXMLDocument members

TScriptXMLDocument members TScriptXMLDocument members In this ...

49. OpenXMLDocument

... OpenXMLDocument(const FileName : string) : TScriptXMLDocument; DeScription: Use OpenXMLDocument to open...

50. OpenLockedXMLDocument

... OpenLockedXMLDocument(const FileName : string) : TScriptXMLDocument; DeScription: Use OpenLockedXMLDocument to open...

51. OpenXMLDocumentExt

... string; var ErrorMsg :string) : TScriptXMLDocument; DeScription: Use OpenXMLDocument to open...

52. OpenXMLDocumentFromString

... OpenXMLDocumentFromString(const strXML: string) : TScriptXMLDocument; DeScription: Use OpenXMLDocumentFromString to open...

53. OpenXMLDocumentFromStringExt

...(const strXML, ErrorMessage: string) : TScriptXMLDocument ; DeScription: Use OpenXMLDocumentFromStringExt to...

54. FreeXMLDocument

...: procedure FreeXMLDocument (var AXMLDoc : TScriptXMLDocument); DeScription: Serves to finish...

55. GetAttributeValueFromXMLDocument

... Filename_, ElementPath_, AttributeName_ :string) :variant; DeScription: Gets an attribute value...

56. Example

...:boolean; v:variant; XMLdoc:TScriptXMLDocument; RootElement :TScriptXMLElement; errormsg:string;...

57. TScriptXMLElement members

TScriptXMLElement members TScriptXMLElement members In this ...

58. GetRootElement

... GetRootElement function Prototype: function GetRootElement: TScriptXMLElement; DeScription: The GetRootElement function is...

59. GetElementName

... GetElementName function Prototype: function GetElementName: string; DeScription: The GetElementName function returns...

60. GetChildElements

... GetChildElements(const ElementPath: string): TScriptXMLElementList; DeScription: The GetChildElements function returns...

61. GetFirstChildElement

... GetFirstChildElement(const ElementPath: string): TScriptXMLElement; DeScription: The GetFirstChildElement function returns...

62. GetElementText

... GetElementText function Prototype: function GetElementText: string; DeScription: The GetElementText function returns...

63. GetElementInteger

... GetElementInteger function Prototype: function GetElementInteger: variant; DeScription: The GetElementInteger function returns...

64. GetElementDouble

... GetElementDouble function Prototype: function GetElementDouble: variant; DeScription: The GetElementDouble function returns...

65. GetElementBoolean

... GetElementBoolean function Prototype: function GetElementBoolean: variant; DeScription: The GetElementBoolean function returns...

66. GetElementCDATA

... GetElementCDATA function Prototype: function GetElementCDATA: string; DeScription: The GetElementCDATA function returns...

67. HasAttribute

... HasAttribute(const AttributeName: string): boolean; DeScription: Use the HasAttribute function...

68. HasNoNullAttribute

... HasNoNullAttribute(const AttributeName: string): boolean; DeScription: Use the HasNoNullAttribute function...

69. GetStringAttribute

... GetStringAttribute(const AttributeName: string): variant; DeScription: Use the GetStringAttribute function...

70. GetStringAttributeAsString

... GetStringAttributeAsString(const AttributeName: string): string; DeScription: Use the GetStringAttributeAsString function...

71. GetStringAttributeAsDateTime

... GetStringAttributeAsDateTime(const AttributeName: string): variant; DeScription: Use the GetStringAttributeAsDateTime function...

72. GetIntegerAttribute

... GetIntegerAttribute(const AttributeName: string): variant; DeScription: Use the GetIntegerAttribute function...

73. GetIntegerAttributeAsInteger

... string; const NullValue: integer): integer; DeScription: Use the GetIntegerAttributeAsInteger function...

74. GetFloatAttribute

... GetFloatAttribute ( const AttributeName : string) : variant; DeScription: Use the GetFloatAttribute function...

75. GetFloatAttributeAsVariant

... GetFloatAttributeAsVariant(const AttributeName: string): variant; DeScription: Use the GetFloatAttributeAsVariant function...

76. GetFloatAttributeAsFloat

... string; const NullValue: extended): extended; DeScription: Use the GetFloatAttributeAsFloat function...

77. GetBooleanAttribute

... GetBooleanAttribute(const AttributeName: string): variant; DeScription: Use the GetBooleanAttribute function...

78. GetFirstChildElementStringAttribute

...(const ElementPath, AttributeName: string): variant; DeScription: Use the GetFirstChildElementStringAttribute function...

79. GetFirstChildElementStringAttributeAsString

...(const ElementPath, AttributeName: string): string; DeScription: Use the GetFirstChildElementStringAttributeAsString function...

80. GetFirstChildElementIntegerAttribute

...(const ElementPath, AttributeName: string): variant; DeScription: Use the GetFirstChildElementIntegerAttribute function...

81. GetFirstChildElementIntegerAttributeAsInteger

... string; const NullValue: integer): integer; DeScription: Use the GetFirstChildElementIntegerAttributeAsInteger function...

82. GetFirstChildElementFloatAttribute

...(const ElementPath, AttributeName: string): variant; DeScription: Use the GetFirstChildElementFloatAttribute function...

83. GetFirstChildElementFloatAttributeAsVariant

...(const ElementPath, AttributeName: string): variant; DeScription: Use the GetFirstChildElementFloatAttributeAsVariant function...

84. GetFirstChildElementFloatAttributeAsFloat

... string; const NullValue: extended) : extended; DeScription: Use the GetFirstChildElementFloatAttributeAsFloat function...

85. GetFirstChildElementBooleanAttribute

...(const ElementPath, AttributeName: string): variant; DeScription: Use the GetFirstChildElementBooleanAttribute function...

86. Name

... Name property Prototype: property Name: string; DeScription: The Name property returns...

87. FreeXMLElement

...: procedure FreeXMLElement (var AElement : TScriptXMLElement); DeScription: Serves to finish...

88. SaveValuesToTable

... procedure Prototype: procedure SaveValuesToTable(tab : TFieldMapTableScriptWrapper); DeScription: Saves all element...

89. GetRootElementName

... GetRootElementName(const FileName :string) :string; DeScription: gets name of the...

90. GetFirstChildElementText

... GetFirstChildELementText(const ElementPath :string) :string; DeScription: Gets text of the...

91. GetFirstChildElementinteger

... GetFirstChildELementinteger(const ElementPath :string) :variant; DeScription: Gets value of the...

92. GetFirstChildElementDouble

... GetFirstChildELementDouble(const ElementPath :string) :variant; DeScription: Gets value of the...

93. GetFirstChildElementboolean

... GetFirstChildELementBoolean(const ElementPath :string) :variant; DeScription: Gets value of the...

94. TScriptXMLElementList members

TScriptXMLElementList members TScriptXMLElementList members In this ...

95. GetCount

... GetCount function Prototype: function GetCount: integer; DeScription: The GetCount function returns...

96. GetElement

...: function GetElement(index: integer): TScriptXMLElement; DeScription: The GetElement function returns...

97. FreeXMLElementList

...: procedure FreeXMLElementList (var AElementList : TScriptXMLElementList); DeScription: Serves to finish...

98. Example

Example Example (TScriptXMLElementList members) XML syntax: <ROOTELEMENT> ...

99. AddTableData

...: procedure AddTableData (xmlout Table : TFieldMapTableScriptWrapper, Name : string); DeScription: Adds...

100. AddLayerData

... procedure Prototype: procedure AddLayerData (xmlout : TFieldMapTableScriptWrapper, IncludingChildLayers : boolean); DeScription: Adds...

101. Example

... string ; tab : TFieldMapTableScriptWrapper ; begin xmlfile := ('...'...

102. ScriptOrganizer

ScriptOrganizer Script Organizer Script organizer enables ...

103. Create

...Create Create constructor Prototype: constructor Create; DeScription: Creates a Script organizer ...

104. Free

...Free Free procedure Prototype: procedure Free; DeScription: Frees a Script organizer ...

105. Caption

... Caption property Prototype: property Caption: variant; DeScription: Sets Caption to a...

106. Header

... Header property Prototype: property Header: variant; DeScription: Sets Header to a...

107. AddGroup

...(const Caption_, Note_ :string); DeScription: Adds a group container...

108. AddSubGroup

...(const Caption_, Note_ :string); DeScription: Adds a sub group...

109. AddAttributeScript

AddAttributeScript AddAttributeScript procedure Prototype: procedure AddAttributeScript(const ...

110. AddOnDemandScript

AddOnDemandScript AddOnDemandScript procedure Prototype: procedure AddOnDemandScript(const ...

111. AddGlobalVariable

...: procedure AddGlobalVariable(const Caption_, ScriptName_, Note_ :string); DeScription: Adds...

112. Show

... Show function Prototype: function Show : boolean; DeScription: Shows a Script organizer Syntax...

113. RegistryNameForLastPositionStyle

... RegistryNameForLastPosition property Prototype: property RegistryNameForLastPosition: string; DeScription: Sets registry value name...

114. LayerWrapper

... instance of the type TFieldMapLayerScriptWrapper = TFieldMapLayerWrapper = TLayerWrapper). In the...

115. Basic

...Basic Basic In this chapter: Name Free ParentName LayerType LayerLevel LayerLabel AutoTimeStampEnabled PerformOnChangeScript PerformOnChangeScriptForAllRecords PerformLayerScript OnLineCalliper_AddAttribute OnLineCalliper_RemoveAttribute OnLineCalliper_ClearAttributes OnLineCalliper_GotoAttribute OnLineCalliper_AddRecordUponReceipt GetCrownProfileVolumeAndSurface GetCrownProjectionAsLine GetCrownProjectionAsPolygon OpenExternalForm Filename AssignAttribute ImportOnlyCentroids Execute IsValidParentLayer

116. PerformOnChangeScript

PerformOnChangeScript PerformOnChangeScript function Prototype: function PerformOnChangeScript (const ...

117. PerformOnChangeScriptForAllRecords

PerformOnChangeScriptForAllRecords PerformOnChangeScriptForAllRecords function Prototype: function PerformOnChangeScriptForAllRecords ...

118. PerformLayerScript

PerformLayerScript PerformLayerScript function Prototype: function PerformLayerScript (const ...

119. IsValidParentLayer

... ImportShapefile.IsValidParentLayer (const PossibleParentLayer_ :TFieldMapLayerScriptWrapper) :boolean; DeScription: Syntax: variable:= Layer...

120. RelationType

...: property RelationType (const PossibleParentLayer_ :TFieldMapLayerScriptWrapper) :integere; DeScription: Returns relation type...

121. SetValuesFromXML

... procedure Prototype: procedure SetValuesFromXML (el_ :TScriptXMLElement); DeScription: Sets values to...

122. StemProfile

... StemProfile property Prototype: property StemProfile: TTableWrapper; DeScription: StemProfile property allows access...

123. OldLayer

... property Prototype: property OldLayer: TFieldMapLayerWrapper; DeScription: The OldLayer property is...

124. GetQueryResult

...(const Select, Where: string): TTableWrapper; DeScription: The GetQueryResult function Syntax...

125. SaveToExcel

... string; OpenExcel, OverwriteSheet : boolean) : boolean; DeScription: Creates Excel file with...

126. AddDataToXML

...: procedure AddDataToXML (xmlout Table : TFieldMapTableScriptWrapper, Name : string); procedure AddDataToXML...

127. GisLayerReference

... GisLayerReference property Prototype: property GisLayerReference: TFieldMapLayerWrapper; DeScription: The GisLayerReference property returns...

128. AddItemToNavigatorXML

... XMLFileName, Caption, Hint : string); DeScription: Procedure serves to add...

129. TableWrapper

... all members of the TableScriptWrapper class are inherited from...

130. Shared Layer members

... members inherited from the LayerScriptWrapper class. By clicking on...

131. FieldExists

... FieldExists(const name :string) :boolean DeScription: Syntax: variable := Layer.TTableWrapper...

132. RecNo

... RecNo property Prototype: property RecNo: integer; DeScription: Syntax: variable := Layer.TTableWrapper...

133. IsTableOpen

... IsTableOpen function Prototype: function IsTableOpen: boolean; DeScription: This function performs a...

134. AsXML

... AsXML function Prototype: function AsXML: string; DeScription: The AsXML function converts...

135. SaveToDbfExt

...(const Filename_, FieldSizes_ :string) :boolean; DeScription: Syntax: variable := Layer.TTableWrapper...

136. AlterTable

...(const FieldName_, DataType_ :string) :boolean DeScription: Syntax: variable := Layer.TTableWrapper...

137. DisplayLabel

... DisplayLabel [const name: string]: string; DeScription: Syntax (set): Syntax (get...

138. BlobAsString

...: property BlobAsString [BlobAttributeName_ :string] :string; DeScription: Syntax: variable := Layer.TTableWrapper...

139. Project

... instance of the type TFieldMapProjectScriptWrapper = TFieldMapProjectWrapper = TProjectWrapper). In the...

140. Basic

...Basic Basic In this chapter: Name DatabaseType Version UserLoginFullName UserLoginName UserGroupName LayerCount Layer GetMapLayerListAsXML ActiveLayer ActiveLayerName LayerAtIndex SysTab_LayerList SysTab_AttributeList GetMapLayerListAsXML ApplyMapLayerList LoadMapLayerListFromXML SaveMapLayerListToXML MapLayerListVisible SendDataToAnotherRunningProject GetResourceString AnotherProjectIsRunning OpenAnotherProject BringProjectToFront SendDataToAnotherRunningProject OpenInactiveLayers CloseInactiveLayers OpenPlot OpenPlotUsingDataCollector RunPolyshape AddLayerWrapper ScriptsEnabled OnValidateScriptsEnabled OnChangeScriptsEnabled OnChangeTimeStampEnabled DisableScripts EnableScripts RunSynchronization RunSynchronizationExt AdjustOnLineCalliperConnection Example

141. ActiveLayer

... ActiveLayer property Prototype: property ActiveLayer : TFieldMapLayerScriptWrapper; DeScription: The ActiveLayer property returns...

142. ScriptsEnabled

ScriptsEnabled ScriptsEnabled property Prototype: property ScriptsEnabled ...

143. OnValidateScriptsEnabled

OnValidateScriptsEnabled OnValidateScriptsEnabled property Prototype: property OnValidateScriptsEnabled ...

144. OnChangeScriptsEnabled

OnChangeScriptsEnabled OnChangeScriptsEnabled property Prototype: property OnChangeScriptsEnabled ...

145. DisableScripts

DisableScripts DisableScripts procedure Prototype: procedure DisableScripts; DeScription:...

146. EnableScripts

EnableScripts EnableScripts procedure Prototype: procedure EnableScripts; DeScription:...

147. RunSynchronization

... MakeBackup : boolean; PlotID : variant; RunBeforeScript : boolean; RunAfterScript : boolean) :boolean; DeScription: Performs...

148. Example

... you might need the Script to carry out some extra...