diff --git a/.idea/.idea.SuperPutty/.idea/.gitignore b/.idea/.idea.SuperPutty/.idea/.gitignore
new file mode 100644
index 00000000..e2c1af94
--- /dev/null
+++ b/.idea/.idea.SuperPutty/.idea/.gitignore
@@ -0,0 +1,13 @@
+# Default ignored files
+/shelf/
+/workspace.xml
+# Rider ignored files
+/projectSettingsUpdater.xml
+/modules.xml
+/contentModel.xml
+/.idea.SuperPutty.iml
+# Editor-based HTTP Client requests
+/httpRequests/
+# Datasource local storage ignored files
+/dataSources/
+/dataSources.local.xml
diff --git a/.idea/.idea.SuperPutty/.idea/.name b/.idea/.idea.SuperPutty/.idea/.name
new file mode 100644
index 00000000..2692a887
--- /dev/null
+++ b/.idea/.idea.SuperPutty/.idea/.name
@@ -0,0 +1 @@
+SuperPutty
\ No newline at end of file
diff --git a/.idea/.idea.SuperPutty/.idea/encodings.xml b/.idea/.idea.SuperPutty/.idea/encodings.xml
new file mode 100644
index 00000000..df87cf95
--- /dev/null
+++ b/.idea/.idea.SuperPutty/.idea/encodings.xml
@@ -0,0 +1,4 @@
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.SuperPutty/.idea/indexLayout.xml b/.idea/.idea.SuperPutty/.idea/indexLayout.xml
new file mode 100644
index 00000000..7b08163c
--- /dev/null
+++ b/.idea/.idea.SuperPutty/.idea/indexLayout.xml
@@ -0,0 +1,8 @@
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/.idea/.idea.SuperPutty/.idea/vcs.xml b/.idea/.idea.SuperPutty/.idea/vcs.xml
new file mode 100644
index 00000000..94a25f7f
--- /dev/null
+++ b/.idea/.idea.SuperPutty/.idea/vcs.xml
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/SuperPutty.sln.DotSettings.user b/SuperPutty.sln.DotSettings.user
new file mode 100644
index 00000000..1dfbc813
--- /dev/null
+++ b/SuperPutty.sln.DotSettings.user
@@ -0,0 +1,3 @@
+
+ 1114112
+ C:\Users\reggi\AppData\Local\JetBrains\BuildTools\MSBuild\Current\Bin\MSBuild.exe
\ No newline at end of file
diff --git a/SuperPutty/Scripting/Spsl.cs b/SuperPutty/Scripting/Spsl.cs
index c0b71813..f540ca33 100644
--- a/SuperPutty/Scripting/Spsl.cs
+++ b/SuperPutty/Scripting/Spsl.cs
@@ -7,6 +7,9 @@
using log4net;
using SuperPutty;
using SuperPutty.Utils;
+using SuperPutty.Data;
+using IronPython.Hosting;
+using Microsoft.Scripting.Hosting;
namespace SuperPuTTY.Scripting
{
@@ -105,6 +108,55 @@ public static void BeginExecuteScript(ExecuteScriptEventArgs scriptArgs)
}
}
+ /// Create an Action for a given command (keyword) executed in the Python script
+ /// The keyword for the command (i.e. SENDLINE)
+ /// A object containing the script to execute
+ /// and parameters
+ public static Action