String shortcut1 = jEdit.getProperty(name + ".shortcut"); if(shortcut1 != null) jEdit.getInputHandler().addKeyBinding(shortcut1,action);  String shortcut2 = jEdit.getProperty(name + ".shortcut2"); if(shortcut2 != null) jEdit.getInputHandler().addKeyBinding(shortcut2,action);
		public Macro(String name, final String path)		{			this.name = name;			this.path = path;			action = new EditAction(name,false)			{				public void invoke(View view)				{					lastMacro = path;					BeanShell.runScript(view,path,true,false);				}			};			String shortcut1 = jEdit.getProperty(name + ".shortcut");			if(shortcut1 != null)				jEdit.getInputHandler().addKeyBinding(shortcut1,action);			String shortcut2 = jEdit.getProperty(name + ".shortcut2");			if(shortcut2 != null)				jEdit.getInputHandler().addKeyBinding(shortcut2,action);		}