Beginner's Guide
Build your first HyperXTalk app
No prior programming experience needed. In the next five minutes you'll create a working desktop application — a simple greeting card that asks your name and says hello. Let's go! 🎉
Download & Install HyperXTalk
Head over to the releases page and download the latest version for your platform. Open the downloaded file and follow the installation steps.
Once installed, open HyperXTalk. You'll be greeted by the splash screen and then the IDE.
Create a New Stack
In HyperXTalk, every app lives in a stack — think of it as your project file. To create one:
- Go to File → New Stack
- A blank window will appear — that's your first card!
- Save it somewhere you'll remember: File → Save and give it the name
Hello.hyperxtalk
Add a Field
A field is where text lives — for input or output. We'll add one for our greeting message.
- Make sure you're in Edit mode — click the Edit tool (the arrow) in the Tools palette on the left
- Go to Object → New Field
- A field will appear on your card — drag it to roughly the centre and resize it to a comfortable size
- Double-click the field to open the Property Inspector and give it the name
Greeting
Add a Button
Now let's add a button to trigger our greeting.
- Go to Object → New Button
- A button will appear — drag it below your field
- Double-click it to open the Property Inspector
- Set its name to
Greet - Set its label (the text it displays) to
Say Hello!
Your card should now have a field near the top and a button below it. It's starting to look like an app! 🎉
Write Your First Script
Here's where the magic happens. Right-click your Say Hello! button and choose Edit Script. The Script Editor will open.
Type the following — or copy and paste it:
Click Apply to save the script. Let's walk through what it does:
on mouseUp— this runs when the button is clicked and releasedask "What is your name?"— shows a dialog asking for input; the answer is stored in a special variable calleditif it is not empty— only proceeds if the user actually typed somethingset the text of field "Greeting" to ...— puts our greeting into the fieldend mouseUp— closes the handler
& is used to join pieces of text together — it's called concatenation.
Run It!
Switch to Browse mode by clicking the hand tool in the Tools palette (or pressing Cmd+9 on macOS / Ctrl+9 on Windows and Linux).
Now click your Say Hello! button. A dialog will appear asking for your name — type it in and click OK.
Your greeting should appear in the field. 🎉