Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

All Actions to be implemented #6

Open
joshfarrant opened this issue Nov 19, 2018 · 25 comments
Open

All Actions to be implemented #6

joshfarrant opened this issue Nov 19, 2018 · 25 comments
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Milestone

Comments

@joshfarrant
Copy link
Owner

joshfarrant commented Nov 19, 2018

This is an up-to-date list of all actions Shortcuts JS will eventually implement. Actions which have already been implemented will be ticked off as they are added.

For the moment, the list includes all Actions in the 'Scripting' list and 'Content Types' section from the Shortcuts app. There are a few Actions from 3rd party apps in those sections, so they have been included here too. Any requests for additional 3rd party app Actions which aren't on this list should be added as new issues, rather than as comments on this issue.

If you'd like to help out, then feel free to grab any Action from this list and implement it! Have a look at the Contributing Guide for more info on how to add a new Action.

If I've missed anything, please let me know! 🙂

Actions

Scripting

  • Comment
  • Show Result

Content

  • Count
  • Get Name
  • Get Type
  • Nothing
  • Set Name
  • View Content Graph

Control Flow

  • Choose from Menu
  • Continue Shortcut in App
  • Exit Shortcut
  • If
  • Repeat
  • Repeat with Each
  • Wait
  • Wait to Return - 💙 @Archez

Device

Dictionaries

  • Dictionary
  • Get Dictionary from Input - 💙 @gcordalis
  • Get Dictionary Value
  • Set Dictionary Value - 💙 @gcordalis

Files

Lists

  • Choose from List
  • Get Item from List
  • List

Maths

  • Calculate
  • Calculate Statistics - 💙 @bachya
  • Convert Measurement
  • Format Number
  • Measurement
  • Number
  • Random Number - 💙 @bachya
  • Round Number

Notification

Run Script Over SSH

  • Run Script Over SSH - 💙 @Archez

Shortcuts

  • Get My Shortcuts - 💙 @JB1905
  • Run Shortcut

Variables

  • Add to Variable - 💙 @Archez
  • Get Variable - 💙 @Archez
  • Set Variable

X-Callback

  • Open X-Callback URL
  • URL Encode - 💙 @gcordalis

Editorial

  • Run Editorial Workflow

Pythonista

  • Edit Script (Pythonista) - 💙 @bachya
  • Run Script (Pythonista) - 💙 @bachya

Tally

  • Get Tally (Tally)
  • Update Tally (Tally)

Content Types

Apps

App Store

  • Get Details of App Store App
  • Search App Store

Calendar

Calendar

  • Add New Event
  • Filter Event Attendees
  • Find Calendar Events
  • Get Details of Calendar Events
  • Get Details of Event Attendees
  • Get Upcoming Events
  • Remove Events
  • Show in Calendar - 💙 @gcordalis

Clock

Dates

Reminders

  • Add New Reminder
  • Find Reminders
  • Get Details of Reminders
  • Get Upcoming Reminders
  • Remove Reminders - 💙 @gcordalis

Fantastical

  • Add Event via Fantastical
  • Add Reminder via Fantastical
  • Show in Fantastical

Contacts

Contacts

  • Contacts
  • Find Contacts
  • Get Contacts from Input - 💙 @gcordalis
  • Get Details of Contacts
  • Select Contact

Mail

  • Email Address
  • Get Email Addresses from Input - 💙 @gcordalis
  • Select Email Address - 💙 @gcordalis

Payments

  • Request Payment
  • Send Payment

Phone

  • Call
  • FaceTime
  • Get Phone Numbers from Input - 💙 @gcordalis
  • Phone Number
  • Select Phone Number - 💙 @gcordalis

Skype

  • Call via Skype

Documents

Archives

Books

Editing

File Storage

  • Append to File
  • Create Folder
  • Delete Files
  • Get File
  • Get Link to File - 💙 @gcordalis
  • Save File

Files

  • Filter Files
  • Format File Size
  • Get Details of Files
  • Open In...

Previewing

Printing

Bear

  • Add to Bear Note
  • Create Bear Note
  • Create Bear Note from URL
  • Get Contents of Bear Note
  • Open Bear Note
  • Search in Bear

Drafts

  • Add to Draft
  • Get Contents of Draft
  • Open Draft
  • Run Drafts Action

Evernote

  • Append to Note
  • Create New Note
  • Delete Notes
  • Get Note Link
  • Get Notes

GoodReader

  • Open in GoodReader

Ulysses

  • Add to Ulysses Sheet
  • Attach to Ulysses Sheet
  • Get Details of Ulysses Sheet
  • Get Ulysses Sheet
  • New Ulysses Group
  • New Ulysses Sheet
  • Open Ulysses

Health

Health

  • Find Health Samples
  • Get Details of Health Sample
  • Log Health Sample
  • Log Workout

Home

Home

  • Run Home Scene

Location

  • Filter Locations
  • Get Current Location
  • Get Details of Locations

Maps

  • Get Addresses from Input - 💙 @gcordalis
  • Get Distance
  • Get Halfway Point
  • Get Maps URL - 💙 @JB1905
  • Get Travel Time
  • Search Local Businesses
  • Show Directions
  • Show in Maps - 💙 @JB1905
  • Street Address

Weather

  • Get Current Weather
  • Get Details of Weather Conditions
  • Get Weather Forecast

BlindSquare

  • Show in BlindSquare

Music

iTunes Store

  • Get Details of iTunes Artist
  • Get Details of iTunes Product
  • Search iTunes Store
  • Show in iTunes Store - 💙 @gcordalis

Music

  • Add to Playlist
  • Add to Up Next
  • Clear Up Next - 💙 @gcordalis
  • Clear Playlist
  • Find Music
  • Get Current Song - 💙 @gcordalis
  • Get Details of Music
  • Get Playlist
  • Play Music
  • Select Music

Playback

Photos & Video

Audio

  • Record Audio

Camera

  • Take Photo
  • Take Video

Editing

  • Combine Images
  • Crop Image
  • Flip Image
  • Markup - 💙 @JB1905
  • Mask Image
  • Overlay Image
  • Resize Image
  • Rotate Image

GIFs

  • Add Frame to GIF
  • Get Frames from Image - 💙 @gcordalis
  • Make GIF
  • Make Video from GIF

Images

  • Convert Image
  • Filter Images
  • Get Details of Images
  • Get Images from Input - 💙 @gcordalis

Photos

Video

Imgur

  • Upload to Imgur

Lightroom

  • Import to Lightroom

Sharing

Clipboard

  • Copy to Clipboard
  • Get Clipboard - 💙 @gcordalis

Mail

  • Send Email

Messaging

  • Send Message

Notes

Photos

  • Post to Shared Album

System

Facebook

Instagram

Tumblr

Tweetbot

  • Open Tweetbot
  • Search Text
  • Tweet
  • View Profile in Tweetbot

Twitter

WhatsApp

  • Send Message via WhatsApp
  • Send Photo via WhatsApp

WordPress

Text

  • Detect Language with Microsoft - 💙 @gcordalis
  • Dictate Text
  • Generate QR Code
  • Get Name of Emoji - 💙 @gcordalis
  • Get Text from Input - 💙 @gcordalis
  • Scan QR/Barcode - 💙 @gcordalis
  • Show Definition - 💙 @gcordalis
  • Speak Text
  • Text
  • Translate Text with Microsoft

Rich Text

  • Make HTML from Rich Text
  • Make Markdown from Rich Text - 💙 @gcordalis
  • Make Rich Text from HTML - 💙 @gcordalis
  • Make Rich Text from Markdown - 💙 @gcordalis

Text Editing

  • Change Case
  • Combine Text
  • Correct Spelling - 💙 @gcordalis
  • Get Group from Matched Text
  • Match Text - 💙 @gcordalis
  • Replace Text
  • Split Text

2Do

  • Add 2Do Task

Captio

  • Append to Note
  • Send Note

Clear

  • Add Clear List
  • Add Clear Task

Day One

  • Create Day One Entry

Due

  • Add Due Reminder

iTranslate

  • Show in iTranslate

OmniFocus

  • Add OmniFocus Item
  • Add TaskPaper to OmniFocus

The Hit List

  • Add Task to The Hit List

Things

  • Add Things To-Do

Todoist

  • Add Todoist Item

Trello

  • Add Trello Card
  • Create Trello Board
  • Create Trello List
  • Get Details of Trello Item
  • Get Trello Items

Wunderlist

  • Add Wunderlist Task

Web

Articles

  • Filter Articles
  • Get Details of Diffbot Article
  • Get Diffbot Article from Web Page - 💙 @gcordalis

Giphy

  • Search Giphy

Safari

  • Add to Reading List - 💙 @gcordalis
  • Get Contents of Web Page - 💙 @gcordalis
  • Get Details of Safari Web Page
  • Open URLs - 💙 @gcordalis
  • Run JavaScript on Web Page - 💙 @gcordalis
  • Search Web
  • Show Web Page

URLs

  • Expand URL - 💙 @gcordalis
  • Get Component of URL
  • Get Contents of URL
  • Get Headers of URL - 💙 @gcordalis
  • Get Items from RSS Feed
  • Get RSS Feeds from Page
  • Get URLs from Input - 💙 @gcordalis
  • URL

Associate

  • Convert URL with Associate
  • Search in Associate

Blink

  • Convert URL with Blink
  • Search in Blink

Chrome

  • Open URLs in Chrome - 💙 @JB1905

CloudApp

  • Upload to CloudApp

Instapaper

  • Add to Instapaper
  • Get Instapaper Bookmarks

Opener

  • Open URL in Opener

Overcast

  • Add to Overcast

Pinboard

  • Add to Pinboard
  • Get Pinboard Bookmarks

Pocket

  • Add to Pocket
  • Get Items from Pocket
@xAlien95
Copy link
Contributor

xAlien95 commented Dec 1, 2018

  • Set Mobile Data - 💙 @JB1905

@joshfarrant, just a small update: in Actions > Device, "Set Mobile Data" should be "Set Cellular Data" now 🙂 (#24)

@joshfarrant
Copy link
Owner Author

@xAlien95 🤘

@joshfarrant joshfarrant added this to the v1.0.0 milestone Dec 4, 2018
@gcordalis
Copy link
Contributor

gcordalis commented Dec 5, 2018

With the update to 2.1.2 today there is a new action to add to the list!
Post to Tumblr

@joshfarrant
Copy link
Owner Author

30% of the way there! 🎉

@xAlien95
Copy link
Contributor

  • Date
  • Format Date

@joshfarrant, Date and Format Date actions have been added in #47 🙂

@joshfarrant
Copy link
Owner Author

joshfarrant commented Dec 12, 2018

@xAlien95 I just noticed that there was a discrepancy in counts and was cursing myself for making a mistake somewhere. Thanks for spotting it and saving me having to check them one-by-one! 💙

@xAlien95
Copy link
Contributor

Some minor errors I've found while working on the documentation:

  • "Scripting" > "Choose From Menu" section should be named "Control Flow"
  • "Scripting" > "Device" > "Set Value" action should be named "Set Volume"
  • There's an "a" missing in "Apps" > "App Store" > "Get Detils of App Store App"
  • "Photos & Video" > "Editing" > "Markup" has already been implemented by @JB1905, that action is repeated twice in the "Actions" and "Content Types" sections.

I don't seem to find the "Photos & Video" > "Lightroom" > "Import to Lightroom" action. I also tried setting the language to English-US and downloading Adobe Lightroom CC, but that action didn't pop up.

@joshfarrant
Copy link
Owner Author

Thanks! I’ll fix these tomorrow 👍

@xAlien95
Copy link
Contributor

  • Set Volue

@joshfarrant, "Set Volume" 👍

@joshfarrant
Copy link
Owner Author

🤦‍♂️🤦‍♂️🤦‍♂️

@JB1905
Copy link
Contributor

JB1905 commented Jan 6, 2019

"Set volume" is duplicated (is visible as Device and Playback action) and it has already been implemented by @ikaikastine.

@joshfarrant
Copy link
Owner Author

@JB1905 thanks!

@xAlien95
Copy link
Contributor

  • "Calendar" > "Clock" > "Create Alarm" has been implemented by @jakebathman in Add createAlarm action #55
  • there's a misspelling in "Sharing" > "WhatsApp" > "Send Mesage via WhatsApp"
  • "Photos & Video" > "Lightroom" > "Import to Lightroom" is available again, it should be added to the list

@joshfarrant
Copy link
Owner Author

Sorted!

@xAlien95
Copy link
Contributor

xAlien95 commented Feb 3, 2019

@joshfarrant, there's probably an extra space in "Import to Lightroom" since the checkmark markdown is off.
Then I think (hope) everything will be in place 😁

@JoeCodeswell
Copy link

@joshfarrant Thanks for this. Any idea when send SMS will be available. That would help me a lot. Thanks again.
Love and peace,
Joe

@rowellx68
Copy link
Contributor

@joshfarrant the Contributing Guide link on this issue points to an old location.

@joshfarrant
Copy link
Owner Author

Good spot, thanks @rowellx68 - fixed now 👍

@JoeCodeswell I'll take a look at that for you, no guarantee on timeframe but it'll be the next thing I do

@sayem314
Copy link

Waiting for repeat with each action 😄

@bluesign
Copy link

I am thinking those definitions can be auto generated, anyone tried that before? Otherwise I will try to jump into it.

@joshfarrant
Copy link
Owner Author

@bluesign I'm not sure if it's been looked into before, but if it's possible it would be a big help. If you want to take a look then please do feel free, and let me know if I can help at all.

@bluesign
Copy link

@joshfarrant, I finished the first part with dumping possible actions, I am using iOS 13, so there are total 335 actions there, with 83 different parameter types.

Also there are some constraints on values to provide (WFCommentActionText cannot accept user input or variable for example) or like some functions are available only iPad etc.

I think it is totally possible to generate js class files from this functions.

I am attaching the dump. When I have some free time, I will try to generate

PS: some actions can be missing, as I dumped from the simulator.

sc.txt

@joshfarrant
Copy link
Owner Author

@bluesign It's been a while, but is there any chance you could give me a quick rundown of how you pulled that data from the simulator? I'd be interested in grabbing the latest data and seeing if I can generate some code from it.

@xAlien95
Copy link
Contributor

@joshfarrant, you can get the WFActions.plist following @pfgithub's guide at here.

@hellomsg
Copy link

I will implement Replace Text Action. Please mark it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

9 participants