
AppleScript
MacENC™ supports AppleScript. Table of available MacENC suite
properties:
| Item | Owner | Kind | Type | Possible value | Example | Description |
| gps | application | element | class | The application gps element | ||
| altitude | gps | property | Unicode text | Altitude | "224'" | The Formatted Altitude |
| cog | gps | property | Unicode text | Course Over Ground | "224º TRUE" | The Formatted Course Over Ground |
| sog | gps | property | Unicode text | Speed Over Ground | "9.5 KTS" | The Formatted Speed Over Ground |
| latitude | gps | property | Unicode text | Latitude | " 33º57.09'N" | The Formatted Latitude |
| longitude | gps | property | Unicode text | Longitude | "127º52.27'W" | The Formatted Longitude |
| fix | gps | property | Unicode text | Fix | "GPS-Auto-3D" | The Formatted Fix |
| utc | gps | property | Unicode text | UTC | "19:49:23" | The Formatted UTC |
| canConnect | gps | property | integer | true or false | Returns true when a GPS can be connected to | |
| IsConnected | gps | property | integer | true or false | Returns true when a GPS is connected to | |
| connect | gps | command | Connect to a GPS | |||
| disconnect | gps | command | Disconnect from a GPS |
| Item | Owner | Kind | Type | Possible value | Example | Description |
| instruments | application | element | class | The application instruments element | ||
| speed | instruments | property | Unicode text | Speed through water | "9.5 KTS" | The Formatted Speed through water |
| heading | instruments | property | Unicode text | Heading | "224º TRUE" | The Formatted Heading |
| depth | instruments | property | Unicode text | Depth | "33.2'" | The Formatted Depth |
| temperature | instruments | property | Unicode text | Temperature | "50F" | The Formatted Temperature |
| windAngle | Instruments | property | Unicode text | Wind Angle | "24º" | The Formatted Wind Angle |
| windSpeed | instruments | property | Unicode text | Wind Speed | "19.3 KTS" | The Formatted Wind Speed |
| canConnect | gps | property | integer | true or false | Returns true when instruments can be connected to | |
| IsConnected | gps | property | integer | true or false | Returns true when instrurments are connected to | |
| connect | gps | command | Connect to instruments | |||
| disconnect | gps | command | Disconnect from instruments |
| Item | Owner | Kind | Type | Possible value | Example | Description |
| waypoints | application | element | class | the applcation waypoints element | ||
| hasActiveWaypoint | waypoints | property | integer | true or false | Returns true when there is an active waypoint | |
| activeWaypointName | waypoints | property | Unicode text | waypoint name | "ALCTZ" | The active waypoint name |
| activeWaypointBearing | waypoints | property | Unicode text | waypoint bearing | "21º MAG" | The active waypoint bearing |
| activeWaypointDistance | waypoints | property | Unicode text | waypoint distance | "21.5 NM" | The active waypoint distance |
| activeWaypointVelocity | waypoints | property | Unicode text | waypoint velocity | "8.3 KTS" | the active waypoint velocity |
| activeWaypointCrossTrack | waypoints | property | Unicode text | waypoint cross track error | "0.2 NM Port" | the active waypoint cross track error |
| activeWaypointTimeToGo | waypoints | property | Unicode text | wayoint time to go | "1:24" | the active waypoint time to go |
| closestWaypointName | waypoints | property | Unicode text | waypoint name | "MVHOME" | The closest waypoint name |
| closestWaypointBearing | waypoints | property | Unicode text | waypoint bearing | "192º MAG" | The closest waypoint bearing |
| closestWaypointDistance | waypoints | property | Unicode text | waypoint distance | "1.2 NM" | the closest waypoint distance |