Using Dictionaries in shortcuts

Az API-kon felül a szótárak hasznos módos kínálnak a parancsokban lévő strukturált adatokkal végzett munkához. Use dictionaries in the following ways:

  • Adjon meg szöveget, számokat, értékeket, szótárakat vagy listákat egy Szótár műveletben a parancsokban használni kívánt szótár létrehozásához.

  • Use the Get Dictionary from Input action to turn text containing JSON or .plist data into a dictionary item.

  • Létrehozhat egy JSON-szótárat manuális kódolás nélkül, ha az összes értéket beírja egy Szótár műveletbe, és az eredményt másolja.

  • Use the Dictionary Magic Variable to extract a set of values repeatedly throughout a shortcut.

  • Use a dictionary to make a rich display of data in a Choose from List action, which displays the keys as menu options and the keys’ values as a preview; then, when you choose a key, the action passes the corresponding value into the next action.

Morty Proxy This is a proxified and sanitized view of the page, visit original site.
Hasznos?
Karakterkorlát: 250
A maximális karakterkorlát 250.
Köszönjük a visszajelzést!
Morty Proxy This is a proxified and sanitized view of the page, visit original site.