If the prepare-to-undock button (on the UltraBase itself) works and you want Fn-F9 to replicate its function then I'd expect that it is better for a Fn-F9 keypress to be mapped in such a way that it generates the same event as the prepare-to-undock button. This, instead of adding a new script to duplicate the functionality.
If the prepare-to-undock button (on the UltraBase itself) works and you want Fn-F9 to replicate its function then I'd expect that it is better for a Fn-F9 keypress to be mapped in such a way that it generates the same event as the prepare-to-undock button. This, instead of adding a new script to duplicate the functionality.