# Macro for Web Address field?

**URL:** <https://forums.realmacsoftware.com/t/macro-for-web-address-field/55530>\
**Category:** Elements API\
**Created:** [April 4, 2026, 2:46pm UTC](https://forums.realmacsoftware.com/t/macro-for-web-address-field/55530 "2026-04-04T14:46:20Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Massimo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/massimo/32/25456_2.png) [@Massimo](https://forums.realmacsoftware.com/u/Massimo)\
**Post date:** [April 4, 2026, 2:46pm UTC](https://forums.realmacsoftware.com/t/macro-for-web-address-field/55530/1 "2026-04-04T14:46:20Z")

</div>

I tried searching the documentation but couldn’t find anything about it. I wanted to know if there’s a macro that returns the “Web Address” value set in General Settings, so I can use it in links and not always have to type the full URL (also useful when working on a web address that isn’t the final one).

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [April 4, 2026, 3:52pm UTC](https://forums.realmacsoftware.com/t/macro-for-web-address-field/55530/2 "2026-04-04T15:52:51Z")

</div>

We don’t currently support classic style macros, but you can get the project url via the API.

> **[rw.project | API | RapidWeaver Elements Docs](https://docs.realmacsoftware.com/elements-docs/elements-language/component/hooks.js/available-data/rw.project)**

---

<div class="post-metadata">

**Author:** ![sweetmemories](https://avatars.discourse-cdn.com/v4/letter/s/4da419/32.png) [@sweetmemories](https://forums.realmacsoftware.com/u/sweetmemories)\
**Post date:** [April 4, 2026, 6:20pm UTC](https://forums.realmacsoftware.com/t/macro-for-web-address-field/55530/3 "2026-04-04T18:20:03Z")

</div>

I discovered, by chance, that by double-clicking on “url” (see screenshot) the field was populated with the address of the website defined in the settings.

If it can help someone…

 ![url](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/9/0/90e404ad6a35682f20fb058267d743ee5498a152.png)

---

<div class="post-metadata">

**Author:** ![Massimo](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/massimo/32/25456_2.png) [@Massimo](https://forums.realmacsoftware.com/u/Massimo)\
**Post date:** [April 7, 2026, 6:47am UTC](https://forums.realmacsoftware.com/t/macro-for-web-address-field/55530/4 "2026-04-07T06:47:57Z")

</div>

Thanks, I’ll take a look.
