I now have an alpha version of Navigator that is built entirely using script-only stack behaviors, and it includes the function I used to do it. You can download Navigator 5 here <https://www.dropbox.com/s/bcqxxriwzzjcm45/navigator_5.zip?dl=1>. The full documentation is here <https://gcanyon.wordpress.com/navigator-documentation/#updates-for-5.0>, but briefly:
You can highlight any controls in Navigator, including bookmarked controls, and select Convert to Script-only Stack Behaviors on the Script menu. Navigator will convert all the scripts of the objects you selected to script-only behaviors, and update appropriately all the behavior settings and stackfiles to make it work. You can select the folder you want to create the new stackfiles in. Navigator offers to put a log of exactly what it did in the message box, and if there are any chained behaviors included, Navigator will include the lines of script you need to run to make them work whenever you load the project. Navigator will optionally work on controls with empty scripts, so you can "pre-behavior" a project before starting to script it. I think this is completely functional and safe to use. BUT I've only tested on local projects that I created (including Navigator). Use at your own risk, always work on a copy, etc., etc. TBD: Recursive conversion, so you can select a group, card, or stack, and just say, "Convert everything in here." Customizable stack names for the script-only stacks. Currently it's stack name, control name, control id, and an index if there is a collision. If you have any feedback or questions, let me know. gc _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode