News for hackers. Stuff that matters.
Re:iOS 12 released by anselmio on Monday September 17, 2018 @03:21PM (#18009085)
The new Shortcuts app by Apple (must be downloaded separately: https://itunes.apple.com/us/app/workflow/id915249334?mt=8) is definitely interesting. An example from the description: "Run custom scripts in Safari with the new Run JavaScript on Web Page action".

Edit: Just discovered that there's also "Run Script Over SSH" that takes input passed to a shell script (stdin) and returns the output from the shell script (stdout).

Re:iOS 12 released by SentientNo4 on Monday September 17, 2018 @04:22PM (#18009674)
The "new" app is actually not so new, and it was previously called Workflow (https://www.workflow.is/). Looks like they bought it and rebranded it as Shortcuts.
Re:iOS 12 released by speg on Monday September 17, 2018 @08:56PM (#18011505)
I never used it before, or maybe once on my iPad. But did it have as tight an integration before? I assume Apple added some iOS level things that really put it over the top. The Siri shortcut for sure. Either way I’ve already spent a couple hours with it today just hacking random scripts together. It’s great!
Re:iOS 12 released by latexr on Monday September 17, 2018 @07:14PM (#18010944)
Re:iOS 12 released by wlesieutre on Monday September 17, 2018 @04:20PM (#18009656)
Minor note for former Workflow users, it appears that the old Workflow app automatically updates to Apple's new Shortcuts app when you install the release version.

I'd been on the public beta and was surprised to see Shortcuts preinstalled when I updated.

Re:iOS 12 released by OkGoDoIt on Monday September 17, 2018 @04:25PM (#18009707)
Anyone notice any major downsides, regressions, feature removals? The original app was powerful but quite complicated to use, I imagine Apple dumbed it down a bit for widespread adoption.
Re:iOS 12 released by rcarmo on Monday September 17, 2018 @04:29PM (#18009751)
I lost most of my publishing shortcuts, which was expected, but lost the complication in the Apple Watch and its button launcher, which was critical for my commutes...
Re:iOS 12 released by knolan on Monday September 17, 2018 @05:33PM (#18010293)
They added the ability to record a custom Siri command to trigger a workflow, perhaps that might help.
Re:iOS 12 released by rcarmo on Monday September 17, 2018 @06:19PM (#18010616)
No, they also broke all forms of watch input. There is zero UI for shortcuts on the watch, so I can’t tap a complication and use a simple menu to fetch ETAs for public transit anymore.
Re:iOS 12 released by djrogers on Monday September 17, 2018 @07:58PM (#18011186)
You missed what the parent was saying - assign your shortcut a Siri phrase and then use it in your watch. I’ve been doing that since the Shortcuts beta started and it’s fine.
Re:iOS 12 released by rcarmo on Sunday September 23, 2018 @04:22AM (#18050048)
It doesn’t work when the background actions require some form of interaction
Re:iOS 12 released by gnicholas on Monday September 17, 2018 @06:50PM (#18010796)
> Run custom scripts in Safari with the new Run JavaScript on Web Page action

Does this mean it's possible to have a javascript run after page load every time? This would effectively make it possible to have a browser extension. Previously it was limited to "action extensions" — which had to be manually activated on every single page. This could take 2-3 taps, and obviously they were hardly ever used.

Re:iOS 12 released by MBCook on Monday September 17, 2018 @07:08PM (#18010901)
I think you have to manually trigger it.
Re:iOS 12 released by newsbinator on Monday September 17, 2018 @10:48PM (#18012078)
I'm loving the new Shortcuts app, but I've found bugs.

The "Get current location" action doesn't seem to work reliably outside of the Shortcuts app itself. Particularly not within Siri.

Is it a location services privacy issue?

Re:iOS 12 released by vbezhenar on Monday September 17, 2018 @04:41PM (#18009876)
It looks awesome. I can put that shortcut as a separate app. Very promising.
Re:iOS 12 released by ahel on Tuesday September 18, 2018 @08:25AM (#18014621)
I tried `Calculate tip` from gallery.

> How much is the bill?

50

> Your tip is $2.500,00 and your total is $2.550,00

OK