Skip to content

Connect Default menu items to javascript events

Matthew Encke edited this page Aug 28, 2014 · 1 revision

Connect the Open, New, Save, Save As, help menu items activate MacGap events.

Use a process similar to the saveDialog option. Allowing you to define allowed file types and default locations for new, open and save options.

It would be advantageous to base these settings on the current active window, allowing each individual window to access different types of files if so desired. It would be also beneficial to see which other default menu options can be used by MacGap and which can be programmed by default to keep the same general app commands (command + o = open, command + n = new, etc), keeping in mind the scope.

Clone this wiki locally