SiMX Help‎ > ‎The Target Platform‎ > ‎Objects‎ > ‎

TARGET Object


Platform Objects



TARGET is an auxiliary object that facilitates common scripting tasks.

The purpose of the methods and sub-objects implemented by the TARGET object facilitate all kind of tasks like parsing text data into elements or manipulating arrays as well as executing operation system commands and pulling data from the web and so on.

NOTE:  "trg" also works as a shortcut for the Target object 

TARGET methods could be picked by typing "target." in the script editor which shows the list of methods and sub-object properties.  

Here is a syntax example.  The following calls the ArrayFind() method:

target.ArrayFind(ary, value, pos)

The groups of target methods are listed below:

 
1. target.array 

Add
Allocate
Chop
Clone
Empty
Find
First
Get
GetArray
Insert
Join
Last
Remove
Set
SetArray
Sort
UBound

2. target.file

Copy
Delete
Exists
GetDate
GetExtension
GetExtensionByMIME
GetMIME
GetName
GetSize
GetText
IsLocked
IsTextPDF
Move
Read
Rename
Replace
SetDate
Unzip
Write
Zip


 
3. target.mail

Connect
Delete
Disconnect
GetMessage
GetMessages
Move
ReplacePath
Send
SetAttachments
SetCC
SetFont
SetHeaders
SetPickupFolder
SetSMTP

4. 
target.map

CloneEmpty
Get
GetRadio
IsEmpty
IsFull
Set
SetAll
SetRadio

5. target.progress

Increment
SetLimit

6. target.strlib

Chop
Delete
Extract
GetAddress
GetCityStateZip
GetEmail
GetName
GetPhone
GetSSN
GetWord
GetWords
InStr
Mid
Replace
SetCaseSensitive
Split
Trim


 
7. target.weblink

CopyTo
Download
HTTPRequest
NSLookup
Respond

8. target

ArrayFind
ArrayInsert
CloseAllDBConnections
CreateObject
Execute
FormatDate
FormatNumeric
GetDateRange
GetItem
GetMessage
GetProcessData
GetProcesses
GetProcessID
GetProcessTime
GetStartPath
GetService
GetUniqueString
IIF
InitDate
InitNumeric
IsEmpty
IsNumeric
IsRunning
IsTrue
KillProcess
Max
Min
Message
RunOnce
Replace
SaveProject
Sleep
Sort
TimerGet
TimerSet
SplitString
Update
Validate


Back (TextConverter Object) | Next (Value Object)

Back (Objects and Methods)