View Single Post
Originally Posted by Lizard View Post
Sorry, you can't do filtering via AppleScript at this point. (I'll file a feature request for you.) The only properties that work are the ones in the Export Settings.
Add another vote for being able to filter via applescript. I suppose I might be able to have UI controls do it for me, but that's obviously rather brittle (will break the next time you guys change the dialog).

I need to rather frequently pull out a report of tasks which are scheduled to start on any date up to the end of next week, and which did not complete as of the start of last week (ie, everything worked on in the past week, plus everything scheduled to start in the next week). I can do this manually, and thought maybe the "with properties" parameter to "export" might somehow give the possibility to do this via Applescript, but I hadn't been able to find any documentation or example using that parameter of the command.