PowerScript Functions

Abs
ACos
AccessToken
Activate
Add
AddAction
AddAttachment
AddBcc
AddCategory
AddCc
AddColumn
AddContent
AddData
AddFile
AddFallbackFont
AddFolder
AddFormFieldGroup
AddItem
AddItemArray
AddItemBlob
AddItemBoolean
AddItemDate
AddItemDateTime
AddItemNull
AddItemNumber
AddItemObject
AddItemString
AddItemTime
AddLargePicture
AddLinkedResource
AddMasterSeparatorItem
AddPage
AddPicture
AddRecipient
AddRetrieveObject
AddUpdateObject
AddSeparatorItem
AddSeries
AddSmallPicture
AddStatePicture
AddTextBlock
AddToLibraryList
AppendParam
ApplyTheme
Arrange
ArrangeSheets
Asc
AscA
ASin
AsymmetricDecrypt
AsymmetricEncrypt
AsymmetricGenerateKey
AsymmetricSign
AsymmetricVerifySign
ATan
Base32Decode
Base32Encode
Base64Decode
Base64Encode
Base64UrlDecode
Base64UrlEncode
Beep
BeginSession
Blob
BlobEdit
BlobMid
BuildModel
Byte
Cancel
CancelDownload
CancelSync
CanRedo
CanUndo
CategoryCount
CategoryName
Ceiling
ChangeDirectory
ChangeMenu
Char
CharA
Check
ChooseColor
ClassList
ClassName
Clear
ClearAll
ClearBoldDates
ClearClientCert
ClearHeaders
ClearParams
ClearRecentItems
ClearRequestHeaders
Clipboard
Clone
Close
CloseChannel (Obsolete)
CloseDefaultDownloadDialog
CloseTab
CloseUserObject
CloseWithReturn
CloudAppGet
CloudAppSet
CollapseItem
CommandParm
CommitDocking
Compress
ConnectToNewObject
ConnectToNewRemoteObject
ConnectToObject
ConnectToRemoteObject
ContainsKey
ContainsPath
Copy
CopyRTF
Cos
Cpu
CreateDirectory
CreateInstance
CreateJsonArray
CreateJsonObject
CreatePage
Cut
DataCount
DataSource
Date
DateTime
Day
DayName
DayNumber
DaysAfter
DBHandle
DebugBreak
Dec
DeleteCategory
DeleteCheckBox
DeleteColumn
DeleteColumns
DeleteComboBox
DeleteData
DeleteGroup
DeleteItem
DeleteItems
DeleteLargeButton
DeleteLargePicture
DeleteLargePictures
DeleteMasterItem
DeletePanel
DeletePicture
DeletePictures
DeleteRecentItem
DeleteSeries
DeleteSmallButton
DeleteSmallPicture
DeleteSmallPictures
DeleteStatePicture
DeleteStatePictures
DeleteTabButton
DestroyModel
DirectoryExists
DirList
DirSelect
Disable
DisableCommit
DisconnectObject
DisconnectServer
Double
DoVerb
Drag
DraggedObject (obsolete)
Draw
EditLabel
Enable
EnableCommit
EnableSecureConnection
EndMerge
EntryList
EvaluateJavascriptAsync
EvaluateJavascriptSync
ExecRemote (Obsolete)
Exp
ExpandAll
ExpandItem
ExportJSON
ExportXML
ExportToJSONFile
ExportToXMLFile
Extract
ExtractAllAttachments
ExtractAttachmentFile
Fact
FileClose
FileCopy
FileDelete
FileEncoding
FileExists
FileLength
FileLength64
FileMove
FileOpen
FileRead
FileReadEx
FileSeek
FileSeek64
FileWrite
FileWriteEx
Fill
FillA
FillW (obsolete)
Find
FindCategory
FindClassDefinition
FindFunctionDefinition
FindItem
FindMatchingFunction
FindNext
FindSeries
FindTypeDefinition
FormCheckBoxGetChecked
FormCheckBoxInsert
FormCheckBoxSetChecked
FormComboBoxGetItems
FormComboBoxInsert
FormComboBoxSetItems
FormDateFieldGetDate
FormDateFieldGetFormat
FormDateFieldInsert
FormDateFieldSetDate
FormDateFieldSetFormat
FormFieldDelete
FormFieldGetCurrent
FormFieldGetDeletable
FormFieldGetEmptyWidth
FormFieldGetEnd
FormFieldGetStart
FormFieldGetText
FormFieldNext
FormFieldSetCurrent
FormFieldSetDeletable
FormFieldSetEmptyWidth
FormFieldSetText
FormTextFieldInsert
FromAnsi
FromUnicode
GarbageCollect
GarbageCollectGetTimeLimit
GarbageCollectSetTimeLimit
GetAccessToken
GetActiveCategory
GetActiveSheet
GetAlignment
GetApplication
GetApplicationButton
GetArgElement
GetAt
GetAttachmentList
GetAutomationNativePointer
GetBestHeight
GetBody
GetBottomMargin
GetBoxPictureList
GetByte
GetByteArray
GetCategory
GetCategoryByIndex
GetCategoryCount
GetCategoryIndex
GetChapterObject
GetChapterTitle
GetCheckBox
GetChildCount
GetChildItem
GetChildItemByIndex
GetChildItemCount
GetChildKey
GetChildrenList
GetColumn
GetComboBox
GetCommandDDE (Obsolete)
GetCommandDDEOrigin (Obsolete)
GetCommandString
GetCompanyName
GetCompatibleStandards
GetContent
GetContentCount
GetContextKeywords
GetContextService
GetCount
GetCurrentDirectory
GetData
GetDataDDE (Obsolete)
GetDataDDEOrigin (Obsolete)
GetDataLabelling
GetDataPieExplode
GetDataStyle
GetDataTransparency
GetDataValue
GetDateLimits
GetDbmlsyncPath
GetDisplayRange
GetDotNetCoreVersion
GetDynamicDate
GetDynamicDateTime
GetDynamicDecimal
GetDynamicNumber
GetDynamicString
GetDynamicTime
GetEnvironment
GetErrorIndex
GetExpiresIn
GetFallbackFont
GetFallbackFontCount
GetFileOpenName
GetFileSaveName
GetFilesCount
GetFilesList
GetFirstSheet
GetFixesVersion
GetFocus
GetFolder
GetFormField
GetFormFieldCount
GetFormFieldGroup
GetFormFieldGroupCount
GetFont
GetGroup
GetHeader
GetHeaders
GetHeight
GetHostObject
GetHttpRequestHeader
GetHttpRequestHeaders
GetHttpResponseHeaders
GetHttpResponseStatusCode
GetHttpResponseStatusText
GetHttpVersion
GetInstalledRuntimes
GetItem
GetItemArray
GetItemArrayJSONString
GetItemAtPointer
GetItemBlob
GetItemBoolean
GetItemByTag
GetItemByPath
GetItemCount
GetItemDate
GetItemDateTime
GetItemDecimal
GetItemNumber
GetItemObject
GetItemObjectJSONString
GetItemParent
GetItemString
GetItemText
GetItemTime
GetItemType
GetJsonBlob
GetJsonString
GetJWTToken
GetKey
GetLargeButton
GetLastReturn
GetLeftMargin
GetLibraryList
GetLinkAddress
GetMajorVersion
GetMasterItem
GetMasterItemCount
GetMenu
GetMenuByButtonHandle
GetMessage
GetMinorVersion
GetName
GetNativePointer
GetNextSheet
GetNumberType
GetOAuthToken
GetObjectRevisionFromRegistry
GetOrigin
GetOverflowPageText
GetPage
GetPageCount
GetPageSize
GetPanel
GetParagraphSetting
GetParent
GetPathByItem
GetPosByPageIndex
GetPowerServerURL
GetQuickAccessToolbarStatusPath
GetReadOnly
GetRecentItem
GetRecentItemCount
GetRecentTitle
GetRecordSet
GetRefreshToken
GetRemote (Obsolete)
GetRequestHeader
GetRequestHeaders
GetResponseAdditionalData
GetResponseBody
GetResponseHeader
GetResponseHeaders
GetResponseStatusCode
GetResponseStatusText
GetRightMargin
GetRootItem
GetSelectedDate
GetSelectedRange
GetSender
GetSeriesLabelling
GetSeriesStyle
GetSeriesTransparency
GetSessionID
GetShortName
GetSmallButton
GetSource
GetSpacing
GetSQLDBCode
GetSQLErrText
GetStandard
GetStatusCode
GetStatusText
GetStyle
GetSupportScheme
GetSyncRegistryProperties
GetTabButton
GetTabButtonByIndex
GetTabButtonCount
GetTableOfContents
GetText
GetTextBlock
GetTextBlockCount
GetTextColor
GetTextFontName
GetTextFontSize
GetTextStyle
GetTheme
GetTitle
GetToday
GetTokenError
GetTokenType
GetToolbar
GetToolbarPos
GetTopMargin
GetURL
GetValue
GetValueBlob
GetValueBoolean
GetValueDate
GetValueDateTime
GetValueNumber
GetValueString
GetValueTime
GetValueToDataWindow
GetVersionName
GetWidth
GetWrapImage
GetWrapImageCount
GoBack
GoForward
Handle
HexDecode
HexEncode
Hide
HMAC
Hour
HyperLinkToURL
Idle
ImpersonateClient
ImportClipboard
ImportContent
ImportDataWindow
ImportFile
ImportPDF
ImportPDFDocInformation
ImportRichTextEdit
ImportString
ImportJSON
ImportXML
ImportFromJSONFile
ImportFromXMLFile
IncomingCallList
IndexOf
InputFieldChangeData
InputFieldCurrentName
InputFieldDeleteCurrent
InputFieldGetData
InputFieldInsert
InputFieldLocate
InsertCategory
InsertCategoryFirst
InsertCategoryLast
InsertCheckBox
InsertCheckBoxFirst
InsertCheckBoxLast
InsertClass
InsertColumn
InsertComboBox
InsertComboBoxFirst
InsertComboBoxLast
InsertData
InsertDocument
InsertFile
InsertGroup
InsertGroupFirst
InsertGroupLast
InsertItem
InsertItemFirst
InsertItemLast
InsertItemSort
InsertLargeButton
InsertLargeButtonFirst
InsertLargeButtonLast
InsertMasterItem
InsertMasterItemFirst
InsertMasterItemLast
InsertObject
InsertPage
InsertPanel
InsertPanelFirst
InsertPanelLast
InsertPicture
InsertRecentItem
InsertRecentItemFirst
InsertRecentItemLast
InsertSeries
InsertSmallButton
InsertSmallButtonFirst
InsertSmallButtonLast
InsertTabButton
InsertTabButtonFirst
InsertTabButtonLast
Int
Integer
InternetData
IntHigh
IntLow
InvokePBFunction
IsAlive
IsAllArabic
IsAllHebrew
IsAnyArabic
IsAnyHebrew
IsArabic
IsArabicAndNumbers
IsCallerInRole
IsDate
IsHebrew
IsHebrewAndNumbers
IsImpersonating
IsMaximizeAllTabbedSheetsEnabled
IsMinimized
IsNull
IsNumber
IsOverflowPage
IsPBApp
IsPowerClientApp
IsPowerServerApp
IsPreview
IsRunningAsSolution
IsSecurityEnabled
IsStandardCompatible
IsTabbedViewEnabled
IsTime
IsValid
KeyCount
KeyDown
LastPos
LastPosA & LastPosW
Left
LeftA
LeftW (obsolete)
LeftTrim
LeftTrimW (obsolete)
Len
LenA
LenW (obsolete)
Length
LibraryCreate
LibraryDelete
LibraryDirectory
LibraryDirectoryEx
LibraryExport
LibraryImport
LineCount
LineLength
LineList
LinkTo
LinkToObject
LoadDockingState
LoadFile
LoadString
LoadInk
LoadPicture
LoadWithDotNet
LoadWithDotNetCore
LoadWithDotNetFramework
Log
LogFile
LogTen
Long
LongLong
Lower
LowerBound
mailAddress
mailDeleteMessage
mailGetMessages
mailHandle
mailLogoff
mailLogon
mailReadMessage
mailRecipientDetails
mailResolveRecipient
mailSaveMessage
mailSend
Match
MatchW (obsolete)
Max
MD5
MemberDelete
MemberExists
MemberRename
MessageBox
Mid
MidA
MidW (obsolete)
Min
Minute
Mod
ModifyData
Month
Move
MoveTab
Navigate
NavigateToString
NextActivity
Now
ObjectAtPointer
OffsetPos
Open
OpenChannel (Obsolete)
OpenDefaultDownloadDialog
OpenSheet
OpenSheetAsDocument
OpenSheetDocked
OpenSheetFromDockingState
OpenSheetInTabGroup
OpenSheetWithParm
OpenSheetWithParmAsDocument
OpenSheetWithParmDocked
OpenSheetWithParmFromDockingState
OpenSheetWithParmInTabGroup
OpenTab
OpenTabWithParm
OpenUserObject
OpenUserObjectWithParm
OpenURL
OpenWithParm
OutgoingCallList
PageCount
PageCreated
ParentWindow
Paste
PasteLink
PasteRTF
PasteSpecial
PauseDownload
PBGetMenuString
Pi
PixelsToUnits
Play
PointerX
PointerY
PopMenu
PopulateError
Pos
PosA
PosW (obsolete)
Position
Post
PostData
PostDataEnd
PostDataStart
PostEvent
PostJsonWebMessage
PostStringWebMessage
PostURL
Preview
Print
PrintAsPDF
PrintBitmap
PrintCancel
PrintClose
PrintDataWindow
PrintDefineFont
PrintEx
PrintGetPrinter
PrintGetPrinters
PrintLine
PrintOpen
PrintOval
PrintPage
PrintRect
PrintRoundRect
PrintScreen
PrintSend (obsolete)
PrintSetFont
PrintSetPrinter
PrintSetSpacing
PrintSetup
PrintSetupPrinter
PrintText
PrintWidth
PrintX
PrintY
ProfileInt
ProfileString
Rand
Randomize
Read
ReadData
Real
RecognizeText
Redo
Refresh
RegisterEvent
RegisterObject
RegistryDelete
RegistryGet
RegistryKeys
RegistrySet
RegistryValues
RelativeDate
RelativeTime
ReleaseAutomationNativePointer
ReleaseNativePointer
Remove
RemoveAction
RemoveAll
RemoveAllAction
RemoveAllFallbackFont
RemoveAllFormFieldGroup
RemoveAllItem
RemoveApplicationButton
RemoveContent
RemoveDirectory
RemoveFallbackFont
RemoveFormFieldGroup
RemoveItem
RemovePage
RemoveTextBlock
RemoveWrapImage
RequestResource
Repair
Replace
ReplaceA
ReplaceCategoryByJSON
ReplaceCategoryByXML
ReplaceText
ReplaceW (obsolete)
ResendPostRequest
Reset
ResetArgElements
ResetDataColors
ResetInk
ResetPicture
Resize
RespondRemote (Obsolete)
Restart
ResumeDownload
Retrieve
RetrieveOne
RetrieveOrUpdateWithModels
RetrieveWithModel
Reverse
RevertToSelf
RGB
Right
RightA
RightW (obsolete)
RightTrim
RightTrimW (obsolete)
Round
RoutineList
Run
Save
SaveAs
SaveDockingState
SaveDocument
SaveDocumentAsPDF
SaveInk
SaveToFile
Scroll
ScrollNextPage
ScrollNextRow
ScrollPriorPage
ScrollPriorRow
ScrollToRow
SearchObject
Second
SecondsAfter
Seek
SelectedColumn
SelectedIndex
SelectedItem
SelectedLength
SelectedLine
SelectedPage
SelectedStart
SelectedText
SelectionRange
SelectItem
SelectObject
SelectTab
SelectText
SelectTextAll
SelectTextLine
SelectTextWord
Send
SendAsync
SendAsyncCancel
SendDeleteRequest
SendGetRequest
SendPatchRequest
SendPostRequest
SendPutRequest
SendRequest
SeriesCount
SeriesName
SetAbort
SetAccessToken
SetActiveCategory
SetActiveCategoryByIndex
SetAdditionalData
SetAlignment
SetApplicationButton
SetArgElement
SetAutomationLocale
SetAutomationPointer
SetAutomationTimeout
SetBody
SetBoldDate
SetBottomMargin
SetBoxPictureList
SetByte
SetCategory
SetCheckBox
SetClientCert
SetColumn
SetComboBox
SetComplete
SetCredentials
SetData
SetDataDDE (Obsolete)
SetDataLabelling
SetDataPieExplode
SetDataStyle
SetDataTransparency
SetDateLimits
SetDropHighlight
SetDynamicParm
SetFirstVisible
SetFocus
SetFont
SetGroup
SetHeader
SetHeaders
SetHeight
SetHighDPIMode
SetHttpRequestHeader
SetItem
SetItemList
SetJWTToken
SetLargeButton
SetLeftMargin
SetLevelPictures
SetLibraryList
SetLinkAddress
SetMask
SetMasterItem
SetMenu
SetMessage
SetMicroHelp
SetMinimized
SetNewMobiLinkPassword
SetNull
SetOAuthToken
SetOverlayPicture
SetPageSize
SetPanel
SetParagraphSetting
SetParm
SetPicture
SetPointer
SetPosByPageIndex
SetPosition
SetPowerServerURL
SetQuickAccessToolbarStatusPath
SetProfileString
SetProxy
SetRange
SetReadOnly
SetRecentItem
SetRecentTitle
SetRecordSet
SetRedraw
SetRemote (Obsolete)
SetRequestHeader
SetRequestHeaders
SetResultSet
SetRightMargin
SetSecureConnectionProperty
SetSecureConnectionString
SetSelectedDate
SetSelectedRange
SetSender
SetSeriesLabelling
SetSeriesStyle
SetSeriesTransparency
SetSheetID
SetSize
SetSmallButton
SetSpacing
SetState
SetStyle
SetSyncRegistryProperties
SetTab
SetTabButton
SetTableOfContents
SetTextColor
SetTextFontName
SetTextFontSize
SetTextStyle
SetTitle
SetToday
SetToolbar
SetToolbarPos
SetTop
SetTopMargin
SetTraceFileName
SetTransPool
SetValue
SetValueBlob
SetValueBoolean
SetValueByDataWindow
SetValueDate
SetValueDateTime
SetValueNumber
SetValueString
SetValueTime
SetWidth
SHA
SharedObjectDirectory
SharedObjectGet
SharedObjectRegister
SharedObjectUnregister
Show
ShowHeadFoot
ShowHelp
ShowPopupHelp
Sign
SignalError
Sin
Sleep
Sort
SortAll
Space
Sqrt
Start
StartMerge
StartHotLink (Obsolete)
StartServerDDE (Obsolete)
State
StepIt
Stop
StopHotLink (Obsolete)
StopNavigation
StopServerDDE (Obsolete)
String
Submit
SymmetricDecrypt
SymmetricEncrypt
SymmetricGenerateKey
Synchronize
SyntaxFromSQL
SystemRoutine
TableAtInputPos
TableCanChangeAttr
TableCellSelect
TableCellStart
TableColumnAtInputPos
TableDelete
TableDeleteColumn
TableDeleteColumns
TableDeleteRow
TableDeleteRows
TableFromSelection
TableGetCellBackColor
TableGetCellBorderColor
TableGetCellBorderWidth
TableGetCellHeader
TableGetCellHeight
TableGetCellHorizontalExt
TableGetCellHorizontalPos
TableGetCellLength
TableGetCellNumberFormat
TableGetCellText
TableGetCellTextGap
TableGetCellTextType
TableGetCellVertAlign
TableGetColumnCount
TableGetRowCount
TableInsert
TableInsertColumn
TableInsertDialog
TableInsertRow
TableInsertRows
TableMergeCells
TableNext
TablePropertiesDialog
TableRowAtInputPos
TableSetCellBackColor
TableSetCellBorderColor
TableSetCellBorderWidth
TableSetCellHeader
TableSetCellHeight
TableSetCellHorizontalExt
TableSetCellHorizontalPos
TableSetCellNumberFormat
TableSetCellText
TableSetCellTextGap
TableSetCellTextType
TableSetCellVertAlign
TableSplitCells
TabPostEvent
TabTriggerEvent
Tan
TargetInsert
TargetDelete
TargetGetName
TargetNext
TargetGoto
TargetSetName
Text
TextFieldInsert
TextFieldGetText
TextFieldGetType
TextFieldGetTypeData
TextFieldSetText
TextFieldSetTypeAndData
TextFrameGetBackColor
TextFrameGetBorderWidth
TextFrameGetInternalMargin
TextFrameGetMarkerLines
TextFrameGetText
TextFrameInsert
TextFrameInsertAsChar
TextFrameInsertFixed
TextFrameSelect
TextFrameSetBackColor
TextFrameSetBorderWidth
TextFrameSetInternalMargin
TextFrameSetMarkerLines
TextFrameSetText
TextLine
Time
Timer
ToAnsi
Today
Top
TotalColumns
TotalItems
TotalSelected
ToUnicode
TraceBegin
TraceClose
TraceDisableActivity
TraceEnableActivity
TraceEnd
TraceError
TraceOpen
TraceUser
TriggerEvent
PowerBuilder.RegisteredObject.TriggerEvent
TriggerPBEvent
Trim
TrimW (obsolete)
Truncate
TypeOf
Uncheck
Undo
UnitsToPixels
UnregisterEvent
UnregisterObject
UpdateLinksDialog
UpdateWithModel
Upper
UpperBound
UrlDecode
UrlEncode
WebBrowserGet
WebBrowserSet
Which
WordCap
WorkSpaceHeight
WorkSpaceWidth
WorkSpaceX
WorkSpaceY
WrapImage
Write
XMLParseFile
XMLParseString
Year
Yield
Zoom
Appendix: Common function error codes

About this chapter

This chapter provides syntax, descriptions, and examples for PowerScript functions.

Contents

The functions are listed alphabetically.

See also

For information about functions that apply to DataWindows or DataStores, see also DataWindow Reference. Methods that apply to DataWindows, but not to other PowerBuilder controls, are listed only in DataWindow Reference.