You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Plugins/dlls/AI.sct
+19-83
Original file line number
Diff line number
Diff line change
@@ -34,46 +34,15 @@ var pluginArguments = "";
34
34
var variables = new Array();
35
35
var mergeApp;
36
36
37
-
function get_PluginEvent() {
38
-
return "EDITOR_SCRIPT";
39
-
}
40
-
41
-
function get_PluginDescription() {
42
-
return "AI-assisted text conversion functions";
43
-
}
44
-
45
-
function get_PluginFileFilters() {
46
-
return ".*";
47
-
}
48
-
49
-
function get_PluginExtendedProperties() {
50
-
return "GenerateUnpacker;" +
51
-
"AIConvertText.MenuCaption=Convert Text with AI...;" +
52
-
"AIConvertText.Description=Text converter using OpenAI API.\r\n" +
53
-
"Usage: AIConvertText PROMPT;" +
54
-
"AIConvertText.ArgumentsRequired;";
55
-
}
56
-
57
-
function get_PluginArguments() {
58
-
return pluginArguments;
59
-
}
60
-
61
-
function put_PluginArguments(NewValue) {
62
-
pluginArguments = NewValue;
63
-
}
64
-
65
-
function get_PluginVariables() {
66
-
return variables.join("\0");
67
-
}
68
-
69
-
function put_PluginVariables(NewValue) {
70
-
variables = NewValue.split("\0");
71
-
}
72
-
73
-
function regRead(Key, DefaultValue) {
74
-
return mergeApp.GetOption(Key, DefaultValue);
75
-
}
76
-
37
+
function get_PluginEvent() { return "EDITOR_SCRIPT"; }
38
+
function get_PluginDescription() { return "AI-assisted text conversion functions"; }
39
+
function get_PluginFileFilters() { return ".*"; }
40
+
function get_PluginExtendedProperties() { return "GenerateUnpacker;AIConvertText.MenuCaption=Convert Text with AI...;AIConvertText.Description=Text converter using OpenAI API.\r\nUsage: AIConvertText PROMPT;AIConvertText.ArgumentsRequired;"; }
41
+
function get_PluginArguments() { return pluginArguments; }
42
+
function put_PluginArguments(NewValue) { pluginArguments = NewValue; }
43
+
function get_PluginVariables() { return variables.join("\0"); }
44
+
function put_PluginVariables(NewValue) { variables = NewValue.split("\0"); }
45
+
function regRead(Key, DefaultValue) { return mergeApp.GetOption(Key, DefaultValue); }
0 commit comments