Omitting "separator" and scripts included in menus from the Un-Referenced group

Troy Meyers's Avatar

Troy Meyers

14 Mar, 2017 10:10 PM

I'm working on cleaning up a huge legacy solution that has 3000+ scripts and 46,000+ steps, and I'm working through removals iteratively to get rid of dinosaurs.

The display and count for Un-Referenced Scripts includes the "-" lines as unreferenced scripts but at this point they are very helpful keeping things organized in the Scripts Workspace, so I don't want to remove them to clean up the list. Also (less problematic) scripts that are only referenced by menu items are also included as unreferenced.

Is there a setting or method for NOT including these? I know I can scroll by them, but they make the list very disheartening.

  1. Support Staff 1 Posted by Vince Menanno on 15 Mar, 2017 03:21 AM

    Vince Menanno's Avatar

    Hey Troy,

    Here is another way to tackle this.

    Go to all the scripts … then do a FileMaker find where reference count is = 0 … before you perform the find … instead of choosing Perform Find… choose Constrain Find. If you want to omit scripts that are named with a dash… then just add another request and have it search for script names = “-“ and omit them.

    Hope that works for you.

    Vince

  2. 2 Posted by Troy Meyers on 15 Mar, 2017 04:02 PM

    Troy Meyers's Avatar

    Thanks, Vince.

    That works for me... how do I omit the ones that show in the scripts menu, that is, have the M icon in the U column. I've tried putting @* in the U column for an Omit, but that didn't do it. I don't know what really is in the U field when the icon is there.

    Troy

  3. Support Staff 3 Posted by Vince Menanno on 15 Mar, 2017 04:31 PM

    Vince Menanno's Avatar

    Troy,

    Its a boolean value… so just enter 1 in find mode and omit.

    Vince

  4. 4 Posted by Troy Meyers on 15 Mar, 2017 04:38 PM

    Troy Meyers's Avatar

    Thanks, Vince!

    That does the trick.

    -Troy

  5. Support Staff 5 Posted by Vince Menanno on 15 Mar, 2017 08:16 PM

    Vince Menanno's Avatar

    Awesome

  6. jay_g closed this discussion on 16 Nov, 2017 04:18 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

08 Dec, 2019 05:57 PM
05 Dec, 2019 04:23 PM
20 Nov, 2019 06:16 PM
31 Oct, 2019 05:57 PM
02 Nov, 2018 06:31 PM