# Wishes for MBS Plugin?

**URL:** <https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972>\
**Category:** MBS Plugins\
**Tags:** community, plugins\
**Created:** [July 4, 2022, 5:54am UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972 "2022-07-04T05:54:50Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [July 4, 2022, 5:54am UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/1 "2022-07-04T05:54:50Z")

</div>

Summer started and while MBS Plugin 12.3 is almost done, we wonder what wishes people may have for us to work on over summer for a fall or winter release?

Since we cover a lot, it may be an additional functionality added to an existing feature.  
Let us know if you have an idea.

---

<div class="post-metadata">

**Author:** ![mipiano](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/mipiano/32/1074_2.png) [@mipiano](https://the.fmsoup.org/u/mipiano)\
**Post date:** [July 4, 2022, 7:26am UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/2 "2022-07-04T07:26:12Z")

</div>

Hey @MonkeybreadSoftware,  
In the database management in the tables and fields section you have built in the great search a long time ago. I have a wish: Could you either color all search results at once or even filter them so that only the result set is displayed? That would be clearer and would save the user even more time. That would be awesome!

---

<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:** [July 4, 2022, 8:33pm UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/3 "2022-07-04T20:33:53Z")

</div>

in a calculation window, a way of indenting selected text would be great.

command + ]  
//indent single tab right

command + [  
//indent single tab left

---

<div class="post-metadata">

**Author:** ![weetbicks](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/weetbicks/32/206_2.png) [@weetbicks](https://the.fmsoup.org/u/weetbicks)\
**Post date:** [July 4, 2022, 9:06pm UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/4 "2022-07-04T21:06:58Z")

</div>

I mentioned a few of these to you in an email @MonkeybreadSoftware but I'll re-list for others as well as a few extra if at all possible.

• Double-click Go to Layout script step to go direct to layout selection  
• Option Double+Click GTRR step to go direct to layout selection  
• Option Double+Click Replace Field Contents to go direct to calc engine

And some new:

• Option Double+Click set variable step to go direct into calc engine  
• Replace variable name everywhere in a script (being able to find & highlight is great, but can they be renamed, I know that might be a stretch)

One of my pain points is opening a script to edit while testing a layout in browse mode. The current and only method is:

1. Open debugger
2. Click on button
3. Step into script
4. Click the script button in debugger to open script
5. cancel script
6. close debugger.

If there is any way to make this process simpler I'd be eternally grateful. Ultimately it's a request I've asked of Claris in the past that always falls on deaf ears. As a developer I would love a way that allowed me to jump direct into a script to edit.

If that can't be done, It is easier in layout mode but still a number of clicks. We already have cmd+double click to get into trigger menu, so maybe option+double click could jump direct into any attached script or single step.

---

<div class="post-metadata">

**Author:** ![harvest](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/harvest/32/231_2.png) [@harvest](https://the.fmsoup.org/u/harvest)\
**Post date:** [July 5, 2022, 2:14pm UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/5 "2022-07-05T14:14:40Z")

</div>

just as an in-between workaround to put into the "debug"-exception at the beginning of your scripts

**# sysDebugScriptcall in file appAny ([my.server.de](http://my.server.de))**

If [$$debug = 1]

If [Get( ActiveModifierKeys ) = 4]

Set Variable [$$sLastScriptCall ; Value: List( "File"; Get( FileName ); "Privileges"; Get ( CurrentPrivilegeSetName ); "Account"; Get ( AccountName ); "Script"; Get( ScriptName ); "Parameter"; Get(ScriptParameter))]

If [PatternCount ( Get (InstalledFMPlugins); "MBS" ) = 1 and MBS( "[IsRegistered](http://www.mbsplugins.eu/IsRegistered.shtml)") = 1 ]

Set Variable [$sClipboard ; Value: MBS( "[Clipboard.SetText](http://www.mbsplugins.eu/ClipboardSetText.shtml)"; Get( ScriptName ) ) ]

End If

Open Script Workspace

Exit Script [Text Result: False]

End If

End If

gives you on pressing the controll-key the script-editor with the scripts name already in your clipboard while aborting the called script and writes some useful info like the script parameter etc. into a global variable

---

<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:** [July 5, 2022, 2:43pm UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/6 "2022-07-05T14:43:53Z")

</div>

> [@weetbicks](#):
>
> • Option Double+Click set variable step to go direct into calc engine

this request is already available. And option-click the gear will save you a click.

---

<div class="post-metadata">

**Author:** ![jwilling](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/jwilling/32/256_2.png) [@jwilling](https://the.fmsoup.org/u/jwilling)\
**Post date:** [July 5, 2022, 6:53pm UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/7 "2022-07-05T18:53:12Z")

</div>

WHOA! No way, thanks for turning me on to this.

---

<div class="post-metadata">

**Author:** ![harvest](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/harvest/32/231_2.png) [@harvest](https://the.fmsoup.org/u/harvest)\
**Post date:** [July 6, 2022, 8:20am UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/8 "2022-07-06T08:20:33Z")

</div>

Hi Christian,

would it be possible to collect all local variables valid at a certain point in a script with its values and make them dumpable into MBS( "Trace.WriteLine" { ; Parameters } ) ?

Thank you  
Holger

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [July 6, 2022, 8:24am UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/9 "2022-07-06T08:24:38Z")

</div>

Sorry, no. You have to code that.

---

<div class="post-metadata">

**Author:** ![Marcel](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/marcel/32/1307_2.png) [@Marcel](https://the.fmsoup.org/u/Marcel)\
**Post date:** [July 6, 2022, 8:31am UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/10 "2022-07-06T08:31:27Z")

</div>

Hi Christian, would it be possible instead to collect all information from the data-viewer and/or debug-window and write them as a text-object to some kind of trace-log? You showed us the filter and search-options inside the data-viewer window - so it might be possible to collect the data that is shown in that list.  
Best regards, Marcel

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [July 6, 2022, 10:04am UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/11 "2022-07-06T10:04:53Z")

</div>

Yes, check out MBS( "[FM.DataViewerContent](https://www.mbsplugins.eu/FMDataViewerContent.shtml)" ) function.  
But it must be visible to capture it.

---

<div class="post-metadata">

**Author:** ![samfmp](https://avatars.discourse-cdn.com/v4/letter/s/a9a28c/32.png) [@samfmp](https://the.fmsoup.org/u/samfmp)\
**Post date:** [July 6, 2022, 3:09pm UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/12 "2022-07-06T15:09:23Z")

</div>

Hi, is that possible to auto-complete the key-name when JSONGetElement is used? Something similar to autocomplete function of variable?

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [July 6, 2022, 3:26pm UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/13 "2022-07-06T15:26:29Z")

</div>

How would we know what is in the json at runtime?

---

<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:** [July 7, 2022, 6:12pm UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/14 "2022-07-07T18:12:04Z")

</div>

In the Script Workspace script pane, if you comand+click a folder arrow; all folders will collapse or expand — if you could emulate that feature in the Manage Layouts and Specify Script windows, that would be helpful

---

<div class="post-metadata">

**Author:** ![weetbicks](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/weetbicks/32/206_2.png) [@weetbicks](https://the.fmsoup.org/u/weetbicks)\
**Post date:** [July 7, 2022, 9:43pm UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/15 "2022-07-07T21:43:25Z")

</div>

Well I'll be damned it does work! Thanks @MonkeybreadSoftware ! What version of MBS was this introduced? I keep up with the release notes but I never noted this one, has it always been there ??

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [July 8, 2022, 3:42am UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/16 "2022-07-08T03:42:22Z")

</div>

Since version 11.2:  
[Option Click for FileMaker Script Workspace](https://www.mbs-plugins.com/archive/2021-04-21/Option_Click_for_FileMaker_Scr/monkeybreadsoftware_blog_filemaker)

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [July 8, 2022, 3:44am UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/17 "2022-07-08T03:44:00Z")

</div>

We have already a contextual menu command:

 ![Bildschirmfoto 2022-07-08 um 05.43.14](https://canada1.discourse-cdn.com/flex030/uploads/fmsoup/original/2X/a/a754be24c4fcf72831357f48af31bff8bb7d2f18.png)

You can collapse all, expand all and find duplicates.

---

<div class="post-metadata">

**Author:** ![villegld](https://avatars.discourse-cdn.com/v4/letter/v/f1d935/32.png) [@villegld](https://the.fmsoup.org/u/villegld)\
**Post date:** [July 21, 2022, 9:24am UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/18 "2022-07-21T09:24:21Z")

</div>

Wish: more user friendly way to create json than JSONSetElement. For larger json objects or arrays (and nested json objects) it is PITA to use filemaker’s jsonsetelement. I’m thinking some sort of dialog but also some kind of auto-complete would probably work.

---

<div class="post-metadata">

**Author:** ![MonkeybreadSoftware](https://yyz2.discourse-cdn.com/flex030/user_avatar/the.fmsoup.org/monkeybreadsoftware/32/361_2.png) [@MonkeybreadSoftware](https://the.fmsoup.org/u/MonkeybreadSoftware)\
**Post date:** [July 21, 2022, 7:55pm UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/19 "2022-07-21T19:55:15Z")

</div>

Well, but what syntax would work?  
We could e.g. make a JSON.CreateObjectWithValues taking pairs of Names and values.  
e.g.

MBS( "JSON.CreateObjectWithValues"; "FirstName"; "John"; "Age"; 60; "LastName": "Miller" )

---

<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:** [July 21, 2022, 10:35pm UTC](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972/20 "2022-07-21T22:35:45Z")

</div>

> [@villegld](#):
>
> For larger json objects or arrays (and nested json objects) it is PITA to use filemaker’s jsonsetelement

Can you explain? What are the pain points? What is annoying? What would make it better?

[Next page](https://the.fmsoup.org/t/wishes-for-mbs-plugin/2972.md?page=2)
