# FMPerception: Scripts called by buttons

**URL:** https://the.fmsoup.org/t/fmperception-scripts-called-by-buttons/3902
**Category:** Tools & Utilities (Free/Open Source)
**Created:** [January 11, 2024, 11:40am UTC](https://the.fmsoup.org/t/fmperception-scripts-called-by-buttons/3902 "2024-01-11T11:40:54Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![EdwinS](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@EdwinS](https://the.fmsoup.org/u/EdwinS)
#### Post date: [January 11, 2024, 11:40am UTC](https://the.fmsoup.org/t/fmperception-scripts-called-by-buttons/3902/1 "2024-01-11T11:40:54Z")

</div>

Hi all,

Is anyone using FMPerception? I tried to find all calls of a script, but FMPerception doesn't seem to show calls from buttons, even in the "call chain diagram".  
Am I missing something here?

Thanks!

---

<div class="post-metadata">

### Author: ![rivet](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/rivet/32/1727_2.png) [@rivet](https://the.fmsoup.org/u/rivet)
#### Post date: [January 11, 2024, 3:46pm UTC](https://the.fmsoup.org/t/fmperception-scripts-called-by-buttons/3902/2 "2024-01-11T15:46:38Z")

</div>

'Call Chain Diagram' seems be scripts only. 'References' is where you can see which buttons call the script.

[side note] I just noticed -- comparing to a HTML design report -- 'Called by Scripts' and 'Call Chain Diagram' ignore script names starting with the @ character.

---

<div class="post-metadata">

### Author: ![Kirk](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/kirk/32/2197_2.png) [@Kirk](https://the.fmsoup.org/u/Kirk)
#### Post date: [January 11, 2024, 4:07pm UTC](https://the.fmsoup.org/t/fmperception-scripts-called-by-buttons/3902/3 "2024-01-11T16:07:06Z")

</div>

> [@EdwinS](#):
>
> Is anyone using FMPerception?

If anyone is professionally developing FM solutions, FMPerception (or BaseElements or InspectorPro) is an essential QA / timesaver / development aid that is unparalleled. The $500 or so price of admission pays for itself in very short order.

---

<div class="post-metadata">

### Author: ![OliverBarrett](https://avatars.discourse-cdn.com/v4/letter/o/f19dbf/32.png) [@OliverBarrett](https://the.fmsoup.org/u/OliverBarrett)
#### Post date: [January 11, 2024, 5:35pm UTC](https://the.fmsoup.org/t/fmperception-scripts-called-by-buttons/3902/4 "2024-01-11T17:35:49Z")

</div>

It's a pity that a supposed "development tool" (FileMaker) doesn't have development features as you would find in all modern IDEs (for free, of course). Thus, in FileMaker you are expected to resort to shelling out $500 for something that doesn't even work directly -- only with the current, separately-generated, DDR.

Ridiculous.

---

<div class="post-metadata">

### Author: ![Malcolm](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/malcolm/32/196_2.png) [@Malcolm](https://the.fmsoup.org/u/Malcolm)
#### Post date: [January 12, 2024, 12:34am UTC](https://the.fmsoup.org/t/fmperception-scripts-called-by-buttons/3902/5 "2024-01-12T00:34:54Z")

</div>

I know it's convenient to have all the tools in a GUI and a nice IDE is a joy to use. I'd love to have the toolkit in FMP so I'm not going to argue with you.

I'll simply point out a few FOSS tools for people wanting to interrogate the XML output. If you have an interest in programming, XML will spill open like a ripe watermelon.

If you're working on Windows or Linux, [xmlTreeNav](https://github.com/rpeyron/xmltreenav) is a handy GUI for exploring XML. I'm usually on MacOS so I use the CLI tool [xmlDiff](https://github.com/rpeyron/libxmldiff) by the same coder.

I have a rudimentary equivalent of FMPerception's XML browser written in PHP that is only a few dozen lines. I wrote it before FMPerception existed, as an exercise to learn more about the DDR.

---

<div class="post-metadata">

### Author: ![daleallyn](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/daleallyn/32/819_2.png) [@daleallyn](https://the.fmsoup.org/u/daleallyn)
#### Post date: [January 12, 2024, 4:42am UTC](https://the.fmsoup.org/t/fmperception-scripts-called-by-buttons/3902/6 "2024-01-12T04:42:47Z")

</div>

I, too, am a big fan of FMPerception, @Kirk. and very much a fan of the included FMComparison. The latter saves me a great of time.

---

<div class="post-metadata">

### Author: ![EdwinS](https://avatars.discourse-cdn.com/v4/letter/e/57b2e6/32.png) [@EdwinS](https://the.fmsoup.org/u/EdwinS)
#### Post date: [January 12, 2024, 10:58am UTC](https://the.fmsoup.org/t/fmperception-scripts-called-by-buttons/3902/7 "2024-01-12T10:58:51Z")

</div>

I agree with all that FMPerception is (regrettbly) a very important tool.  
However, I still only see a local reference for my script, while it is being called from another file.

 ![Bildschirmfoto 2024-01-12 um 11.54.30](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/1/162668310186e95388331e70cece792772cf6985.png)  
 ![Bildschirmfoto 2024-01-12 um 11.55.17](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/a/a22a8c4b17322dd8e4e56d1bfbb0a13a9d3c7506.png)
