This new "Shortcut" thing on iOS is kinda cool tbh, can't wait to crash an iPad with it!

  • 1
  • 2
    I wrote a python based speed tester and have it run over SSH using shortcuts - when at home anyway.

    Automation is bliss.

    The things you could actually do with it are limitless.

    Oh and Apple didn't make this, they bought the company who did.
  • 0
    @C0D4 problem is that there isn't a way to do proper comparisons, and thus for loops, while loops, etc, so it makes it quite weak
  • 2
    @dudeking it's missing things sure.

    But under scripting is IF() and foreach() so you could get creative depending on what you're trying to build out.

    Otherwise if you know python you could extend it with this app, but meh.


    On second thoughts, holy hell you could actually do anything you wanted with that.
  • 0
    @C0D4 honestly the thing is kinda useless without a 15$ python interpreter which is silly, just because there is only a for each loop which only works on dictionarys
  • 2
    @dudeking true, looking deeper into it, it doesn't have git support built in to that app. So now I'm stuck with a complex maze of iCloud sync to run python on my phone to make shortcuts worth while.

    Maybe if it had GIt it wouldn't be so bad.

    Anyway there's "hope" apple extend this thing out, maybe.
  • 1
    @C0D4 you could actually use a shortcut to send your script over ssh to already existing git environment, hell you could even create separate shortcuts for commit, checkout, log and stuff.
Add Comment