Skip to main content

740 docs tagged with "command"

View all tags
Docs

accept

Accepts an internet connection and creates a socket for that connection.

add

Adds a number to a container and places the resulting value in the container.

AddData

Use this command to add data to the data grid after you have already populated it by setting the dgData or dgText.

AddLine

Add tab delimited text to the data grid after you have already populated it by setting the dgData or dgText.

androidRequestPermission

Displays a dialog showing a permission request for permissionName. If a user has already granted permission for permissionName, this command does nothing.

answer

Displays a dialog box with a message and up to seven buttons.

answer color

Displays the operating system's standard color-selection dialog box.

answer file

Displays a standard file dialog for the user to select a file.

answer folder

Displays a standard file dialog for the user to choose a folder.

answer printer

Displays the appropriate printer selection dialog for the platform.

ask

Displays a dialog box with a prompt, a text box for the user to enter a response, and OK and Cancel buttons.

ask file

Displays a standard Save dialog for the user to enter a file name and specify a location.

ask file with type

Displays a standard Save dialog for the user to enter a file name and specify a location.

ask password

Displays a dialog box like the ask command, but with the characters the user types displayed as asterisks (*) for privacy.

beep

Sounds the system beep.

blur

Blur the imageData of an image by a given radius.

breakpoint

Pauses the handler and displays the debugger window.

call

Executes the specified handler in any object's script.

cameraControlDo

Execute specific behaviors of camera controls created using cameraControlCreate.

cancel

Removes a message that was queued with the send command and is waiting to be sent.

choose

Selects a tool or paint tool.

click

Simulates a mouse click.

clone

Duplicates an object.

close

Closes a stack window.

close driver

Closes a device driver that was opened with the open driver command.

close file

Closes a file that was opened with the open file command.

close process

Closes a process that was started with the open process command.

close socket

Shuts down a connection that was opened with the open socket or accept command.

combine

Transforms an array into a list.

compact

Reclaims unused space within a stack's file structure.

constant

Declares one or more constants and assigns values to them.

convert

Changes a date, a time, or a date and time to a specified format.

copy

Copies selected text or an object to the clipboard or to a card, group, or stack.

create

Creates a new object on the current card.

create alias

Makes a new alias, symbolic link, or shortcut to the specified file or folder.

create card

Makes a new card with the same background (s) as the current card.

crop

Trims an image.

csvExport

Converts a data array into a delimiter separated string

csvExportToFile

Converts a data array into a delimiter separated string and saves it into a file

csvImport

Parse tabular data from a text into an array

cut

Copies the selected text or the selected section of an image, or an object, and deletes it from the selection.

debugDo

Executes a list of statements with additional debugging information when in the debugger.

decrypt

Decrypt data using a cipher

decrypt using rsa

Used to decrypt a file or string with RSA public or private keys and an optional passphrase.

define

Has no effect and is included in LiveCode for compatibility with imported SuperCard projects.

delete

Removes the selected text, or the selected section of an image, or an object.

delete session

Ends the current session and deletes it from the server.

delete stack

Removes a substack from a stack file, or removes a main stack from memory.

delete URL

Removes a file or directory from a server, or removes a file from your system.

DeleteIndex

Deletes the specified indexes from the data grid.

DeleteLine

Deletes the specified lines from the data grid.

DeleteLines

Deletes the specified lines from the data grid.

difference

Removes elements from an array which have a corresponding element in another array, and leaves all others alone.

disable

Dims a control so that it no longer responds to user actions.

disable menu

Dims a menu or menu item so that it no longer responds to user actions.

dispatch

Sends a message to an object via the normal message path.

divide

Divides a container by a number and places the resulting value in the container.

do

Executes a list of statements.

doMenu

Simulates a choice from a menu.

drag

Simulates a mouse click and drag.

drawer

Removed in LiveCode 10.0.

dropboxAddFolderMember

Allows an owner or editor (if the ACL update policy allows) of a shared folder to add another member.

dropboxCopy

Copy a file or folder to a different location in the user's Dropbox. If the source path is a folder all its contents will be copied.

dropboxGetAccountBatch

Get information about multiple user accounts. At most 300 accounts may be queried per request.

dropboxListFolderContinue

Once a cursor has been retrieved from list_folder, use this to paginate through all files and retrieve updates to the folder, following the same rules as documented for list folder.

dropboxListFoldersContinue

Once a cursor has been retrieved from dropboxListFolders, use this to paginate through all shared folder members.

dropboxMove

Move a file or folder to a different location in the user's Dropbox.

dropboxRemoveFolderMember

Allows an owner or editor (if the ACL update policy allows) of a shared folder to remove another member.

dropboxUpload

Create a new file with the contents provided in the request.

dropboxUploadSessionStart

Upload sessions allow you to upload a single file in one or more requests, for example where the size of the file is greater than 150 MB.

edit

Opens the script of an object in the development environment.

EditCell

Sends the EditValue message to the column control for column pColumnName of line pLineNo.

EditCellOfIndex

Same as EditCell but uses an index rather than a line number to locate the line to edit.

EditFieldText

Creates an editable field for editing the contents of pField.

EditKey

Sends the EditValue pKey message to the row control for line pLineNo.

EditKeyOfIndex

Same as EditKey but uses an index rather than a line number to located the line to edit.

enable

Enables a control so that it responds to user actions.

enable menu

Enables a menu or menu item so that it can be chosen by the user.

encrypt

Encrypt data using a cipher.

export

Exports the selected image as a PBM, JPEG, GIF, BMP or PNG file.

export widget

Exports the state of the given widget in a form which can be imported using import widget from array.

filter

Filters each line, item, key or element in a source container or expression, removing the lines, items, keys or elements that do or don't match a pattern.

find

Searches the fields of the current stack.

FindIndex

Same as EditKey but uses an index rather than a line number to located the line to edit.

flip

Invert an image horizontally or vertically.

focus

Places the insertion point in a field, makes a control active, or removes focus from all controls.

get

Places the value of an expression in the it variable.

global

Declares a global variable.

go

Navigates to another card or stack.

grab

Causes an object to follow the movements of the mouse.

group

Creates a new group and adds the selected objects to it.

hide

Makes an object invisible.

import

Creates an image, EPS, audio clip, or video clip and copies the contents of a file into the object.

import snapshot

Creates an image of a portion of the screen, a portion of a stack window, or a specific object and sets it to the long id of the created image.

include

The **include** command executes the given script in the context of the global environment.

intersect

Removes elements from an array if they have no corresponding element in another array.

keyUp

Validate current key

kill

Signals or quits another process or application on the same system.

launch

Starts up an application, optionally opening a document in the application.

launch document

Use the launch command to open a document with the operating system's default program.

launch url

Launches a url in the appropriate manner for the current system.

libURLFollowHttpRedirects

Set this to true if you want libURL GET requests to follow HTTP redirects and GET the page that it is redirected to.

libURLSetDriver

Sets the driver to be used by the libURL library for network transfers.

libURLSetExpect100

Allows for a '100 Continue' header response to be received from the server

libURLSetFTPListCommand

Switches between sending LIST or NLST formats when listing the contents of an FTP directory.

libURLSetLogField

Specifies a field for logging information about uploads and downloads.

load

Downloads the file specified by a URL to a cache where it can be used by another handler.

local

Declares one or more local variables and assigns initial values to them.

lock cursor

Sets the lockCursor property to true, preventing the cursor shape from changing.

lock error dialogs

Sets the lockErrorDialogs property to true, preventing the error window from being displayed when an execution error occurs.

lock menus

Sets the lockMenus property to true, preventing the menu bar from being updated when the controls for the menu bar are changed.

lock messages

Sets the lockMessages property to true, preventing setProp triggers, getProp calls, and certain messages from being sent.

lock moves

Sets the lockMoves property to true, preventing motions caused with the move command from being immediately visible.

lock recent

Sets the lockRecent property to true, preventing cards from being added to the recent cards list.

lock screen

Sets the lockScreen property to true, temporarily preventing the screen from being updated.

log

Invokes the logMessage if it is not empty.

mark

Sets the **mark** property of one or more cards to true.

mergAccessoryRead

This handler requests a read of 'pLength' of data on an active session

mergCLGeocode

Request the placemarks found when searching for the address string

mergCLRequestRegionStatus

This command requests the core location framework determine if the user is inside or outside the region

mergDocShowOpenInMenu

Presents an action sheet on iPhone and popover on iPad showing the apps that the document type can be sent to

mergDocShowOptionsMenu

Presents an action sheet on iPhone and popover on iPad showing the options for the document type

mergGKLoadChallenges

Achievements and leaderboards both allow players to measure their progress playing your game

mergGKPostAchievement

Your game should report progress to Game Center whenever the player makes progress towards completing an achievement

mergGKPostScore

Your game should create the score object and report the score to Game Center immediately after the score is earned

mergGKShowBanner

Allows your game to display a notification banner that displays text to the player

mergMKCreate

This command initialises/creates the map but does not display it

mergMKDelete

This command deletes the current map and removes it from the screen if it's currently visible

mergNotify

This command registers for a notification to be sent to the calling control (me) whenever it occurs

mergNotifyCancel

This command releases the notification observer created by the mergNotify command

mergPopActivity

Presents a modal view that you can use to offer various services from your application

mergReader

Presents a modal PDF file reader using the vfrReader open source project

mergSettings

Presents a modal settings dialog using InAppSettingsKit

mergSocial

Presents a modal view for posting to the specified social network service

mergTweet

Send a tweet using the standard iOS tweet sheet

mobileAdRegister

Registers the application Inneractive identifier with LiveCode.

mobileControlDo

Execute specific behaviors of native mobile controls created using mobileControlCreate.

mobileFindContact

Allows the user to search for a contact, based on the contact's name.

mobileLockIdleTimer

Prevents iOS or Android from dimming or locking the screen after periods of no user interaction.

mobilePick

Presents the user with a native list picker dialog.

mobilePickDate

Allows the user to select the date, time or both the date and time (iOS Only) using the native device date picker.

mobilePickMedia

Allows the user to select iPod media items on iOS or start a media selector on Android.

mobileRestorePurchases

Instructs the App Store or Marketplace to re-send notifications of previously completed purchases.

mobileUnlockIdleTimer

Allows iOS or Android to dim and lock the screen after periods of no user interaction.

modal

Opens a stack as a modal dialog box.

modeless

Opens a stack in a modeless dialog window.

move

Moves an object from one location to another.

multiply

Multiplies a number by a container and places the resulting value in the container.

OAuth2

Present an authorization dialog for any web service that supports OAuth2 Authorization Code Flow

OAuth2Refresh

Obtain a new authorization token using a refresh token

open driver

Establishes a connection to a device so you can send data to it or get data from it.

open file

Opens a file so its contents can be accessed or modified.

open printing

Begins a batch print job, which allows more than one card to be printed on a page.

open printing to pdf

Starts a print loop that outputs directly to pdf rather that the currently configured printer.

open socket

Establishes either a TCP or UDP communications socket between your system and another system.

option

Displays an option menu whose menu items are buttons in a stack.

palette

Opens a stack in a palette window.

paste

Pastes the contents of the clipboard into the selection or insertion point.

place

Adds an existing group of objects to a card and sets the sharedBehavior property to true.

play

Plays a movie or sound.

pop

Retrieves a card from the list created with the push command, and either goes to that card or places its ID in a container.

popup

Displays a popup menu whose menu items are either lines in a button or buttons in a stack.

post

Sends data to a web server using the POST action of HTTP.

prepare

Preloads a movie into memory.

print

Prints one or more cards.

print anchor

Defines a target for an internal hyperlink within a PDF document.

print bookmark

Creates a document outline in a PDF generated by the pdf printing commands.

print link

Defines a hyperlink within a pdf print loop.

pulldown

Displays a pulldown menu whose whose menu items are buttons in a stack.

push

Places a card's long ID in a list, from which it can be retrieved later with the pop command.

put

Places a value into a container.

put content

Write the given (unicode) string to stdout, processing it for suitable output in an SGML content context.

put cookie

Sets a cookie in a visiting browser for a given URL.

put header

Replaces or adds a CGI output header to the current list that is generated the first time any data is output to stdout.

put markup

Write the given (unicode) string to stdout, processing it for suitable output in an SGML markup context.

put text

Write the (unicode) text string to stdout.

put unicode

Inserts a unicode string into a field where specified.

qrSetColors

Set colors other than the default black and white

quit

Quits the application.

read from driver

Takes incoming data from a device that has been opened with the open driver command, and places the data in the it variable.

read from file

Takes data from a file that has been opened with the open file command, and places the data in the it variable.

read from process

Accepts the output of a process that was opened with the open process command, placing the data in the it variable.

read from socket

Accepts data from a socket and places the data in the it variable.

record sound

Starts recording from the system's audio input to a file.

redo

The **redo** command is not implemented and is reserved.

RefreshIndex

Redraws row associated with pIndexes using latest data.

RefreshList

Redraws the data displayed in the data grid.

relayer

Aids the manipulation of layers.

remove

Deletes a group from a specified card.

remove script

Takes an object out of the message path that was placed in the message path with the insert script command.

rename

Gives a file or folder a new name or moves it to a new location or both.

replace

Replaces text in a container with other text.

replace in field

Replaces text in a field container with other text with control over what happens to existing styling.

reply

Returns data to an application that sent LiveCode an Apple Event.

request

The **request** data gets information from another application via Apple Events.

require

Executes the given script in the context of the global environment.

reset

Returns the specified template object to its default settings.

reset paint

Restores the default settings of the global properties that apply to painting.

reset printing

Resets the current printer and settings to the system defaults.

resetAll

Closes all open sockets and halts all pending Internet operations.

ResetList

Redraws the data grid data after having copied in fresh copies of any templates.

ResizeToFit

Used internally when the rect of the data grid changes.

resolve image

Resolves a short id or name of an image relative to an object to find the long id of the image that will use as an icon or pattern on the object.

revert

Restores a stack to its state when last saved, deleting all changes made since the last save.

revGoToFramePaused

No longer supported, and included for backwards compatibility only. Moves an animation created in the Animation Builder to the specified frame.

revGoURL

Used to open a URL in a web browser.

revLoadSpeech

Loads the operating system's text-to-speech software from memory.

revMail

Opens a new email message in the user's email program.

revMailUnicode

Opens a new unicode email message in the user's email program

revMoveFolder

Moves a folder with all its contents to another location.

revPlayAnimation

No longer supported and included for backwards compatibility only.

revPrintReport

Prints a report from the report viewers on the current card.

revSetSpeechPitch

Sets the pitch (whether the voice is high or low) to be used with text to speech.

revSetSpeechProvider

The speechProvider is either "sapi4", "sapi5" or "speechmanager", or empty for the default.

revShowPrintDialog

Controls display of the Page Setup (on Mac OS systems) and Print dialog boxes when using the revPrintField or revPrintText commands.

revSpeak

Speaks text through the computer's speakers.

revStopAnimation

No longer supported and included for backwards compatibility, halts an animation created with the Animation Builder in LiveCode versions older than 2.5.

revStopSpeech

Halts a speech that was started with the revSpeak command.

revUnloadSpeech

Removes the operating system's text-to-speech software from memory.

revUpdateGeometry

Moves and resizes objects according to their Geometry pane settings.

revXMLAddNode

Adds a child node to the specified parent node in an XML tree.

revXMLCopyNode

Duplicates a node in an XML tree and copies it to the specified position

revXMLInsertNode

Inserts a node as a sibling of siblingNode in the specified tree.

revXMLRPC_SetHost

Sets the host and optionally the port of an XML-RPC document structure.

revXMLSetAttribute

Creates an attribute of a node, or sets the value of an existing attribute.

revZipCancel

Cancels the current zip operation from within the revZip progress callback.

rotate

Rotates an image through the specified angle.

save

Saves a stack file on the user's system.

ScrollIndexIntoView

Scrolls the data grid so that the line associated with pIndex in the internal data array is in view.

seek

Locates a position in a file, to be used by the read from file and write to file commands.

select

Selects part of the text of a field, or places the insertion point in a field, or removes the insertion point, or Selects one or more objects.

SelectAll

Selects all lines in the data grid.

send

Sends a message to an object.

set

Assigns a value to a property.

SetDataOfLine

Updates the internal array of line pLine in the data grid.

sheet

Displays a stack as a sheet dialog box.

show

Makes an object visible.

show cards

Flips through cards in the current stack.

sort

Sorts the cards of a stack into a new order.

sort container

Sorts the lines or items of a container into a new order.

SortDataByKey

SortDataByKey is the underlying command that all column sorts call.

split

Transforms a list into an array.

start

Resumes playing a paused movie or sound.

stop

Stops a currently playing sound or movie.

stop moving

Stops an object that was set in motion by the move command.

stop session

Ends the session explicitly, saving the contents of the $_SESSION variable.

stop using

Removes a stack from the message path that was placed in it with the start using command.

subtract

Subtracts a number from a container and places the resulting value in the container.

symmetric difference

Removes elements from a target array which have a corresponding element in a template array, and adds elements from the template array that have no which have no corresponding element in the target array.

topLevel

Opens a stack in an editable window.

tsNetCABundle

Sets a CA bundle to be used for SSL connections within the tsNet external.

tsNetClose

Closes all open connections and disables the tsNet external.

tsNetCreateMissingDirs

Enable or disable automatic creation of missing directories when uploading files via FTP or SFTP.

tsNetInit

Initialises the tsNet external. This must be done prior to calling any other functions within the tsNet library.

tsNetSetDebugCallback

Sends a message to the given callback with verbose debug information during network transfers.

tsNetSetDirNLST

Enable or disable "simple" directory listings over FTP and SFTP.

tsNetSetProxy

Enable or disable the use of a proxy for networking transfers.

tsNetSetStatusCallback

Sends a message to the given callback when status updates are available for network transfers.

tsvExport

Converts a data array into a delimiter separated string

tsvExportToFile

Converts a data array into a delimiter separated string and saves it into a file

tsvImport

Parse tabular data from a text into an array

type

Simulates typing on the keyboard.

undefine

Has no effect and is included in LiveCode for compatibility with imported Oracle Media Objects and SuperCard projects.

undo

Reverses the last user action.

ungroup

Makes a group's objects into card objects, deleting the group.

unhilite

Sets a button's hilite property to false.

union

Combines two arrays.

unload

Removes a file that was placed in the local cache by the load command, or cancels a download or upload in progress.

unlock clipboard

Unlocks the clipboard and pushes the changes to the system clipboard.

unlock cursor

Sets the lockCursor property to false, allowing the cursor shape to change normally depending on what the mouse pointer is over.

unlock error dialogs

Sets the lockErrorDialogs property to false, allowing the error window to be displayed when an execution error occurs.

unlock menus

Sets the lockMenus property to false, so the menu bar is updated when the menus are changed.

unlock messages

Sets the lockMessages property to false, allowing messages to be sent when navigating between cards.

unlock moves

Sets the lockMoves property to false, allowing object motions caused with the move command to be seen.

unlock recent

Sets the lockRecent property to false, allowing cards to be added to the recent cards list.

unlock screen

Sets the lockScreen property to false, updating the screen and displaying any changes made since the screen was locked.

unmark

Sets a card's mark property to false.

wait

Pauses a handler before executing the rest of its statements.

write to driver

Sends data to a device that has been opened with the open driver command.

write to file

Places data in a file that has been opened with the open file command.

write to process

Sends input to a process that was opened with the open process command.

XBrowser_Init

Is included for backwards compatibility and does nothing.

XPDFViewer_GoToPage

Navigate to a page using either one of the four navigation constants or a specific pageNumber.

XPDFViewer_Image

This command sets the value of a named variable to the imageData of the rendered page.

XPDFViewer_Open

Create a named PDF Viewer associated with a specific stack window.

XPDFViewer_Unicode

This command sets the value of a named variable to the UTF16 encoded text of a specific page.

XPDFViewer_Zoom

Zoom the page using either one of the five zoom constants or a specified percentage.