Special

Introducing the “Welcome to Xojo” Bundle!

New to Xojo and looking for guidance? We've put together a terrific bundle to welcome you! Xojo Bundle

This bundle includes six back issues of the magazine -- all of year 22 in printed book and digital formats -- plus a one-year subscription (beginning with 23.1) so you'll be learning all about Xojo for the next year. It's the perfect way to get started programming with Xojo. And you save as much as $35 over the non-bundle price!

This offer is only available for a limited time as supplies are limited, so hurry today and order this special bundle before the offer goes away!

Article Preview


Buy Now

Issue 23.4

FEATURE

AInalyzing Documents

Using Xojo and ChatGPT to Examine Documents

Issue: 23.4 (July/August 2025)
Author: Marc Zeedar
Author Bio: Marc taught himself programming in high school when he bought his first computer but had no money for software. He's had fun learning ever since.
Article Description: No description available.
Article Length (in bytes): 43,142
Starting Page Number: 19
Article Number: 23403
Resource File(s):

Download Icon project23403.zip Updated: 2025-06-30 14:16:10

Related Link(s): None

Excerpt of article text...

In the last issue, I created a Xojo app to examine photos and create keywords or descriptions for use in categorizing them (https://www.xdevmag.com/browse/23.3/23302/). That's a useful task for me, but it got me thinking: "What if I could upload other types of files to ChatGPT for analysis?"

I started considering articles I've written where I could ask ChatGPT questions about the text. Even my fiction writing could benefit from AI analysis, such as summarizing scenes, generating character descriptions, timeline details, and more. (Keeping track of a character's eye color and other characteristics can be tricky.)

If I could upload code to ChatGPT, I could have it convert it to Xojo, fix errors, and suggest improvements.

Sure, one can do these things via the ChatGPT app, but doing it within Xojo and the ChatGPT API has some advantages. Not only could you create a batch processing system if you wanted, but you could programmatically act upon the results.

For example, a Xojo word processor could call upon ChatGPT to analyze writing right within the program. The user wouldn't have to know anything about AI.

With this approach, there's a lot of potential for useful features that could be incorporated into all sorts of software.

...End of Excerpt. Please purchase the magazine to read the full article.