address

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
get the address
Summary

Reports the name of the system the application is running on.

Introduced1.0
Changes

Support for AppleTalk zone addresses on Mac OS systems was removed in version 1.1. In previous versions, the address property reported the application's AppleTalk address, including its zone.

OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Example
put the address into myAddress
put last item of the address into theAppName
Values
NameTypeDescription
Value

The address reports the computer's name, a colon, and the file path|path to the application. The address property is read-only and cannot be set.

RelatedCommand: send to program
Glossary: property, application, domain name, Mac OS, file path, read-only
Description

Use the address property to find out the path to the application, or the name of the system.

For example, if LiveCode is running on a Mac OS system named "Heliand", and the LiveCode folder is located on a volume called "Fnord", its address property is Heliand:/Fnord/LiveCode/LiveCode.

On Unix systems, the computer's name is its domain name. On Mac OS|Mac OS systems, the name is the one set in the File Sharing control panel.

Tagsnetworking