Skip to content
Permalink
Browse files

Bumped version, added new example.

  • Loading branch information...
NTDLS committed Jul 22, 2019
1 parent 456ba52 commit 2001bf73a04dc6729e41bfae9f2d314a442d1012
@@ -0,0 +1,54 @@
<%

;Can be called from command line to doload the content of a URL.

;Example usage: curl.ss "http://networkdls.com/Software/Release/View/Simple_Scripting_Engine/"
;Please note that SSE will have to be installed with execute as the default "open with" behavior.
%>
<%
var serverName as String
var uri as String = "/"
var serverPort as Numeric = 80

If(Env.CommandLine.Count() > 1)
serverName = Env.CommandLine.Get(1)
If(Env.CommandLine.Count() > 2)
serverPort = Env.CommandLine.Get(2)
End If
End If

If(serverName.ToLower().IndexOf("http://") = 0)
serverName = serverName.SubString(7)

var indexOfSlash as String = serverName.IndexOf("/")
If(indexOfSlash > 0)
uri = serverName.SubString(indexOfSlash)
serverName = serverName.SubString(0, indexOfSlash)
End If
End If

var server as Socket.Server
server.Start()

var client as Socket.Client
server.Connect(serverName, serverPort, client)

var getHeader as String = _
$"GET ${uri} HTTP/1.1${CrLf}" _
$"Connection: close${CrLf}" _
$"Host: ${serverName}${CrLf}${CrLf}"

If(client.Send(getHeader))

While(client.IsConnected() OR client.IsRecvPending())

var receivedText as String = client.Recv()
If(receivedText.Length() > 0)
Print(receivedText)
End If
WEnd
End If

client.Disconnect()
server.Stop()
%>
@@ -1,8 +1,8 @@
[Setup]
;-- Main Setup Information
AppName = Simple Scripting Engine
AppVerName = Simple Scripting Engine 1.0.7.1
AppCopyright = Copyright � 1995-2016 NetworkDLS.
AppVerName = Simple Scripting Engine 1.0.7.2
AppCopyright = Copyright � 1995-2019 NetworkDLS.
DefaultDirName = {pf}\NetworkDLS\Simple Scripting Engine
DefaultGroupName = NetworkDLS\Simple Scripting Engine
UninstallDisplayIcon = {app}\SSE.Exe
@@ -17,7 +17,7 @@
AppPublisher = NetworkDLS
AppPublisherURL = http://www.NetworkDLS.com/
AppUpdatesURL = http://www.NetworkDLS.com/
AppVersion = 1.0.7.1
AppVersion = 1.0.7.2

[Components]
Name: "SSE"; Description: "Scripting Engine"; Types: Full Compact Custom; Flags: Fixed;
@@ -53,8 +53,8 @@ END
//

VS_VERSION_INFO VERSIONINFO
FILEVERSION 1,0,7,0
PRODUCTVERSION 1,0,7,0
FILEVERSION 1,0,7,2
PRODUCTVERSION 1,0,7,2
FILEFLAGSMASK 0x3fL
#ifdef _DEBUG
FILEFLAGS 0x1L
@@ -71,12 +71,12 @@ BEGIN
BEGIN
VALUE "CompanyName", "NetworkDLS. "
VALUE "FileDescription", "Simple Scripting Engine"
VALUE "FileVersion", "1.0.7.0"
VALUE "FileVersion", "1.0.7.2"
VALUE "InternalName", "SSE.exe"
VALUE "LegalCopyright", "Copyright � 2018 NetworkDLS. All rights reserved."
VALUE "LegalCopyright", "Copyright � 2019 NetworkDLS. All rights reserved."
VALUE "OriginalFilename", "SSE.exe"
VALUE "ProductName", "Simple Scripting Engine"
VALUE "ProductVersion", "1.0.7.0"
VALUE "ProductVersion", "1.0.7.2"
END
END
BLOCK "VarFileInfo"
@@ -94,8 +94,8 @@ END
STRINGTABLE
BEGIN
IDS_TITLECAPTION "Simple Scripting Engine"
IDS_FILEVERSION "1.0.7.0"
IDS_APPCOPYRIGHT "Copyright � 2018 NetworkDLS. All rights reserved."
IDS_FILEVERSION "1.0.7.2"
IDS_APPCOPYRIGHT "Copyright � 2019 NetworkDLS. All rights reserved."
IDS_REGISTRYKEY "Software\\NetworkDLS\\Simple Scripting Engine"
END

@@ -10,7 +10,7 @@
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("NetworkDLS")]
[assembly: AssemblyProduct("Simple Script IDE")]
[assembly: AssemblyCopyright("Copyright © 2018 NetworkDLS.")]
[assembly: AssemblyCopyright("Copyright © 2019 NetworkDLS.")]
[assembly: AssemblyTrademark("")]
[assembly: AssemblyCulture("")]

@@ -32,5 +32,5 @@
// You can specify all the values or you can default the Build and Revision Numbers
// by using the '*' as shown below:
// [assembly: AssemblyVersion("1.0.*")]
[assembly: AssemblyVersion("1.0.3.0")]
[assembly: AssemblyFileVersion("1.0.3.0")]
[assembly: AssemblyVersion("1.0.3.1")]
[assembly: AssemblyFileVersion("1.0.3.1")]

0 comments on commit 2001bf7

Please sign in to comment.
You can’t perform that action at this time.