Apple Shortcuts Support

Apple Shortcuts lets you extract small pieces of functionality (App-Actions) from installed applications and combine them with drag & drop coding to make your own customized actions. Lokate supports a number of App-Actions documented below.

Shortcuts are typically accessible within the Shortcuts application. You can also make a shortcut available as an App Icon on the Home Screen, essentially treating it as its own standalone application.

For example, the "Convert lat/lon to USNG coordinate" action lets you build a shortcut that takes a lat/lon coordinate and converts it to USNG format — prompting for input or extracting from the clipboard.

App Privacy Privilege

When transferring data from Lokate to a third-party app (like Numbers), you may need to configure privacy settings. This usually happens during the first execution. If you encounter persistent pop-ups:

  1. Navigate to the info button (i) at the bottom of the shortcut
  2. Tap "Privacy" at the top
  3. Select "Reset Privacy"
  4. Rerun the shortcut and respond to privacy requests

Lokate App-Actions

Type "Lokate" in the Shortcuts "Search for apps and actions" search box to see all available actions:

  • Convert lat/lon to USNG coordinate — converts lat/lon to USNG format
  • Convert USNG to lat/lon coordinate — converts USNG to lat/lon format
  • Current location — returns current location in lat/lon or USNG per Lokate preferences. Lokate must be running.
  • Get All Log Dates — returns all dates for which Lokate has a recorded log
  • Get Log with Date — returns log data for a specific date as a string dictionary

Example Shortcuts

These examples can be used as-is or modified. Clicking a link downloads and installs the shortcut:

  • Show my Current Location — shows your current location in lat/lon or USNG format
  • Convert Lat/Lon to USNG — converts a lat/lon coordinate to USNG
  • Convert USNG to Lat/Lon — converts a USNG coordinate to lat/lon
  • Extract Log Data — extracts all logs to a Numbers spreadsheet (customize the shortcut to reflect your specific log fields, spreadsheet name, sheet name, and table name)