Scripting bridge: make the positionAfter method public
| Originator: | amorya | ||
| Number: | rdar://19396958 | Date Originated: | 07-Jan-2015 10:31 AM |
| Status: | Open | Resolved: | |
| Product: | OS X | Product Version: | Mac OS X 10.10.1 (14B25) |
| Classification: | Enhancement | Reproducible: | Always |
I’m trying to write the equivalent of the following AppleScript in ObjC using the Scripting bridge (to control OmniFocus): set myTask to task id (taskID as string) of default document set myProj to project id (projectID as string) of default document move myTask to end of tasks of myProj However, it is not possible in Scripting Bridge to specify a location in the collection. There is a private API that does what I require: [myTask moveTo:myProject.rootTask.tasks.lastObject.positionAfter] Please consider making this API public and documenting it.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!