with

Typekeyword
DictionaryLCS
LibraryLiveCode Script
Syntax
with
Summary

Used with several commands, usually to specify a default setting or send a callback message when the operation of the command is complete.

Introduced1.0
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
open socket to "www.example.net" with message "mySocketOpened"
ask file "Please name the file:" with the short name of me
click at 100,100 with shiftKey
RelatedKeyword: default, without, using, string
Message: appleEvent
Command: combine, click, answer color, unlock screen, open printing, answer, type, show, visual effect, replace, wait, ask file, hide, , import, answer folder, answer file, group, open socket, split, drag, ask, load, send to program, create stack, reply, union, request, export, write to socket, filter, launch, read from socket, intersect, ask password
Object: button
Glossary: delimiter, mask, callback, wildcard, message, keyword, array, command, dialog box
Description

Use the with keyword to complete a command that requires it.

The with keyword is used with the following commands:

When used with the combine or split command, the with keyword is a synonym for using.