rwdshell 0.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (184) hide show
  1. data/Readme.txt +57 -0
  2. data/bin/rwdshell +19 -0
  3. data/code/ag1core/aa0begin.rb +18 -0
  4. data/code/ag1core/rwdtinkerversion.rb +15 -0
  5. data/code/al5languagefiles/alanguagehashbegin.rb +4 -0
  6. data/code/al5languagefiles/languagehash.rb +4 -0
  7. data/code/al5languagefiles/templangfile.rb +6 -0
  8. data/code/al5languagefiles/zlanguagehashend.rb +6 -0
  9. data/code/cb7rubyeval/cb7rubyeval.rb +23 -0
  10. data/code/dd0shelleval/dd0shelleval.rb +20 -0
  11. data/code/ek0shellscripts/ek0playscript.rb +22 -0
  12. data/code/ek0shellscripts/em0listscripts.rb +12 -0
  13. data/code/ek0shellscripts/em1viewscript.rb +18 -0
  14. data/code/ek0shellscripts/en0createnewscript.rb +18 -0
  15. data/code/gh9calendar/gh9calendar.rb +16 -0
  16. data/code/ii3calculator/ca2multiply.rb +5 -0
  17. data/code/ii3calculator/ca4add.rb +5 -0
  18. data/code/lm1installapplets/ll5listzips.rb +14 -0
  19. data/code/lm1installapplets/lm1installapplet.rb +20 -0
  20. data/code/ssdiagnostictab/diagnostictab.rb +20 -0
  21. data/code/xa5rwdtinkercallable/callable.rb +13 -0
  22. data/code/xb1rwdtinkerbackwindow/05listinstalledfiles.rb +11 -0
  23. data/code/xb1rwdtinkerbackwindow/diagnostictab.rb +20 -0
  24. data/code/xb1rwdtinkerbackwindow/ll1openname.rb +18 -0
  25. data/code/xb1rwdtinkerbackwindow/ll5listzips.rb +14 -0
  26. data/code/xb1rwdtinkerbackwindow/lm1installapplet.rb +20 -0
  27. data/code/xb1rwdtinkerbackwindow/mm1removeapplet.rb +28 -0
  28. data/code/xb1rwdtinkerbackwindow/rwdtinkerwin2version.rb +14 -0
  29. data/code/zz0applicationend/zz0end.rb +4 -0
  30. data/configuration/aa0rwdframework.cnf +11 -0
  31. data/configuration/ab1tinkerwin2.cnf +3 -0
  32. data/configuration/ek0playscripts.cnf +2 -0
  33. data/configuration/gh1rwdcalendar.cnf +26 -0
  34. data/ev/browser.rb +109 -0
  35. data/ev/ftools.rb +170 -0
  36. data/ev/net.rb +750 -0
  37. data/ev/ruby.rb +819 -0
  38. data/ev/rwd.rb +1848 -0
  39. data/ev/sgml.rb +236 -0
  40. data/ev/thread.rb +63 -0
  41. data/ev/tree.rb +343 -0
  42. data/ev/xml.rb +4 -0
  43. data/extras/cal.rb +166 -0
  44. data/gui/en/aa2core/aa0rwdtop.rwd +3 -0
  45. data/gui/en/cb7rubyeval/cb7rwdrubyeval.rwd +18 -0
  46. data/gui/en/dd0rwdshelleval/dd0rwdshelleval.rwd +16 -0
  47. data/gui/en/ek0shellscripts/ek0playscript.rwd +15 -0
  48. data/gui/en/ek0shellscripts/el0listscripts.rwd +25 -0
  49. data/gui/en/ek0shellscripts/en0createscripts.rwd +24 -0
  50. data/gui/en/hl9calendar/hl9calendar.rwd +18 -0
  51. data/gui/en/ii3calculator/ca0rwdcalc.rwd +17 -0
  52. data/gui/en/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  53. data/gui/en/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  54. data/gui/en/lz1selectiontabend/endselectiontab.rwd +1 -0
  55. data/gui/en/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  56. data/gui/en/ub7rubyeval/rubyeval.rwd +3 -0
  57. data/gui/en/uk5scriptrunnerdocuments/documents.rwd +3 -0
  58. data/gui/en/uu5rwddocuments/uu5documents.rwd +13 -0
  59. data/gui/en/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  60. data/gui/en/vv1docshellxp/vvdocshellxp.rwd +4 -0
  61. data/gui/en/ww0documentsend/ww0documentend.rwd +6 -0
  62. data/gui/en/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  63. data/gui/en/xa1versionwindow/1appname.rwd +17 -0
  64. data/gui/en/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  65. data/gui/en/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  66. data/gui/en/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  67. data/gui/en/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  68. data/gui/en/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  69. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  70. data/gui/en/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  71. data/gui/en/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  72. data/gui/en/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  73. data/gui/en/yg5rwdhelpabout/1appname.rwd +2 -0
  74. data/gui/en/yg5rwdhelpabout/3copyright.rwd +1 -0
  75. data/gui/en/yg5rwdhelpabout/5version.rwd +9 -0
  76. data/gui/en/yg6rwdwin2helpabout/1appname.rwd +2 -0
  77. data/gui/en/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  78. data/gui/en/yg6rwdwin2helpabout/5version.rwd +9 -0
  79. data/gui/en/za1applicationend/yy9rwdend.rwd +2 -0
  80. data/gui/es/aa2core/aa0rwdtop.rwd +3 -0
  81. data/gui/es/cb7rubyeval/cb7rwdrubyeval.rwd +18 -0
  82. data/gui/es/dd0rwdshelleval/dd0rwdshelleval.rwd +16 -0
  83. data/gui/es/ek0shellscripts/ek0playscript.rwd +15 -0
  84. data/gui/es/ek0shellscripts/el0listscripts.rwd +25 -0
  85. data/gui/es/ek0shellscripts/en0createscripts.rwd +24 -0
  86. data/gui/es/hl9calendar/hl9calendar.rwd +18 -0
  87. data/gui/es/ii3calculator/ca0rwdcalc.rwd +17 -0
  88. data/gui/es/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  89. data/gui/es/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  90. data/gui/es/lz1selectiontabend/endselectiontab.rwd +1 -0
  91. data/gui/es/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  92. data/gui/es/ub7rubyeval/rubyeval.rwd +3 -0
  93. data/gui/es/uk5scriptrunnerdocuments/documents.rwd +3 -0
  94. data/gui/es/uu5rwddocuments/uu5documents.rwd +13 -0
  95. data/gui/es/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  96. data/gui/es/vv1docshellxp/vvdocshellxp.rwd +4 -0
  97. data/gui/es/ww0documentsend/ww0documentend.rwd +6 -0
  98. data/gui/es/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  99. data/gui/es/xa1versionwindow/1appname.rwd +17 -0
  100. data/gui/es/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  101. data/gui/es/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  102. data/gui/es/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  103. data/gui/es/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  104. data/gui/es/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  105. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  106. data/gui/es/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  107. data/gui/es/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  108. data/gui/es/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  109. data/gui/es/yg5rwdhelpabout/1appname.rwd +2 -0
  110. data/gui/es/yg5rwdhelpabout/3copyright.rwd +1 -0
  111. data/gui/es/yg5rwdhelpabout/5version.rwd +9 -0
  112. data/gui/es/yg6rwdwin2helpabout/1appname.rwd +2 -0
  113. data/gui/es/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  114. data/gui/es/yg6rwdwin2helpabout/5version.rwd +9 -0
  115. data/gui/es/za1applicationend/yy9rwdend.rwd +2 -0
  116. data/gui/nl/aa2core/aa0rwdtop.rwd +3 -0
  117. data/gui/nl/cb7rubyeval/cb7rwdrubyeval.rwd +18 -0
  118. data/gui/nl/dd0rwdshelleval/dd0rwdshelleval.rwd +16 -0
  119. data/gui/nl/ek0shellscripts/ek0playscript.rwd +15 -0
  120. data/gui/nl/ek0shellscripts/el0listscripts.rwd +25 -0
  121. data/gui/nl/ek0shellscripts/en0createscripts.rwd +24 -0
  122. data/gui/nl/hl9calendar/hl9calendar.rwd +18 -0
  123. data/gui/nl/ii3calculator/ca0rwdcalc.rwd +17 -0
  124. data/gui/nl/ll1selectiontabbegin/selectiontabbegin.rwd +15 -0
  125. data/gui/nl/ll5rwdtinkerwin2selectiontab/rwdwin2selectiontab.rwd +11 -0
  126. data/gui/nl/lz1selectiontabend/endselectiontab.rwd +1 -0
  127. data/gui/nl/tt0documentsbegin/tt0documentbegin.rwd +5 -0
  128. data/gui/nl/ub7rubyeval/rubyeval.rwd +3 -0
  129. data/gui/nl/uk5scriptrunnerdocuments/documents.rwd +3 -0
  130. data/gui/nl/uu5rwddocuments/uu5documents.rwd +13 -0
  131. data/gui/nl/uu6rwdtinkerwin2documents/uu5documents.rwd +4 -0
  132. data/gui/nl/vv1docshellxp/vvdocshellxp.rwd +4 -0
  133. data/gui/nl/ww0documentsend/ww0documentend.rwd +6 -0
  134. data/gui/nl/wz6finaltabs/xx0rwdfirsttab.rwd +4 -0
  135. data/gui/nl/xa1versionwindow/1appname.rwd +17 -0
  136. data/gui/nl/xa5rwdtinkercallablewindow/1appname.rwd +15 -0
  137. data/gui/nl/xa5rwdtinkercallablewindow/9end.rwd +4 -0
  138. data/gui/nl/xb1rwdtinkerbackwindow/1appname.rwd +3 -0
  139. data/gui/nl/xb1rwdtinkerbackwindow/2tab1.rwd +9 -0
  140. data/gui/nl/xb1rwdtinkerbackwindow/3arwddiagnostics.rwd +31 -0
  141. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistapplets.rwd +42 -0
  142. data/gui/nl/xb1rwdtinkerbackwindow/4arwdlistzips.rwd +33 -0
  143. data/gui/nl/xb1rwdtinkerbackwindow/9backend.rwd +5 -0
  144. data/gui/nl/ya1helpaboutbegin/ya0helpscreenstart.rwd +1 -0
  145. data/gui/nl/yg5rwdhelpabout/1appname.rwd +2 -0
  146. data/gui/nl/yg5rwdhelpabout/3copyright.rwd +1 -0
  147. data/gui/nl/yg5rwdhelpabout/5version.rwd +9 -0
  148. data/gui/nl/yg6rwdwin2helpabout/1appname.rwd +2 -0
  149. data/gui/nl/yg6rwdwin2helpabout/3copyright.rwd +1 -0
  150. data/gui/nl/yg6rwdwin2helpabout/5version.rwd +9 -0
  151. data/gui/nl/za1applicationend/yy9rwdend.rwd +2 -0
  152. data/init.rb +164 -0
  153. data/installed/rwdcalendar-0.4.inf +6 -0
  154. data/installed/rwdrubyeval-0.3.inf +5 -0
  155. data/installed/rwdscriptrunner-0.3.inf +9 -0
  156. data/installed/rwdshellxp-0.4.inf +5 -0
  157. data/installed/rwdtinkerwin2-0.5.inf +16 -0
  158. data/lang/en/rwdcore/languagefile.rb +6 -0
  159. data/lang/es/rwdcore/languagefile.rb +4 -0
  160. data/lang/nl/rwdcore/languagefile.rb +4 -0
  161. data/lib/temp.rb +1 -0
  162. data/rwd_files/HowTo_RubyEval.html +80 -0
  163. data/rwd_files/HowTo_Scriptrunner.txt +171 -0
  164. data/rwd_files/HowTo_Shell.txt +94 -0
  165. data/rwd_files/HowTo_Tinker.html +370 -0
  166. data/rwd_files/HowTo_Tinker.txt +244 -0
  167. data/rwd_files/HowTo_TinkerWin2.txt +202 -0
  168. data/rwd_files/Readme.txt +57 -0
  169. data/rwd_files/favicon.ico +0 -0
  170. data/rwd_files/rdoc-style.css +175 -0
  171. data/rwd_files/rwdapplications.html +54 -0
  172. data/rwd_files/rwdindex.html +6 -0
  173. data/scripts/date.sh +2 -0
  174. data/scripts/lister.sh +2 -0
  175. data/scripts/uname.sh +2 -0
  176. data/tests/rwdtinkertestEN.rb +87 -0
  177. data/tests/temptest.out +18 -0
  178. data/tests/totranslate.lang +93 -0
  179. data/zips/rwdaviewphoto-0.3.zip +0 -0
  180. data/zips/rwdhelloworld-0.2.zip +0 -0
  181. data/zips/rwdrefreshacpi-0.1.zip +0 -0
  182. data/zips/rwdscriptrunner-0.3.zip +0 -0
  183. data/zips/rwdwtinkerwin2-0.5.zip +0 -0
  184. metadata +227 -0
data/extras/cal.rb ADDED
@@ -0,0 +1,166 @@
1
+ #! /usr/bin/env ruby
2
+
3
+ # cal.rb: Written by Tadayoshi Funaba 1998-2004
4
+ # $Id: cal.rb,v 2.8 2004-09-25 12:50:10+09 tadf Exp $
5
+
6
+ require 'date'
7
+
8
+ class Cal
9
+
10
+ START =
11
+ {
12
+ 'cn' => true, # China
13
+ 'de' => 2342032, # Germany (protestant states)
14
+ 'dk' => 2342032, # Denmark
15
+ 'en' => 2361222, # English
16
+ 'es' => 2299161, # Spain
17
+ 'fi' => 2361390, # Finland
18
+ 'fr' => 2299227, # France
19
+ 'gb' => 2361222, # United Kingdom
20
+ 'gr' => 2423868, # Greece
21
+ 'hu' => 2301004, # Hungary
22
+ 'it' => 2299161, # Italy
23
+ 'jp' => true, # Japan
24
+ 'no' => 2342032, # Norway
25
+ 'nl' => 2361222,
26
+ 'pl' => 2299161, # Poland
27
+ 'pt' => 2299161, # Portugal
28
+ 'ru' => 2421639, # Russia
29
+ 'se' => 2361390, # Sweden
30
+ 'us' => 2361222, # United States
31
+ 'os' => false, # (old style)
32
+ 'ns' => true # (new style)
33
+ }
34
+
35
+ DEFAULT_START = 'gb'
36
+
37
+ def initialize
38
+ opt_j; opt_m; opt_t; opt_y; opt_c
39
+ end
40
+
41
+ def opt_j(flag=false) @opt_j = flag end
42
+ def opt_m(flag=false) @opt_m = flag end
43
+ def opt_t(flag=false) @opt_t = flag end
44
+ def opt_y(flag=false) @opt_y = flag end
45
+
46
+ def opt_c(arg=DEFAULT_START) @start = START[arg] end
47
+
48
+ def set_params
49
+ @dw = if @opt_j then 3 else 2 end
50
+ @mw = (@dw + 1) * 7 - 1
51
+ @mn = if @opt_j then 2 else 3 end
52
+ @tw = (@mw + 2) * @mn - 2
53
+ @k = if @opt_m then 1 else 0 end
54
+ @da = if @opt_j then :yday else :mday end
55
+ end
56
+
57
+ def pict(y, m)
58
+ d = (1..31).detect{|d| Date.valid_date?(y, m, d, @start)}
59
+ fi = Date.new(y, m, d, @start)
60
+ fi -= (fi.jd - @k + 1) % 7
61
+
62
+ ve = (fi..fi + 6).collect{|cu|
63
+ %w(S M Tu W Th F S)[cu.wday]
64
+ }
65
+ ve += (fi..fi + 41).collect{|cu|
66
+ if cu.mon == m then cu.send(@da) end.to_s
67
+ }
68
+
69
+ ve = ve.collect{|e| e.rjust(@dw)}
70
+
71
+ gr = group(ve, 7)
72
+ gr = trans(gr) if @opt_t
73
+ ta = gr.collect{|xs| xs.join(' ')}
74
+
75
+ ca = %w(January February March April May June July
76
+ August September October November December)[m - 1]
77
+ ca = ca + ' ' + y.to_s if not @opt_y
78
+ ca = ca.center(@mw)
79
+
80
+ ta.unshift(ca)
81
+ end
82
+
83
+ def group(xs, n)
84
+ (0..xs.size / n - 1).collect{|i| xs[i * n, n]}
85
+ end
86
+
87
+ def trans(xs)
88
+ (0..xs[0].size - 1).collect{|i| xs.collect{|x| x[i]}}
89
+ end
90
+
91
+ def stack(xs)
92
+ if xs.empty? then [] else xs[0] + stack(xs[1..-1]) end
93
+ end
94
+
95
+ def block(xs, n)
96
+ stack(group(xs, n).collect{|ys| trans(ys).collect{|zs| zs.join(' ')}})
97
+ end
98
+
99
+ def unlines(xs)
100
+ xs.collect{|x| x + "\n"}.join
101
+ end
102
+
103
+ def monthly(y, m)
104
+ unlines(pict(y, m))
105
+ end
106
+
107
+ def addmon(y, m, n)
108
+ y, m = (y * 12 + (m - 1) + n).divmod(12)
109
+ return y, m + 1
110
+ end
111
+
112
+ def yearly(y)
113
+ y.to_s.center(@tw) + "\n\n" +
114
+ unlines(block((0..11).collect{|n| pict(*addmon(y, 1, n))}, @mn)) + "\n"
115
+ end
116
+
117
+ def print(y, m)
118
+ set_params
119
+ if @opt_y then yearly(y) else monthly(y, m) end
120
+ end
121
+
122
+ end
123
+
124
+ if __FILE__ == $0
125
+
126
+ require 'getoptlong'
127
+
128
+ def usage
129
+ warn 'usage: cal [-c iso3166] [-jmty] [[month] year]'
130
+ exit 1
131
+ end
132
+
133
+ cal = Cal.new
134
+
135
+ begin
136
+ GetoptLong.new(['-c', GetoptLong::REQUIRED_ARGUMENT],
137
+ ['-j', GetoptLong::NO_ARGUMENT],
138
+ ['-m', GetoptLong::NO_ARGUMENT],
139
+ ['-t', GetoptLong::NO_ARGUMENT],
140
+ ['-y', GetoptLong::NO_ARGUMENT]).
141
+ each do |opt, arg|
142
+ case opt
143
+ when '-c'; cal.opt_c(arg) || raise
144
+ when '-j'; cal.opt_j(true)
145
+ when '-m'; cal.opt_m(true)
146
+ when '-t'; cal.opt_t(true)
147
+ when '-y'; cal.opt_y(true)
148
+ end
149
+ end
150
+ rescue
151
+ usage
152
+ end
153
+
154
+ y, m = ARGV.values_at(1, 0).compact.collect{|x| x.to_i}
155
+ cal.opt_y(true) if y and not m
156
+
157
+ to = Date.today
158
+ y ||= to.year
159
+ m ||= to.mon
160
+
161
+ usage unless m >= 1 and m <= 12
162
+ usage unless y >= -4712
163
+
164
+ print cal.print(y, m)
165
+
166
+ end
@@ -0,0 +1,3 @@
1
+ <application>
2
+ <window name="main" title="Tinker - RubyWebDialogs">
3
+ <tabs>
@@ -0,0 +1,18 @@
1
+ <tab name="three" caption="ruby">
2
+ <table>
3
+ <row> <p align="right">Ruby Command:</p> <text name="a_rubyeval"/> </row>
4
+
5
+ </table>
6
+ <p>%rubydisplay%</p>
7
+ <horizontal>
8
+
9
+ <button caption="Execute" action="rubyeval"/>
10
+ <button caption="Cancel" action="main"/>
11
+
12
+
13
+
14
+ </horizontal>
15
+
16
+
17
+ </tab>
18
+
@@ -0,0 +1,16 @@
1
+
2
+
3
+ <tab name="shelleval" caption="Shell Eval CMD">
4
+
5
+ <table>
6
+ <row> <p align="right">Shell Command:</p> <text name="a_shelleval"/> </row>
7
+
8
+ </table>
9
+ <p>%result%</p>
10
+ <horizontal>
11
+ <button caption="Execute" action="shelleval"/>
12
+ <button caption="Cancel" action="main"/>
13
+
14
+ </horizontal>
15
+
16
+ </tab>
@@ -0,0 +1,15 @@
1
+ <tab name="scriptlister" caption="List\Run Scripts">
2
+
3
+
4
+ <table>
5
+ <row> <p align="right">Script Name:</p> <text name="a_scriptcmd"/> </row>
6
+
7
+ </table>
8
+
9
+ <horizontal>
10
+ <button caption="Execute" action="playscript"/>
11
+ <button caption="Cancel" action="main"/>
12
+
13
+ </horizontal>
14
+ <p>%playscript_display%</p>
15
+
@@ -0,0 +1,25 @@
1
+
2
+
3
+ <table>
4
+ <row> <p align="right">ScriptName:</p> <text name="a_scriptlist"/> </row>
5
+
6
+ </table>
7
+
8
+ <horizontal>
9
+ <button caption="ViewScript" action="viewscript"/>
10
+ <button caption="Cancel" action="main"/>
11
+
12
+ </horizontal>
13
+ <p>%displayscripttext%</p>
14
+
15
+ <horizontal>
16
+
17
+ <button caption="ListFiles" action="listscripts"/>
18
+ <button caption="Cancel" action="main"/>
19
+
20
+ </horizontal>
21
+ <p>%%listscriptresult%%</p>
22
+ </tab>
23
+
24
+
25
+
@@ -0,0 +1,24 @@
1
+ <tab name="newfile" caption="Create New Script">
2
+ <table>
3
+ <row> <p> </row>
4
+ <row> <b>The filename will automatically have a .sh added</b> <row>
5
+ <row> <p> </row>
6
+ <row> <p align="center">FileName:</p> <text name="a_filename"/> </row>
7
+ <row> <p align="center">Script Line:</p> <text name="a_firstline"/> </row>
8
+ <row> <p align="center">Comment Line:</p> <text name="a_commentline"/> </row>
9
+
10
+
11
+ </table>
12
+ <p>%newdisplay%</p>
13
+ <horizontal>
14
+ <button caption="CreateFile" action="createnew"/>
15
+ <button caption="Cancel" action="main"/>
16
+
17
+
18
+
19
+
20
+ </horizontal>
21
+
22
+
23
+ </tab>
24
+
@@ -0,0 +1,18 @@
1
+ <tab name="calendar" caption="Show Month">
2
+ <table>
3
+ <row> <p align="right">Year:</p> <text name="a_year"/> </row>
4
+ <row> <p align="right">Month:</p> <text name="a_month"/> </row>
5
+ </table>
6
+ <p>%showmonthresult%</p>
7
+ <horizontal>
8
+
9
+ <button caption="ShowMonth" action="showmonth"/>
10
+
11
+ <button caption="Cancel" action="main"/>
12
+
13
+
14
+ </horizontal>
15
+
16
+
17
+ </tab>
18
+
@@ -0,0 +1,17 @@
1
+ <tab name="four" caption="calc">
2
+
3
+ <table>
4
+ <row> <p align="right">First number:</p> <text name="a_calc"/> </row>
5
+ <row> <p align="right">Second number:</p> <text name="b_calc"/> </row>
6
+ </table>
7
+ <p>%result%</p>
8
+ <horizontal>
9
+
10
+ <button caption="Multiply" action="multiply"/>
11
+ <button caption="Add" action="add"/>
12
+ </horizontal>
13
+
14
+ </tab>
15
+
16
+
17
+
@@ -0,0 +1,15 @@
1
+
2
+ <tab name="selectiontab" caption="Selection Panel">
3
+
4
+ <table>
5
+ <row> <p align="right">Open a new window with callable applets you have loaded</row>
6
+
7
+ </table>
8
+ <horizontal>
9
+
10
+ <button caption="RwdTinker Help Window" action="runrwdtinkerhelpwindow"/>
11
+
12
+
13
+ </horizontal>
14
+
15
+
@@ -0,0 +1,11 @@
1
+
2
+ <row> <p></row>
3
+
4
+ <horizontal>
5
+
6
+ <button caption="RwdTinker Back Window" action="runrwdtinkerbackwindow"/>
7
+
8
+
9
+ </horizontal>
10
+
11
+
@@ -0,0 +1 @@
1
+ </tab>
@@ -0,0 +1,5 @@
1
+
2
+ <tab name="one" caption="Documents">
3
+ <horizontal>
4
+ <table>
5
+
@@ -0,0 +1,3 @@
1
+
2
+ <row> <p align="left">
3
+ <a href=HowTo_RubyEval.html>Howto_RubyEval.html</a></p></row>
@@ -0,0 +1,3 @@
1
+
2
+ <row> <p align="left">
3
+ <a href=HowTo_Scriptrunner.txt>Howto_Scriptrunner.txt</a></p></row>
@@ -0,0 +1,13 @@
1
+ <row> <p align="left">
2
+ <a href=HowTo_Tinker.html>Howto_Tinker.html</a></p></row>
3
+ <row> <p align="left">
4
+ <a href=Readme.txt>Readme.txt</a></p></row>
5
+ <row> <p align="left">
6
+ <a href=COPYING>GPL License </a></p></row>
7
+ <row> <p align="left">
8
+ <a href=rwdapplications.html>more information about rwdapplications </a></p></row>
9
+ <row> <p align="left">
10
+ <a href=rwdindex.html>Link to online information about RubyWebdialogs </a></p></row>
11
+
12
+
13
+
@@ -0,0 +1,4 @@
1
+ <row> <p align="left">
2
+ <a href=HowTo_TinkerWin2.txt>Howto_TinkerWin2.txt</a></p></row>
3
+
4
+
@@ -0,0 +1,4 @@
1
+
2
+ <row> <p align="left">
3
+ <a href=HowTo_Shell.txt>Howto_Shell.txt</a></p></row>
4
+
@@ -0,0 +1,6 @@
1
+
2
+ <row> <p align="left"><a href=.>Spawn a clone Dialog window</a></p></row>
3
+ </table>
4
+ </horizontal>
5
+ </tab>
6
+
@@ -0,0 +1,4 @@
1
+ </tabs>
2
+ </window>
3
+
4
+
@@ -0,0 +1,17 @@
1
+ <window name = "applicationversion" title="Application Version">
2
+
3
+ <row> <p></row>
4
+ <p>%versionappnamedisplay%</p>
5
+ <row> <p></row>
6
+ <p>%versioncopyrightdisplay%</p>
7
+
8
+ <row> <p></row>
9
+ <p>%versionnumberdisplay%</p>
10
+
11
+ <horizontal>
12
+ <cancel/>
13
+ </horizontal>
14
+
15
+ </window>
16
+
17
+
@@ -0,0 +1,15 @@
1
+ <window name = "rwdtinkerhelpwindow" title="RwdTinker Help">
2
+ <tabs>
3
+ <tab name="main" caption="Help">
4
+ <row> <p></row>
5
+ <row> <p>RwdTinker</row>
6
+ <cancel/>
7
+ </tab>
8
+
9
+ <tab name="nexttab" caption="Next">
10
+ <row> <p></row>
11
+ <row> <p>RwdTinker Help</row>
12
+ <cancel/>
13
+ </tab>
14
+
15
+ </tabs>
@@ -0,0 +1,4 @@
1
+
2
+ </window>
3
+
4
+
@@ -0,0 +1,3 @@
1
+ <window name = "tinkerbackwindow" title="Tinker Back Window">
2
+
3
+ <tabs>
@@ -0,0 +1,9 @@
1
+ <tab name="backone" caption="Back Tab">
2
+
3
+ <row> You can return to the previous window</row>
4
+ <row><p> </row>
5
+ <row><p> </row>
6
+ <button caption="Return to top menu" action="main"/>
7
+
8
+ </tab>
9
+
@@ -0,0 +1,31 @@
1
+ <tab name="diagnostictab" caption="Diagnostic Tab">
2
+ <horizontal>
3
+ <button caption="View Ruby Version" action="runrubyversion"/>
4
+
5
+
6
+ </horizontal>
7
+ <p>%rubyversion%</p>
8
+
9
+
10
+ <table>
11
+ <row> <p> </row>
12
+
13
+ </table>
14
+
15
+ <horizontal>
16
+ <button caption="view platform" action="runviewplatform"/>
17
+
18
+ </horizontal>
19
+
20
+ <p>%platformdisplay%</p>
21
+ <horizontal>
22
+ <button caption="View rwdtinker Version" action="rwdtinkerversiondiagnostic"/>
23
+
24
+ </horizontal>
25
+
26
+ <p>%rwdtinkerversionreturn%</p>
27
+
28
+ </tab>
29
+
30
+
31
+
@@ -0,0 +1,42 @@
1
+ <tab name="filelister" caption="List Applets">
2
+
3
+
4
+ <table>
5
+ <row> <p align="right">File Name:</p> <text name="a_installlist"/> </row>
6
+
7
+ </table>
8
+
9
+ <horizontal>
10
+ <button caption="View Install Text" action="openname"/>
11
+ <button caption="Cancel" action="main"/>
12
+ </horizontal>
13
+ <p>%displaytext%</p>
14
+
15
+ <table>
16
+ <row> <p align="right">File Name:</p> <text name="a_removeapplet"/> </row>
17
+
18
+ </table>
19
+
20
+ <p>%removeapplettext%</p>
21
+ <horizontal>
22
+ <button caption="remove applet" action="removeapplet"/>
23
+ <button caption="Cancel" action="main"/>
24
+
25
+ </horizontal>
26
+ <table>
27
+ <row> <p> </row>
28
+ <row> <p align="right">View the list of installation files </row>
29
+
30
+ </table>
31
+ <horizontal>
32
+
33
+ <button caption="List Files" action="listinstalledfiles"/>
34
+
35
+ </horizontal>
36
+
37
+ <p>%%filesresult%%</p>
38
+
39
+ </tab>
40
+
41
+
42
+
@@ -0,0 +1,33 @@
1
+ <tab name="zipslister" caption="List Zips">
2
+
3
+ <table>
4
+ <row> <p align="right">File Name:</p> <text name="a_installapplet"/> </row>
5
+
6
+ </table>
7
+
8
+ <horizontal>
9
+ <button caption="install applet" action="installapplet"/>
10
+ <button caption="Cancel" action="main"/>
11
+
12
+ </horizontal>
13
+ <p>%installapplettext%</p>
14
+
15
+
16
+ <table>
17
+ <row> <p align="right">Click below to view the list of zip files </row>
18
+
19
+ </table>
20
+
21
+ <horizontal>
22
+ <button caption="List applets available for installing" action="listzipfilestoinstall"/>
23
+
24
+
25
+
26
+ </horizontal>
27
+
28
+ <p>%%zipslistresult%%</p>
29
+
30
+ </tab>
31
+
32
+
33
+
@@ -0,0 +1,5 @@
1
+
2
+ </tabs>
3
+ </window>
4
+
5
+
@@ -0,0 +1 @@
1
+ <helpwindow name="main" title="Help About">
@@ -0,0 +1,2 @@
1
+
2
+ <row> <p align="center">rwdtinker</p></row>
@@ -0,0 +1 @@
1
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,9 @@
1
+
2
+ <horizontal>
3
+ <button caption="Click for Version" action="runrwdtinkerversion"/>
4
+ </horizontal>
5
+
6
+
7
+
8
+
9
+
@@ -0,0 +1,2 @@
1
+
2
+ <row> <p align="center">rwdtinker window 2</p></row>
@@ -0,0 +1 @@
1
+ <row> <p align="center">copyright s. gibson 2004</p></row>
@@ -0,0 +1,9 @@
1
+
2
+ <horizontal>
3
+ <button caption="Click for Version" action="runrwdtinkerwin2version"/>
4
+ </horizontal>
5
+ <p>%rwdtinkerwin2versiondisplay%</p>
6
+
7
+
8
+
9
+
@@ -0,0 +1,2 @@
1
+ </application>
2
+
@@ -0,0 +1,3 @@
1
+ <application>
2
+ <window name="main" title="Tinker - RubyWebDialogs">
3
+ <tabs>
@@ -0,0 +1,18 @@
1
+ <tab name="three" caption="ruby">
2
+ <table>
3
+ <row> <p align="right">Ruby Command:</p> <text name="a_rubyeval"/> </row>
4
+
5
+ </table>
6
+ <p>%rubydisplay%</p>
7
+ <horizontal>
8
+
9
+ <button caption="Execute" action="rubyeval"/>
10
+ <button caption="Cancel" action="main"/>
11
+
12
+
13
+
14
+ </horizontal>
15
+
16
+
17
+ </tab>
18
+
@@ -0,0 +1,16 @@
1
+
2
+
3
+ <tab name="shelleval" caption="Shell Eval CMD">
4
+
5
+ <table>
6
+ <row> <p align="right">Shell Command:</p> <text name="a_shelleval"/> </row>
7
+
8
+ </table>
9
+ <p>%result%</p>
10
+ <horizontal>
11
+ <button caption="Execute" action="shelleval"/>
12
+ <button caption="Cancel" action="main"/>
13
+
14
+ </horizontal>
15
+
16
+ </tab>