# Adding AppleScript support to my app - need help

**URL:** <https://forum.xojo.com/t/adding-applescript-support-to-my-app-need-help/30345>\
**Category:** macOS\
**Created:** [March 15, 2016, 11:47pm UTC](https://forum.xojo.com/t/adding-applescript-support-to-my-app-need-help/30345 "2016-03-15T23:47:08Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Thomas\_Tempelmann](https://forum.xojo.com/user_avatar/forum.xojo.com/thomas_tempelmann/32/315_2.png) [@Thomas\_Tempelmann](https://forum.xojo.com/u/Thomas_Tempelmann)\
**Post date:** [March 15, 2016, 11:47pm UTC](https://forum.xojo.com/t/adding-applescript-support-to-my-app-need-help/30345/1 "2016-03-15T23:47:08Z")

</div>

See this SO article that explains what I’m struggling with: [http://stackoverflow.com/questions/36024250/scriptability-applescript-in-a-mac-carbon-application](http://stackoverflow.com/questions/36024250/scriptability-applescript-in-a-mac-carbon-application)

It’s a Xojo app, using Xojo’s AppleEvent and related classes.

My code is based on Thomas Reed’s code from 2003 (published in RBD 1.5 and 1.6).

I’m struggling with supporting advanced AppleScript syntax such as “whose” and “repeat with”.

Has anyone done this in Carbon or Xojo or REALbasic?

---

<div class="post-metadata">

**Author:** ![system](https://forum.xojo.com/uploads/default/original/1X/455b4dcc0e61630e9f81940004ddffa49c432a46.png) [@system](https://forum.xojo.com/u/system)\
**Post date:** [October 29, 2020, 6:13pm UTC](https://forum.xojo.com/t/adding-applescript-support-to-my-app-need-help/30345/2 "2020-10-29T18:13:53Z")

</div>


