private void chooseScript(ActionContext actioncontext1) {

		List<ScriptInfo> scriptInfos = provider.getScriptInfos();
		ScriptSelectionDialog dialog = new ScriptSelectionDialog(plugin, scriptInfos);
		dialog.show();

		ScriptInfo chosenInfo = dialog.getUserChoice();
		if (chosenInfo == null) {
			return;
		}

		provider.runScript(chosenInfo.getSourceFile());
	}
Notifies this script action manager that a script has been run.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/script/GhidraScriptActionManager.java