Skip to content
This repository has been archived by the owner on Jun 22, 2024. It is now read-only.

Releases: alexander-akhmetov/python-shortcuts

Release 0.10.0

05 Mar 22:03
effbec6
Compare
Choose a tag to compare
  • Added system variables:

    • shortcut_input
    • clipboard
    • current_date
  • New actions:

    • AppendFileAction
    • GetDictionaryFromInputAction
    • RunShortcut
    • GetMyShortcutsAction
    • GetTimeBetweenDates
    • DetectDateAction
    • OpenURLAction
  • IfAction now supports variables in the parameter compare_with.

  • Now raises UnknownWFTextTokenAttachment error when loader can't load field with unknown token attachment type.

Release 0.9.0

27 Sep 16:36
Compare
Choose a tag to compare
  • Added fields documentation
  • New actions:
    • RepeatEachStartAction
    • RepeatEachEndAction
    • ChangeCaseAction
    • SplitTextAction
    • GetClipboardAction
    • NumberAction
    • HashAction
    • SetClipboardAction
    • SetDictionaryValueAction
    • URLEncodeAction
    • URLDecodeAction
    • AppendVariableAction
    • ShowDefinitionAction
    • ScanQRBarCode
    • GetTextFromInputAction
    • GetNameOfEmoji
    • DetectLanguageAction
    • ExpandURLAction

Release 0.8.1

25 Sep 22:13
Compare
Choose a tag to compare
  • Save shortcut from URL without deserializing if output format is plist

Release 0.8.0

25 Sep 21:58
Compare
Choose a tag to compare
  • New example: shields.toml
  • New action: SpeakTextAction
  • Added default=True to field SetLowPowerModeAction.on.
  • Removed plutil requirement
  • Added ability to download shortcuts with shortcuts cli directly from iCloud

Release 0.7.0

25 Sep 17:19
Compare
Choose a tag to compare
  • New actions:
    • SendMessageAction
    • MenuStartAction
    • MenuItemAction
    • MenuEndAction
  • New examples in the /examples/ directory:
    • send_photo.toml: how to use menu, send photo with send message action and how to use {{ask_when_run}}
  • Updated documentation about supported actions /docs/actions.md
  • Supported {{ask_when_run}} system variable (read more about this in /docs/actions.md)

Release 0.6.0

24 Sep 18:35
Compare
Choose a tag to compare
  • New actions:
    • GetBatteryLevelAction
    • GetIPAddressAction
    • GetDeviceDetailsAction
    • SetAirplaneModeAction
    • SetBluetoothAction
    • SetBrightnessAction
    • SetMobileDataAction
    • SetDoNotDisturbAction
    • SetTorchAction
    • SetLowPowerModeAction
    • SetVolumeAction
    • SetWiFiAction
    • NothingAction
    • SetItemNameAction
    • ViewContentGraphAction
    • ContinueInShortcutAppAction
    • DelayAction
    • WaitToReturnAction
    • RepeatStartAction
    • RepeatEndAction
  • Renamed type to itype for action classes (class attribute only).
  • Removed required=True from group_id fields, now conditional group sets automatically.
  • Package name changed to shortcuts: pip install shortcuts (old name will be working too as an alias).