rwdshell 0.94 → 0.95
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.txt +8 -0
- data/code/{ag1core/aa0begin.rb → 01rwdcore/01rwdcore.rb} +2 -0
- data/code/01rwdcore/02helptexthashbegin.rb +4 -0
- data/code/01rwdcore/03helptexthash.rb +31 -0
- data/code/01rwdcore/04helptextend.rb +6 -0
- data/code/01rwdcore/openhelpwindow.rb +31 -0
- data/code/01rwdcore/returntomain.rb +10 -0
- data/code/01rwdcore/rwdwindowreturn.rb +11 -0
- data/code/superant.com.rwdshell/helptexthashrubyslippers.rb +81 -0
- data/code/superant.com.rwdshell/listrubyscripts.rb +13 -0
- data/code/superant.com.rwdshell/loadconfigurationrecord.rb +33 -0
- data/code/superant.com.rwdshell/loadconfigurationvariables.rb +13 -0
- data/code/superant.com.rwdshell/openhelpwindowrubyslippers.rb +50 -0
- data/code/superant.com.rwdshell/playrubyscript.rb +22 -0
- data/code/superant.com.rwdshell/returntomain.rb +10 -0
- data/code/superant.com.rwdshell/runrwdshellbackwindow.rb +10 -0
- data/code/superant.com.rwdshell/runrwdshellmenu1.rb +57 -0
- data/code/superant.com.rwdshell/saveconfigurationrecord.rb +18 -0
- data/code/superant.com.rwdshell/viewrubyscript.rb +18 -0
- data/code/superant.com.rwdtinkerbackwindow/controlclient.rb +100 -0
- data/code/superant.com.rwdtinkerbackwindow/helptexthashtinkerwin2.rb +37 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/installapplet.rb +8 -8
- data/code/superant.com.rwdtinkerbackwindow/installgemapplet.rb +21 -0
- data/code/superant.com.rwdtinkerbackwindow/listgemzips.rb +54 -0
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/loadconfigurationrecord.rb +1 -1
- data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/loadconfigurationvariables.rb +1 -1
- data/code/superant.com.rwdtinkerbackwindow/network.rb +87 -0
- data/code/superant.com.rwdtinkerbackwindow/openhelpwindowtinkerwin2.rb +39 -0
- data/code/{xa5rwdtinkercallable/callable.rb → superant.com.rwdtinkerbackwindow/runrwdtinkerbackwindow.rb} +2 -3
- data/code/superant.com.rwdtinkerbackwindow/viewappletcontents.rb +21 -0
- data/code/superant.com.rwdtinkerbackwindow/viewgemappletcontents.rb +21 -0
- data/configuration/rwdapplicationidentity.cnf +3 -0
- data/configuration/rwdshellversion.cnf +1 -1
- data/configuration/rwdtinker.cnf +6 -2
- data/configuration/rwdtinkerversion.cnf +1 -1
- data/configuration/tinkerwin2variables.cnf +3 -3
- data/configuration/tinkerwin2version.cnf +1 -1
- data/ev/rwd.rb +4 -3
- data/gui/00coreguibegin/applicationguitop.rwd +1 -1
- data/gui/frontwindowselectionbegin/selectiontabbegin/selectiontabbegin.rwd +1 -1
- data/gui/frontwindowselections/superant.com.rwdshellselectiontab/rwdshellbackwindowselectiontab.rwd +12 -0
- data/gui/frontwindowtdocumentbegin/superant.com.documentsbegin/tt0documentbegin.rwd +1 -1
- data/gui/frontwindowtdocumentzend/superant.com.documentsend/ww0documentend.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/44listplayscripts.rwd +19 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/45listscripts.rwd +25 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/46editscriptrecord.rwd +30 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/92viewconfiguration.rwd +38 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/v9returntab.rwd +11 -0
- data/gui/tinkerbackwindows/superant.com.rwdshellbackwindow/zbackend.rwd +6 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40rwdlistzips.rwd +43 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/60editconfiguration.rwd +38 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/70rwddiagnostics.rwd +33 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/75rwdcontrol.rwd +33 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd +1 -1
- data/gui/tinkerbackwindows/superant.com.tinkerhelpwindow/1appname.rwd +31 -0
- data/init.rb +38 -2
- data/lang/templangfile.rb +15 -15
- data/lang/xlocallangfile.rb +15 -15
- data/rwd_files/HowTo_Shell.txt +8 -0
- data/rwd_files/HowTo_Tinker.txt +56 -7
- data/scripts/test02.rb +2 -0
- data/zips/rwdwcalc-0.50.zip +0 -0
- metadata +86 -50
- data/gui/tinkerbackwindows/superant.com.tinercallablewindow/1appname.rwd +0 -17
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40editconfiguration.rwd +0 -36
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistzips.rwd +0 -35
- data/installed/rwdtinkerwin2-0.5.inf +0 -8
- data/installed/rwdviewlogo-0.4.inf +0 -4
- data/tests/rwdtinkertestEN.rb +0 -163
- data/tests/test.result +0 -32
- data/zips/rwdcalc-0.4.zip +0 -0
- /data/code/{ag1core → 01rwdcore}/rwdtinkerversion.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/changescriptname.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/clearscriptscreendisplay.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/deletescriptrecord.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/listscripts.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/loadscriptrecord.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/playscript.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/rubyeval.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/runrwdshellwindow.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/rwdshellversion.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/savechangedscript.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/shelleval.rb +0 -0
- /data/code/{dd0shelleval → superant.com.rwdshell}/viewscript.rb +0 -0
- /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/diagnostictab.rb +0 -0
- /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/listinstalledfiles.rb +0 -0
- /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/listzips.rb +0 -0
- /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/openappletname.rb +0 -0
- /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/removeapplet.rb +0 -0
- /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/rwdtinkerwin2version.rb +0 -0
- /data/code/{xb1rwdtinkerbackwindow → superant.com.rwdtinkerbackwindow}/saveconfigurationrecord.rb +0 -0
- /data/gui/tinkerbackwindows/{superant.com.tinkerbackwindow/3arwddiagnostics.rwd → superant.com.rwdshellbackwindow/94rwddiagnostics.rwd} +0 -0
- /data/gui/tinkerbackwindows/{superant.com.tinercallablewindow → superant.com.tinkerhelpwindow}/9end.rwd +0 -0
- /data/installed/{rwdshell-0.93.inf → rwdshell-0.95.inf} +0 -0
@@ -0,0 +1,54 @@
|
|
1
|
+
# this code is to list the zips
|
2
|
+
|
3
|
+
|
4
|
+
def fillhypernotename(inffile)
|
5
|
+
applet = inffile.gsub(/\.zip$/, "")
|
6
|
+
@a_installapplet = applet
|
7
|
+
|
8
|
+
end
|
9
|
+
|
10
|
+
def findzipfiles(d)
|
11
|
+
a = Array.new(Dir[d].entries.sort)
|
12
|
+
#loop through and get the files names
|
13
|
+
a.each do |x|
|
14
|
+
#adjust the filters to the files you want to see...
|
15
|
+
if(!test(?d,x))
|
16
|
+
# only zip files
|
17
|
+
if x =~ /\.zip/
|
18
|
+
puts "#{x}" #opens the file thats in fileName as read only
|
19
|
+
$zipsarray = $zipsarray | ["#{x}"]
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
|
25
|
+
def listgemzips
|
26
|
+
startlangdir = $geminstalled_directory
|
27
|
+
#get a list of the files and subdirectories on the starting directory only
|
28
|
+
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
29
|
+
p alanghash
|
30
|
+
#loop through the list, ignore the files and add all new directories found
|
31
|
+
alanghash.each do |x|
|
32
|
+
#if a directory...
|
33
|
+
if(test(?d,x))
|
34
|
+
# add to the original list of directories
|
35
|
+
@@tmproot = x + "/**"
|
36
|
+
#adds the new ones to the array
|
37
|
+
blanghash = Dir[@@tmproot].entries.sort
|
38
|
+
blanghash.each do |x|
|
39
|
+
if(test(?d,x))
|
40
|
+
alanghash.push(x) #appends to the end of the array...
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
alanghash.each do |x|
|
46
|
+
#if it is a file...
|
47
|
+
if(!test(?d,x))
|
48
|
+
alanghash.delete(x)
|
49
|
+
else #it is a directory...
|
50
|
+
findzipfiles(x + "/**")
|
51
|
+
end
|
52
|
+
end
|
53
|
+
@zipslistresult = $zipsarray.rwd_method("fillhypernotename")
|
54
|
+
end
|
@@ -0,0 +1,87 @@
|
|
1
|
+
#!ruby
|
2
|
+
require 'socket' # Network stuff
|
3
|
+
require 'timeout' # Timeout functions
|
4
|
+
|
5
|
+
def network_start
|
6
|
+
if RUBY_PLATFORM != "i386-mswin32"
|
7
|
+
processone = fork {
|
8
|
+
network_demon }
|
9
|
+
Process.detach(processone)
|
10
|
+
|
11
|
+
else
|
12
|
+
puts "fork not tried winXP?"
|
13
|
+
end
|
14
|
+
@viewremotecommandresult = "starting controller on next available port"
|
15
|
+
end
|
16
|
+
|
17
|
+
def network_demon
|
18
|
+
# Find configuration variables
|
19
|
+
host = "127.0.0.1"
|
20
|
+
port = $rwdcontrolports[0].to_i
|
21
|
+
|
22
|
+
openportfound = false
|
23
|
+
until openportfound
|
24
|
+
|
25
|
+
# Create a socket to listen on and bind it to the host and port
|
26
|
+
begin
|
27
|
+
@socket = UDPSocket::new()
|
28
|
+
@socket.bind(host, port)
|
29
|
+
# Rescue the "Address in use" error
|
30
|
+
openportfound = true
|
31
|
+
|
32
|
+
rescue Errno::EADDRINUSE
|
33
|
+
puts "controller startup: Port #{port} on host #{host} is already in use."
|
34
|
+
port=port+1
|
35
|
+
# Rescue the "Address not available' error
|
36
|
+
rescue Errno::EADDRNOTAVAIL
|
37
|
+
puts "Network plugin: Address #{host} is not available to bind."
|
38
|
+
port=port+1
|
39
|
+
# Rescue "permission denied errors
|
40
|
+
rescue Errno::EACCES
|
41
|
+
puts "controller startup: Access denied when binding interface addresses. Did you try to bind a port under 1024 as a regular user?"
|
42
|
+
port=port+1
|
43
|
+
# Rescue all other errors
|
44
|
+
rescue
|
45
|
+
puts "Network plugin: An error occured."
|
46
|
+
port = port+1
|
47
|
+
# Rescue all other errors
|
48
|
+
end
|
49
|
+
|
50
|
+
end
|
51
|
+
|
52
|
+
|
53
|
+
# Get all acceptable hosts
|
54
|
+
hosts = ["localhost","vaio-sag"]
|
55
|
+
# Do some nice errorchecking
|
56
|
+
if(hosts.type != Array)
|
57
|
+
puts "Network plugin: No hosts found in networkConfig/acceptHosts. Shutting down plugin."
|
58
|
+
return -1 # Return the errorcode for plugin failure
|
59
|
+
end
|
60
|
+
|
61
|
+
# Main loop
|
62
|
+
while(true)
|
63
|
+
# Get data and client data from the client
|
64
|
+
data, info = @socket.recvfrom(256)
|
65
|
+
|
66
|
+
# Is this an acceptable IP address?
|
67
|
+
if(hosts.include?(info[2]) || hosts.include?(info[3]))
|
68
|
+
command, parameter = data.split(';')
|
69
|
+
|
70
|
+
# Command actions
|
71
|
+
command.downcase!()
|
72
|
+
case command
|
73
|
+
|
74
|
+
when 'stop'
|
75
|
+
@socket.send("hello world",0,info[3],info[1].to_i)
|
76
|
+
|
77
|
+
when 'query'
|
78
|
+
@socket.send("#{$rwdapplicationidentity} on port #{$port}",0,info[3],info[1].to_i)
|
79
|
+
|
80
|
+
|
81
|
+
end # case command
|
82
|
+
|
83
|
+
end # Access control if
|
84
|
+
end # while(true)
|
85
|
+
|
86
|
+
end # Network::start()
|
87
|
+
|
@@ -0,0 +1,39 @@
|
|
1
|
+
# this code is to call the help window
|
2
|
+
def runhelpwindowtinkerwin2
|
3
|
+
|
4
|
+
# $helptopicsarray = $helptopicsarray | [""]
|
5
|
+
|
6
|
+
$help_topic = "tinkerwin2_help"
|
7
|
+
if @rwd_tab == "rwdzipslister"
|
8
|
+
$help_topic = "tinkerwin2_help"
|
9
|
+
end
|
10
|
+
|
11
|
+
if @rwd_tab == "filelister"
|
12
|
+
$help_topic = "applet_viewing"
|
13
|
+
|
14
|
+
end
|
15
|
+
if @rwd_tab == "zipslister"
|
16
|
+
$help_topic = "applet_installation"
|
17
|
+
|
18
|
+
end
|
19
|
+
if @rwd_tab == "editconfigurationfile"
|
20
|
+
$help_topic = "applet_tinkerbackeditconfiguration"
|
21
|
+
|
22
|
+
end
|
23
|
+
if @rwd_tab == "rwdremotecontrol"
|
24
|
+
$help_topic = "remote_control"
|
25
|
+
|
26
|
+
end
|
27
|
+
|
28
|
+
|
29
|
+
if @rwd_window != "rwdtinkerhelpwindow"
|
30
|
+
$previouswindow = @rwd_window
|
31
|
+
$previoustab = @rwd_tab
|
32
|
+
else
|
33
|
+
$previouswindow = @rwd_window
|
34
|
+
$previoustab = @rwd_tab
|
35
|
+
end
|
36
|
+
runhelpwindow
|
37
|
+
end
|
38
|
+
|
39
|
+
|
@@ -4,10 +4,9 @@
|
|
4
4
|
# For more information about RwdTinker see http://www.rubyforge.net/projects/rwdapplications
|
5
5
|
|
6
6
|
# call the rwdtinker helpwindow
|
7
|
-
|
8
|
-
@rwd_window = "rwdtinkerhelpwindow"
|
9
|
-
end
|
7
|
+
|
10
8
|
def runrwdtinkerbackwindow
|
11
9
|
@rwd_window = "tinkerbackwindow"
|
10
|
+
@rwd_tab = "rwdzipslister"
|
12
11
|
end
|
13
12
|
|
@@ -0,0 +1,21 @@
|
|
1
|
+
def viewappletcontents
|
2
|
+
require 'fileutils'
|
3
|
+
require 'extras/zip/zip'
|
4
|
+
nametext = "%s" % [@a_installapplet]
|
5
|
+
|
6
|
+
begin # exception trapped block
|
7
|
+
fullname = nametext + ".zip"
|
8
|
+
fileName = File.join($zipslocation,fullname)
|
9
|
+
tempfilecontents = " "
|
10
|
+
zf = Zip::ZipFile.new(fileName)
|
11
|
+
zf.sort.each {
|
12
|
+
|entry|
|
13
|
+
tempfilecontents = tempfilecontents + entry.to_s + "\n"
|
14
|
+
}
|
15
|
+
@appletcontentstext = tempfilecontents
|
16
|
+
|
17
|
+
rescue
|
18
|
+
@installapplettext = "unzip error - error opening applet"
|
19
|
+
end # exception rescue
|
20
|
+
|
21
|
+
end
|
@@ -0,0 +1,21 @@
|
|
1
|
+
def viewgemappletcontents
|
2
|
+
require 'fileutils'
|
3
|
+
require 'extras/zip/zip'
|
4
|
+
nametext = "%s" % [@a_installapplet]
|
5
|
+
|
6
|
+
begin # exception trapped block
|
7
|
+
fullname = nametext + ".zip"
|
8
|
+
|
9
|
+
tempfilecontents = " "
|
10
|
+
zf = Zip::ZipFile.new(fullname)
|
11
|
+
zf.sort.each {
|
12
|
+
|entry|
|
13
|
+
tempfilecontents = tempfilecontents + entry.to_s + "\n"
|
14
|
+
}
|
15
|
+
@appletcontentstext = tempfilecontents
|
16
|
+
|
17
|
+
rescue
|
18
|
+
@installapplettext = "unzip error - error opening applet"
|
19
|
+
end # exception rescue
|
20
|
+
|
21
|
+
end
|
@@ -1,2 +1,2 @@
|
|
1
1
|
|
2
|
-
RwdShellVersion = "0.
|
2
|
+
RwdShellVersion = "0.95"
|
data/configuration/rwdtinker.cnf
CHANGED
@@ -7,6 +7,10 @@ RWDFile = "rwdtinker.rwd"
|
|
7
7
|
LangDir = "lang"
|
8
8
|
TempLangHashFile = LangDir + "/" + "templangfile.rb"
|
9
9
|
LocalLangHashFile = LangDir + "/" + "xlocallangfile.rb"
|
10
|
-
CodeDir = "code"
|
11
|
-
GuiDir = "gui"
|
10
|
+
CodeDir = "code"
|
11
|
+
GuiDir = "gui"
|
12
|
+
$help_topic = "general_help"
|
13
|
+
$helptopicsarray = [ "general_help","network_help"]
|
14
|
+
$prevouswindow ="main"
|
15
|
+
$rwdcontrolports =["13713","13714","13715","13716","13717","13718"]
|
12
16
|
$port = 7705
|
@@ -1,2 +1,2 @@
|
|
1
1
|
|
2
|
-
RwdTinkerVersion = "1.
|
2
|
+
RwdTinkerVersion = "1.52"
|
@@ -1,8 +1,8 @@
|
|
1
1
|
|
2
2
|
TinkerWin2ConfigurationFileName = "tinkerwin2variables.cnf" # this file name - do not change
|
3
3
|
$zipslocation = "zips" # location of applets to add
|
4
|
-
$
|
5
|
-
|
6
|
-
|
4
|
+
$zipsarray = [""]
|
5
|
+
# $geminstalled_directory = "/ruby/lib/ruby/gems/1.8/gems" # XP machine
|
6
|
+
$geminstalled_directory = "/usr/lib/ruby/gems/1.8/gems" # Debian Linux
|
7
7
|
|
8
8
|
|
data/ev/rwd.rb
CHANGED
@@ -267,7 +267,7 @@ class OpenTag
|
|
267
267
|
template = $rwd_html_PDA_1 if pda
|
268
268
|
|
269
269
|
res <<(template(template, args))
|
270
|
-
when "p" then
|
270
|
+
when "p" then res << "<p #{align} > "
|
271
271
|
when "pre" then res << "<pre #{align}>"
|
272
272
|
when "big" then res << "<p #{align}><big>"
|
273
273
|
when "small" then res << "<p #{align}><small>"
|
@@ -308,9 +308,10 @@ class OpenTag
|
|
308
308
|
when "hidden" then res << "<p #{align}><input name='#{@args["name"]}' value='#{value1}' type='hidden'>"
|
309
309
|
when "text"
|
310
310
|
maxlength = ""
|
311
|
-
|
311
|
+
maxlength = "maxlength='%s'" % @args["maxlength"] if @args.include?("maxlength")
|
312
312
|
size = ""
|
313
|
-
size
|
313
|
+
size = "size='%s'" % @args["size"] if @args.include?("size")
|
314
|
+
size = "size='%s'" % 10 if pda
|
314
315
|
res << "<p #{align}><input name='#{@args["name"]}' value='#{value1}' type='text' #{maxlength} #{size}>"
|
315
316
|
oneormorefields << "true"
|
316
317
|
when "textarea"
|
@@ -0,0 +1,19 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"rwdrubyscriptlister\" caption=\"List\\Run Ruby Scripts\">
|
4
|
+
<horizontal>
|
5
|
+
<text name=\"a_rwdrubyx\"/>
|
6
|
+
<text name=\"a_rwdrubyy\"/>
|
7
|
+
</horizontal>
|
8
|
+
<table>
|
9
|
+
<row> <p align=\"right\">Script Name:</p> <text name=\"a_rubyscriptcmd\"/> </row>
|
10
|
+
|
11
|
+
</table>
|
12
|
+
|
13
|
+
<horizontal>
|
14
|
+
<button caption=\"Execute\" action=\"playrubyscript\"/>
|
15
|
+
|
16
|
+
|
17
|
+
</horizontal>
|
18
|
+
<p>%playrubyscript_display%</p>"
|
19
|
+
|
@@ -0,0 +1,25 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<table>
|
4
|
+
<row> <p align=\"right\">ScriptName:</p> <text name=\"a_rubyscriptfilename\"/> </row>
|
5
|
+
|
6
|
+
</table>
|
7
|
+
|
8
|
+
<horizontal>
|
9
|
+
<button caption=\"ViewScript\" action=\"viewrubyscript\"/>
|
10
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdshell\"/>
|
11
|
+
|
12
|
+
</horizontal>
|
13
|
+
<p>%displayrubyscripttext%</p>
|
14
|
+
|
15
|
+
<horizontal>
|
16
|
+
|
17
|
+
<button caption=\"ListFiles\" action=\"listrubyscripts\"/>
|
18
|
+
<button caption=\"Cancel\" action=\"main\"/>
|
19
|
+
|
20
|
+
</horizontal>
|
21
|
+
<p>%%listrubyscriptresult%%</p>
|
22
|
+
</tab>"
|
23
|
+
|
24
|
+
|
25
|
+
|
@@ -0,0 +1,30 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"editeventrecordfile\" caption=\"Edit Script\">
|
4
|
+
<table>
|
5
|
+
<row> <p> </row>
|
6
|
+
<row> <p align=\"right\">NOT YET WORKING:You will be able to create a new record here or edit one</row>
|
7
|
+
<row> <p> </row>
|
8
|
+
<horizontal>
|
9
|
+
<button caption=\"Fill Record\" action=\"loadrubyscriptrecord\"/>
|
10
|
+
<button caption=\"Save Changes\" action=\"saverubyrecord\"/>
|
11
|
+
<button caption=\"Clear\" action=\"clearrubyscreendisplay\"/>
|
12
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdruby\"/>
|
13
|
+
</horizontal>
|
14
|
+
<horizontal>
|
15
|
+
<row> <p align=\"right\">FileName:</p>
|
16
|
+
<text name=\"a_calcscriptfilename\"/>
|
17
|
+
</horizontal>
|
18
|
+
<table>
|
19
|
+
<textarea name=\"a_calcscriptrecord\"/> </row>
|
20
|
+
|
21
|
+
|
22
|
+
</table>
|
23
|
+
|
24
|
+
<p>
|
25
|
+
<p>%neweventresult%</p>
|
26
|
+
|
27
|
+
|
28
|
+
|
29
|
+
</tab>"
|
30
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"viewrwdshellconfiguration\" caption=\"RwdShell Configuration\">
|
4
|
+
|
5
|
+
|
6
|
+
|
7
|
+
<table>
|
8
|
+
<row> <p> </row>
|
9
|
+
<row> <p align=\"right\">You can view or edit the RwdShell configuration file here</row>
|
10
|
+
<row> <p> </row>
|
11
|
+
<horizontal>
|
12
|
+
<button caption=\"Fill Record\" action=\"loadrwdshellconfiguration\"/>
|
13
|
+
<button caption=\"Save Changes\" action=\"saverwdshellconfiguration\"/>
|
14
|
+
<button caption=\"Reload Variables\" action=\"loadrwdshellconfigurationvariables\"/>
|
15
|
+
<button caption=\"Help\" action=\"runhelpwindowrwdshell\"/>
|
16
|
+
</horizontal>
|
17
|
+
<table>
|
18
|
+
|
19
|
+
<row> <p align=\"right\">FileName:</p> <text size=70 name=\"a_rshellconfigurationfilename\"/> </row>
|
20
|
+
<row> <p align=\"right\">1:</p> <text size=70 name=\"a_rshellhellconfigline1\"/> </row>
|
21
|
+
<row> <p align=\"right\">2:</p> <text size=70 name=\"a_rshellconfigline2\"/> </row>
|
22
|
+
<row> <p align=\"right\">3:</p> <text size=70 name=\"a_rshellconfigline3\"/> </row>
|
23
|
+
<row> <p align=\"right\">4:</p> <text size=70 name=\"a_rshellconfigline4\"/> </row>
|
24
|
+
<row> <p align=\"right\">5:</p> <text size=70 name=\"a_rshellconfigline5\"/> </row>
|
25
|
+
<row> <p align=\"right\">6:</p> <text size=70 name=\"a_rshellconfigline6\"/> </row>
|
26
|
+
<row> <p align=\"right\">7:</p> <text size=70 name=\"a_rshellconfigline7\"/> </row>
|
27
|
+
<row> <p align=\"right\">8:</p> <text size=70 name=\"a_rshellconfigline8\"/> </row>
|
28
|
+
<row> <p align=\"right\">9:</p> <text size=70 name=\"a_rshellconfigline9\"/> </row>
|
29
|
+
|
30
|
+
</table>
|
31
|
+
|
32
|
+
<p>
|
33
|
+
<p>%newrshellconfigurationresult%</p>
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
</tab>"
|
38
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"rwdzipslister\" caption=\"List Zips\">
|
4
|
+
|
5
|
+
<table>
|
6
|
+
<row> <p align=\"right\">File Name:</p> <text size=70 name=\"a_installapplet\"/> </row>
|
7
|
+
|
8
|
+
</table>
|
9
|
+
<horizontal>
|
10
|
+
<button caption=\"view applet contents\" action=\"viewappletcontents\"/>
|
11
|
+
<button caption=\"view (GEM Directory) applet contents\" action=\"viewgemappletcontents\"/>
|
12
|
+
</horizontal>
|
13
|
+
<p>%appletcontentstext%</p>
|
14
|
+
|
15
|
+
<horizontal>
|
16
|
+
|
17
|
+
|
18
|
+
<button caption=\"install applet\" action=\"installapplet\"/>
|
19
|
+
<button caption=\"install (Gem Directory) applet\" action=\"installgemapplet\"/>
|
20
|
+
<button caption=\"Help\" action=\"runhelpwindowtinkerwin2\"/>
|
21
|
+
|
22
|
+
</horizontal>
|
23
|
+
<p>%installapplettext%</p>
|
24
|
+
|
25
|
+
|
26
|
+
<table>
|
27
|
+
<row> <p align=\"right\">Click below to view the list of zip files </row>
|
28
|
+
|
29
|
+
</table>
|
30
|
+
|
31
|
+
<horizontal>
|
32
|
+
<button caption=\"List applets available for installing\" action=\"listzipfilestoinstall\"/>
|
33
|
+
|
34
|
+
<button caption=\"List applets (in the GEM Directory) available for installing\" action=\"listgemzips\"/>
|
35
|
+
|
36
|
+
</horizontal>
|
37
|
+
|
38
|
+
<p>%%zipslistresult%%</p>
|
39
|
+
|
40
|
+
</tab>"
|
41
|
+
|
42
|
+
|
43
|
+
|
@@ -0,0 +1,38 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"editconfigurationfile\" caption=\"Edit Configuration\">
|
4
|
+
<table>
|
5
|
+
<row> <p> </row>
|
6
|
+
<row> <p align=\"right\">You can view or edit the rwdtinker applet confiruration file here</row>
|
7
|
+
<row> <p> </row>
|
8
|
+
<horizontal>
|
9
|
+
<button caption=\"Load Record\" action=\"loadconfigurationrecord\"/>
|
10
|
+
<button caption=\"Save Changes\" action=\"saveconfigurationrecord\"/>
|
11
|
+
<button caption=\"Reload Variables\" action=\"loadconfigurationvariables\"/>
|
12
|
+
<button caption=\"Help\" action=\"runhelpwindowtinkerwin2\"/>
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
</horizontal>
|
18
|
+
<table>
|
19
|
+
<row> <p align=\"right\" >FileName:</p> <text size=70 name=\"a_configurationfilename\"/> </row>
|
20
|
+
<row> <p align=\"right\">1:</p> <text size=70 name=\"a_configline1\"/> </row>
|
21
|
+
<row> <p align=\"right\">2:</p> <text size=70 name=\"a_configline2\"/> </row>
|
22
|
+
<row> <p align=\"right\">3:</p> <text size=70 name=\"a_configline3\"/> </row>
|
23
|
+
<row> <p align=\"right\">4:</p> <text size=70 name=\"a_configline4\"/> </row>
|
24
|
+
<row> <p align=\"right\">5:</p> <text size=70 name=\"a_configline5\"/> </row>
|
25
|
+
<row> <p align=\"right\">6:</p> <text size=70 name=\"a_configline6\"/> </row>
|
26
|
+
<row> <p align=\"right\">7:</p> <text size=70 name=\"a_configline7\"/> </row>
|
27
|
+
<row> <p align=\"right\">8:</p> <text size=70 name=\"a_configline8\"/> </row>
|
28
|
+
|
29
|
+
|
30
|
+
</table>
|
31
|
+
<p>%extraconfigdatadisplay%</p>
|
32
|
+
<p>
|
33
|
+
<p>%newconfigurationresult%</p>
|
34
|
+
|
35
|
+
|
36
|
+
|
37
|
+
</tab>"
|
38
|
+
|
@@ -0,0 +1,33 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"diagnostictab\" caption=\"Diagnostic Tab\">
|
4
|
+
<horizontal>
|
5
|
+
<button caption=\"View Ruby Version\" action=\"runrubyversion\"/>
|
6
|
+
|
7
|
+
|
8
|
+
</horizontal>
|
9
|
+
<p>%rubyversion%</p>
|
10
|
+
|
11
|
+
|
12
|
+
<table>
|
13
|
+
<row> <p> </row>
|
14
|
+
|
15
|
+
</table>
|
16
|
+
|
17
|
+
<horizontal>
|
18
|
+
<button caption=\"view platform\" action=\"runviewplatform\"/>
|
19
|
+
|
20
|
+
</horizontal>
|
21
|
+
|
22
|
+
<p>%platformdisplay%</p>
|
23
|
+
<horizontal>
|
24
|
+
<button caption=\"View rwdtinker Version\" action=\"rwdtinkerversiondiagnostic\"/>
|
25
|
+
|
26
|
+
</horizontal>
|
27
|
+
|
28
|
+
<p>%rwdtinkerversionreturn%</p>
|
29
|
+
|
30
|
+
</tab>"
|
31
|
+
|
32
|
+
|
33
|
+
|