# Claude Code and Xojo?

**URL:** <https://forum.xojo.com/t/claude-code-and-xojo/86208>\
**Category:** AI\
**Created:** [August 8, 2025, 8:39am UTC](https://forum.xojo.com/t/claude-code-and-xojo/86208 "2025-08-08T08:39:23Z")\
**Posts on this page:** 1\
**Showing post:** 32

<div class="post-metadata">

**Author:** ![HIKARU\_NIHONYANAGI](https://forum.xojo.com/user_avatar/forum.xojo.com/hikaru_nihonyanagi/32/6411_2.png) [@HIKARU\_NIHONYANAGI](https://forum.xojo.com/u/HIKARU_NIHONYANAGI)\
**Post date:** [August 15, 2025, 2:28am UTC](https://forum.xojo.com/t/claude-code-and-xojo/86208/32 "2025-08-15T02:28:29Z")

</div>

Inspired by this great idea, I’ve made the following changes:  
I assigned the shortcut Command+Shift+R to the “Revert to Saved” menu in Xojo’s settings.  
I also modified my claude code custom command, xojo.md, to execute Command+Shift+R and press return key.

```auto
---
allowed-tools: Bash(open:*),Bash(osascript:*)
description: "Operates Xojo in the mode specified by the argument (open, run, build)."
---

# Argument open, or no argument
In Bash, run "open -a Xojo *.xojo_project"

# Argument run
In Bash, run the following:
osascript -e 'tell application "Xojo" to activate' -e 'delay 0.1' -e 'tell application "System Events" to tell process "Xojo" to keystroke "r" using {command down, shift down}' -e 'delay 0.1' -e 'tell application "System Events" to tell process "Xojo" to keystroke return'
osascript -e 'tell application "Xojo" to activate' -e 'delay 1' -e 'tell application "System Events" to tell process "Xojo" to keystroke "r" using command down'

# Argument build
In Bash, run the following:
osascript -e 'tell application "Xojo" to activate' -e 'delay 0.1' -e 'tell application "System Events" to tell process "Xojo" to keystroke "r" using {command down, shift down}' -e 'delay 0.1' -e 'tell application "System Events" to tell process "Xojo" to keystroke return'
osascript -e 'tell application "Xojo" to activate' -e 'delay 1' -e 'tell application "System Events" to tell process "Xojo" to keystroke "b" using {command down, shift down}'

```

---

_[View the full topic](https://forum.xojo.com/t/claude-code-and-xojo/86208)._
