This is a workflow for Editorial, a Markdown and plain text editor for iOS. To download it, you need to view this page on a device that has the app installed.
Description: This routine makes sure that your current file is not empty. If it is, it shows an error and stops the routine. The idea is to use this as a subroutine of a larger routine that's more specific to your situation. I'm using this routine as a sub routine of two other routines, currently.
Make sure that when you're setting this up as a subroutine, you specify that it can stop the main routine. Otherwise this won't accomplish anything as a subroutine. It'll just show the validation alert and then stop and your main routine will carry on oblivious to the error.
Shared by: Martyn Chamberlin
Comments: Comment Feed (RSS)