rwdaddresses 0.93 → 0.94
Sign up to get free protection for your applications and to get access to all the features.
- data/Readme.txt +187 -37
- data/code/{ag1core → 00rwdtinkercore}/aa0begin.rb +0 -0
- data/code/{ag1core → 00rwdtinkercore}/rwdtinkerversion.rb +0 -0
- data/code/{xb1rwdtinkerbackwindow → rwdtinkerbackwindow}/diagnostictab.rb +0 -0
- data/code/{xb1rwdtinkerbackwindow → rwdtinkerbackwindow}/installapplet.rb +3 -2
- data/code/{xb1rwdtinkerbackwindow → rwdtinkerbackwindow}/listinstalledfiles.rb +0 -0
- data/code/{xb1rwdtinkerbackwindow → rwdtinkerbackwindow}/listzips.rb +5 -3
- data/code/rwdtinkerbackwindow/loadconfigurationrecord.rb +32 -0
- data/code/rwdtinkerbackwindow/loadconfigurationvariables.rb +13 -0
- data/code/{xb1rwdtinkerbackwindow → rwdtinkerbackwindow}/openappletname.rb +0 -0
- data/code/{xb1rwdtinkerbackwindow → rwdtinkerbackwindow}/removeapplet.rb +0 -0
- data/code/{xb1rwdtinkerbackwindow → rwdtinkerbackwindow}/rwdtinkerwin2version.rb +0 -0
- data/code/rwdtinkerbackwindow/saveconfigurationrecord.rb +18 -0
- data/code/{xa5rwdtinkercallable → rwdtinkercallable}/callable.rb +0 -0
- data/code/{gl3addresses/gm5attachtmpcontactphoto.rb → superant.com.rwdaddresses/attachtmpcontactphoto.rb} +0 -0
- data/code/{gl3addresses/gl7clearscreendisplay.rb → superant.com.rwdaddresses/clearscreendisplay.rb} +0 -0
- data/code/{gl3addresses/gl5createnewnamerecord.rb → superant.com.rwdaddresses/createnewnamerecord.rb} +0 -0
- data/code/{gl3addresses/gm3deletecontactrecord.rb → superant.com.rwdaddresses/deletecontactrecord.rb} +0 -0
- data/code/superant.com.rwdaddresses/downloadrwdaddressfiles.rb +34 -0
- data/code/{gl3addresses/gl4listnamerecord.rb → superant.com.rwdaddresses/listnamerecord.rb} +2 -0
- data/code/{gl3addresses/gl6loadnamerecord.rb → superant.com.rwdaddresses/loadnamerecord.rb} +0 -0
- data/code/{gl3addresses → superant.com.rwdaddresses}/renamecontact.rb +0 -0
- data/code/{gl3addresses → superant.com.rwdaddresses}/runaddresseswindow.rb +0 -0
- data/code/superant.com.rwdaddresses/runrwdaddresssyncbackwindow.rb +9 -0
- data/code/{gl3addresses → superant.com.rwdaddresses}/rwdaddresseshelpabout.rb +0 -0
- data/code/superant.com.rwdaddresses/syncrwdaddress.rb +30 -0
- data/code/superant.com.rwdaddresses/uploadrwdaddressfiles.rb +30 -0
- data/code/{gl3addresses → superant.com.rwdaddresses}/viewaddressconfiguration.rb +0 -0
- data/code/{gl3addresses/gl3viewnamedata.rb → superant.com.rwdaddresses/viewnamedata.rb} +0 -0
- data/code/{gl3addresses/gl4viewphoto.rb → superant.com.rwdaddresses/viewphoto.rb} +0 -0
- data/code/{gl3addresses/gl8viewtmpcontactphoto.rb → superant.com.rwdaddresses/viewtmpcontactphoto.rb} +0 -0
- data/configuration/rwdaddresses.cnf +6 -1
- data/configuration/rwdaddressesversion.cnf +1 -1
- data/configuration/rwdplayscriptsversion.cnf +2 -0
- data/configuration/rwdtinker.cnf +7 -7
- data/configuration/rwdtinkerversion.cnf +1 -1
- data/configuration/tinkerwin2variables.cnf +8 -0
- data/configuration/tinkerwin2version.cnf +1 -1
- data/gui/00coreguibegin/applicationguitop.rwd +4 -0
- data/gui/{gg3rwdaddresses/gl3viewnamedata.rwd → frontwindow0/superant.com.rwdaddresses/11viewnamedata.rwd} +0 -0
- data/gui/{gg3rwdaddresses/gl4listnamerecordfiles.rwd → frontwindow0/superant.com.rwdaddresses/13listnamerecordfiles.rwd} +0 -0
- data/gui/{gg3rwdaddresses/gl6editrecord.rwd → frontwindow0/superant.com.rwdaddresses/16editrecord.rwd} +0 -0
- data/gui/{gg3rwdaddresses/gl8contactutilities.rwd → frontwindow0/superant.com.rwdaddresses/18contactutilities.rwd} +0 -0
- data/gui/{gg3rwdaddresses/hviewconfiguration.rwd → frontwindow0/superant.com.rwdaddresses/22viewconfiguration.rwd} +0 -0
- data/gui/{ll1selectiontabbegin → frontwindowselectionbegin/selectiontabbegin}/selectiontabbegin.rwd +0 -0
- data/gui/frontwindowselections/superant.com.rwdaddressessyncselectiontab/rwdaddressessyncselectiontab.rwd +12 -0
- data/gui/{ll5rwdtinkerwin2selectiontab → frontwindowselections/superant.com.rwdtinkerwin2selectiontab}/rwdwin2selectiontab.rwd +0 -0
- data/gui/{lz1selectiontabend/endselectiontab.rwd → frontwindowselectionzend/viewselectionzend/viewselectionend.rwd} +0 -0
- data/gui/{tt0documentsbegin → frontwindowtdocumentbegin/superant.com.documentsbegin}/tt0documentbegin.rwd +0 -0
- data/gui/{uu8addresses → frontwindowtdocuments/superant.com.addressesdocuments}/uu8doc_rwdschedule.rwd +0 -0
- data/gui/{uu5rwddocuments → frontwindowtdocuments/superant.com.documents}/uu5documents.rwd +0 -0
- data/gui/frontwindowtdocuments/superant.com.rwdaddresses/uu8doc_rwdschedule.rwd +5 -0
- data/gui/{uu6rwdtinkerwin2documents → frontwindowtdocuments/superant.com.tinkerwin2documents}/uu5documents.rwd +0 -0
- data/gui/{ww0documentsend → frontwindowtdocumentzend/superant.com.documentsend}/ww0documentend.rwd +0 -0
- data/gui/{wz6finaltabs → frontwindowz1end/frontwindowend}/xx0rwdfirsttab.rwd +0 -0
- data/gui/{ya1helpaboutbegin → helpaboutbegin/superant.com.helpaboutbegin}/ya0helpscreenstart.rwd +0 -0
- data/gui/{yl3rwdaddresseshelpabout → helpaboutinstalled/superant.com.rwdaddresseshelpabout}/1appname.rwd +0 -0
- data/gui/{yg5rwdhelpabout → helpaboutinstalled/superant.com.rwdaddresseshelpabout}/3copyright.rwd +0 -0
- data/gui/{yl3rwdaddresseshelpabout → helpaboutinstalled/superant.com.rwdaddresseshelpabout}/5version.rwd +0 -0
- data/gui/{yg6rwdwin2helpabout → helpaboutinstalled/superant.com.rwdwin2helpabout}/1appname.rwd +0 -0
- data/gui/{yg6rwdwin2helpabout → helpaboutinstalled/superant.com.rwdwin2helpabout}/3copyright.rwd +0 -0
- data/gui/{yg6rwdwin2helpabout → helpaboutinstalled/superant.com.rwdwin2helpabout}/5version.rwd +0 -0
- data/gui/{yg5rwdhelpabout → helpaboutinstalled/superant.com.tinkerhelpabout}/1appname.rwd +0 -0
- data/gui/{yl3rwdaddresseshelpabout → helpaboutinstalled/superant.com.tinkerhelpabout}/3copyright.rwd +0 -0
- data/gui/{yg5rwdhelpabout → helpaboutinstalled/superant.com.tinkerhelpabout}/5version.rwd +0 -0
- data/gui/{yy5helpaboutend → helpaboutzend/superant.com.helpaboutend}/helpscreenend.rwd +0 -0
- data/gui/{yy7addressesphotowindow → tinkerbackwindows/superant.com.addressesphotowindow}/yy7addressesphoto.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/1appname.rwd +5 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/20downloadftp.rwd +41 -0
- data/gui/tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/22viewconfiguration.rwd +16 -0
- data/gui/{xb1rwdtinkerbackwindow/3arwddiagnostics.rwd → tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/70rwddiagnostics.rwd} +0 -0
- data/gui/{xb1rwdtinkerbackwindow/2tab1.rwd → tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/80returntab.rwd} +0 -0
- data/gui/{xb1rwdtinkerbackwindow/9backend.rwd → tinkerbackwindows/superant.com.rwdaddressessyncbackwindow/zvbackend.rwd} +0 -0
- data/gui/{xa5rwdtinkercallablewindow → tinkerbackwindows/superant.com.tinercallablewindow}/1appname.rwd +0 -0
- data/gui/{xa5rwdtinkercallablewindow → tinkerbackwindows/superant.com.tinercallablewindow}/9end.rwd +0 -0
- data/gui/{xb1rwdtinkerbackwindow → tinkerbackwindows/superant.com.tinkerbackwindow}/1appname.rwd +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/3arwddiagnostics.rwd +33 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/40editconfiguration.rwd +36 -0
- data/gui/{xb1rwdtinkerbackwindow/4arwdlistapplets.rwd → tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistapplets.rwd} +0 -0
- data/gui/{xb1rwdtinkerbackwindow/4arwdlistzips.rwd → tinkerbackwindows/superant.com.tinkerbackwindow/50rwdlistzips.rwd} +0 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/80tab1.rwd +11 -0
- data/gui/tinkerbackwindows/superant.com.tinkerbackwindow/9backend.rwd +6 -0
- data/gui/{xa1versionwindow → tinkerbackwindows/superant.com.versionwindow}/1appname.rwd +0 -0
- data/gui/{za1applicationend → zzcoreguiend/tinkerapplicationguiend}/yy9rwdend.rwd +0 -0
- data/init.rb +6 -6
- data/installed/rwdviewlogo-0.4.inf +4 -0
- data/rwd_files/HowTo_Addresses.txt +33 -3
- data/rwd_files/HowTo_Tinker.txt +46 -24
- data/rwd_files/contacttmp.jpg +0 -0
- data/rwd_files/tinker.png +0 -0
- data/updates/AnaiIbarra.nam +1 -0
- metadata +103 -65
- data/configuration/tinkerwin2.cnf +0 -3
- data/gui/aa2core/aa0rwdtop.rwd +0 -4
- data/installed/rwdaddresses-0.93.inf +0 -13
@@ -0,0 +1,30 @@
|
|
1
|
+
def uploadrwdaddressfiles
|
2
|
+
require 'net/ftp'
|
3
|
+
BasicSocket.do_not_reverse_lookup = true
|
4
|
+
@rwdaddressftpdisplays = ""
|
5
|
+
begin
|
6
|
+
ftp = Net::FTP::new($rwdaddresses_ftpsite)
|
7
|
+
@rwdaddressesftpdisplay = "files uploaded" + "\n"
|
8
|
+
|
9
|
+
fileListarray = Dir.new($addressfiles_directory).entries.sort.delete_if { |tmpfile| ! (tmpfile =~ /nam$/) }
|
10
|
+
if fileListarray
|
11
|
+
ftp.debug_mode = false
|
12
|
+
ftp.login($rwdaddresses_ftplogin, $rwdaddresses_ftppassword)
|
13
|
+
ftp.chdir($rwdaddresses_ftpdirectory)
|
14
|
+
print "I'm in the directory ", ftp.pwd(), "\n"
|
15
|
+
fileListarray.each do |temp|
|
16
|
+
tmpfilenametoupload = File.join($addressfiles_directory,temp)
|
17
|
+
ftp.puttextfile(tmpfilenametoupload , temp)
|
18
|
+
@rwdaddressesftpdisplay = @rwdaddressesftpdisplay + temp + "\n"
|
19
|
+
end
|
20
|
+
end
|
21
|
+
ftp.close
|
22
|
+
|
23
|
+
rescue
|
24
|
+
|
25
|
+
if ftp
|
26
|
+
ftp.close
|
27
|
+
end
|
28
|
+
print "ftp error"
|
29
|
+
end
|
30
|
+
end
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -1,4 +1,9 @@
|
|
1
1
|
|
2
2
|
$photodelay = 0
|
3
3
|
$addressfiles_directory="names"
|
4
|
-
$tmpphoto_directory = "/tmp"
|
4
|
+
$tmpphoto_directory = "/tmp"
|
5
|
+
$rwdaddresses_ftpsite = "ftp.yourpersonal.com"
|
6
|
+
$rwdaddresses_ftplogin = "yourlogin"
|
7
|
+
$rwdaddresses_ftppassword = "yourpassword"
|
8
|
+
$rwdaddresses_ftpdirectory = "/incoming/rwdnames/"
|
9
|
+
$rwdaddresses_updatedirectory = "updates"
|
@@ -1,2 +1,2 @@
|
|
1
1
|
|
2
|
-
RwdAddressesVersion = "0.
|
2
|
+
RwdAddressesVersion = "0.94"
|
data/configuration/rwdtinker.cnf
CHANGED
@@ -1,12 +1,12 @@
|
|
1
1
|
|
2
|
+
ConfigurationDir = "configuration" # for use in program - init.rb has this value without using this constant
|
2
3
|
CodeName = "rwdtinker"
|
3
4
|
CodeNameFile = CodeName + ".rb"
|
4
5
|
LangNameFile = "rwdlanguage.rb"
|
5
6
|
RWDFile = "rwdtinker.rwd"
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
$port = 7705
|
7
|
+
LangDir = "lang"
|
8
|
+
TempLangHashFile = LangDir + "/" + "templangfile.rb"
|
9
|
+
LocalLangHashFile = LangDir + "/" + "xlocallangfile.rb"
|
10
|
+
CodeDir = "code"
|
11
|
+
GuiDir = "gui"
|
12
|
+
$port = 7705
|
@@ -1,2 +1,2 @@
|
|
1
1
|
|
2
|
-
RwdTinkerVersion = "1.
|
2
|
+
RwdTinkerVersion = "1.43"
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/gui/{ll1selectiontabbegin → frontwindowselectionbegin/selectiontabbegin}/selectiontabbegin.rwd
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/gui/{ww0documentsend → frontwindowtdocumentzend/superant.com.documentsend}/ww0documentend.rwd
RENAMED
File without changes
|
File without changes
|
data/gui/{ya1helpaboutbegin → helpaboutbegin/superant.com.helpaboutbegin}/ya0helpscreenstart.rwd
RENAMED
File without changes
|
File without changes
|
data/gui/{yg5rwdhelpabout → helpaboutinstalled/superant.com.rwdaddresseshelpabout}/3copyright.rwd
RENAMED
File without changes
|
File without changes
|
data/gui/{yg6rwdwin2helpabout → helpaboutinstalled/superant.com.rwdwin2helpabout}/1appname.rwd
RENAMED
File without changes
|
data/gui/{yg6rwdwin2helpabout → helpaboutinstalled/superant.com.rwdwin2helpabout}/3copyright.rwd
RENAMED
File without changes
|
data/gui/{yg6rwdwin2helpabout → helpaboutinstalled/superant.com.rwdwin2helpabout}/5version.rwd
RENAMED
File without changes
|
File without changes
|
data/gui/{yl3rwdaddresseshelpabout → helpaboutinstalled/superant.com.tinkerhelpabout}/3copyright.rwd
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,41 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"rwdaddressessynctasks\" caption=\"Rwdaddresses Sync Functions\">
|
4
|
+
|
5
|
+
|
6
|
+
<table>
|
7
|
+
<row> <p align=\"right\"> </row>
|
8
|
+
<row> <p align=\"right\">Upload Contact records to a ftp server to sync </row>
|
9
|
+
|
10
|
+
<row> <p align=\"right\">Set your ftp details in the configuration file </row>
|
11
|
+
|
12
|
+
|
13
|
+
</table>
|
14
|
+
|
15
|
+
<horizontal>
|
16
|
+
<button caption=\"Download contact files from ftp site\" action=\"downloadrwdaddressfiles\"/>
|
17
|
+
<button caption=\"Upload contact files to ftp site\" action=\"uploadrwdaddressfiles\"/>
|
18
|
+
|
19
|
+
</horizontal>
|
20
|
+
<p>%rwdaddressesftpdisplay%</p>
|
21
|
+
|
22
|
+
<table>
|
23
|
+
<row> <p align=\"right\"> </row>
|
24
|
+
|
25
|
+
</table>
|
26
|
+
|
27
|
+
|
28
|
+
<horizontal>
|
29
|
+
<button caption=\"Sync Local data with downloaded data\" action=\"syncrwdaddressdata\"/>
|
30
|
+
|
31
|
+
|
32
|
+
</horizontal>
|
33
|
+
|
34
|
+
|
35
|
+
|
36
|
+
<p>%rwdaddressessyncresult%</p>
|
37
|
+
|
38
|
+
</tab>"
|
39
|
+
|
40
|
+
|
41
|
+
|
@@ -0,0 +1,16 @@
|
|
1
|
+
$rwdguivar=
|
2
|
+
"
|
3
|
+
<tab name=\"viewaddressesconfiguration\" caption=\"Rwdaddresses Configuration\">
|
4
|
+
<table>
|
5
|
+
|
6
|
+
|
7
|
+
</table>
|
8
|
+
|
9
|
+
<horizontal>
|
10
|
+
<button caption=\"View Configuration File\" action=\"viewaddressesconfiguration\"/>
|
11
|
+
</horizontal>
|
12
|
+
<p>%rwdaddressesconfigurationtext%</p>
|
13
|
+
</tab>"
|
14
|
+
|
15
|
+
|
16
|
+
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/gui/{xa5rwdtinkercallablewindow → tinkerbackwindows/superant.com.tinercallablewindow}/9end.rwd
RENAMED
File without changes
|
data/gui/{xb1rwdtinkerbackwindow → tinkerbackwindows/superant.com.tinkerbackwindow}/1appname.rwd
RENAMED
File without changes
|
@@ -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
|
+
|
@@ -0,0 +1,36 @@
|
|
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
|
+
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
</horizontal>
|
17
|
+
<table>
|
18
|
+
<row> <p align=\"right\">FileName:</p> <text name=\"a_configurationfilename\"/> </row>
|
19
|
+
<row> <p align=\"right\">1:</p> <text name=\"a_configline1\"/> </row>
|
20
|
+
<row> <p align=\"right\">2:</p> <text name=\"a_configline2\"/> </row>
|
21
|
+
<row> <p align=\"right\">3:</p> <text name=\"a_configline3\"/> </row>
|
22
|
+
<row> <p align=\"right\">4:</p> <text name=\"a_configline4\"/> </row>
|
23
|
+
<row> <p align=\"right\">5:</p> <text name=\"a_configline5\"/> </row>
|
24
|
+
<row> <p align=\"right\">6:</p> <text name=\"a_configline6\"/> </row>
|
25
|
+
<row> <p align=\"right\">7:</p> <text name=\"a_configline7\"/> </row>
|
26
|
+
<row> <p align=\"right\">8:</p> <text name=\"a_configline8\"/> </row>
|
27
|
+
|
28
|
+
</table>
|
29
|
+
<p>%extraconfigdatadisplay%</p>
|
30
|
+
<p>
|
31
|
+
<p>%newconfigurationresult%</p>
|
32
|
+
|
33
|
+
|
34
|
+
|
35
|
+
</tab>"
|
36
|
+
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
data/init.rb
CHANGED
@@ -73,7 +73,7 @@ $progdir = File::expand_path( File.dirname(__FILE__))
|
|
73
73
|
Dir.chdir($progdir) # change back to top program directory
|
74
74
|
|
75
75
|
# build the English Language hash file from the parts
|
76
|
-
startlangdir =
|
76
|
+
startlangdir = File.join(LangDir,"en")
|
77
77
|
#get a list of the files and subdirectories on the starting directory only
|
78
78
|
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
79
79
|
#loop through the list, ignore the files and add all new directories found
|
@@ -108,7 +108,7 @@ $progdir = File::expand_path( File.dirname(__FILE__))
|
|
108
108
|
Dir.chdir($progdir) # change back to top program directory
|
109
109
|
|
110
110
|
# build the local Language hash file from the parts
|
111
|
-
startlangdir =
|
111
|
+
startlangdir = File.join(LangDir,$lang)
|
112
112
|
#get a list of the files and subdirectories on the starting directory only
|
113
113
|
alanghash = Array.new(Dir[startlangdir].entries.sort)
|
114
114
|
#loop through the list, ignore the files and add all new directories found
|
@@ -145,11 +145,11 @@ $tempdoc = " "
|
|
145
145
|
|
146
146
|
# build the language hash constant object from the lang parts
|
147
147
|
#get a list of the files in lang directory only
|
148
|
-
alangfile = Dir.new(
|
148
|
+
alangfile = Dir.new(LangDir).entries.sort.reverse.delete_if { |x| ! (x =~ /rb$/) }
|
149
149
|
alangfile.length.times{
|
150
150
|
fileName = alangfile.pop
|
151
151
|
Dir.chdir($progdir)
|
152
|
-
Dir.chdir(
|
152
|
+
Dir.chdir(LangDir)
|
153
153
|
fileLangA=File.open("#{fileName}","r") #opens the file thats in fileName as read only
|
154
154
|
$tempdoc += fileLangA.read #reads the file into the doc string
|
155
155
|
fileLangA.close
|
@@ -165,7 +165,7 @@ Dir.chdir($progdir)
|
|
165
165
|
|
166
166
|
# build the actual program from the code parts
|
167
167
|
#get a list of the files and subdirectories on the starting directory only
|
168
|
-
a = Array.new(Dir[
|
168
|
+
a = Array.new(Dir[CodeDir].entries.sort)
|
169
169
|
#loop through the list, ignore the files and add all new directories found
|
170
170
|
a.each do |x|
|
171
171
|
#if a directory...
|
@@ -198,7 +198,7 @@ Dir.chdir($progdir)
|
|
198
198
|
# build the actual GUI from the gui parts
|
199
199
|
$tempdoc = " "
|
200
200
|
#get a list of the files and subdirectories on the starting directory only
|
201
|
-
a = Array.new(Dir[
|
201
|
+
a = Array.new(Dir[GuiDir].entries.sort)
|
202
202
|
#loop through the list, ignore the files and add all new directories found
|
203
203
|
a.each do |x|
|
204
204
|
#if a directory...
|
@@ -87,9 +87,30 @@ Click on "List Files"
|
|
87
87
|
click on Attach photo, it will rename the photo and copy it to the
|
88
88
|
addresses directory
|
89
89
|
|
90
|
-
==
|
91
|
-
|
92
|
-
|
90
|
+
== Sync for multiple computers
|
91
|
+
|
92
|
+
If you are like me, you have more than one system
|
93
|
+
I use rwdTinker at home on my Linux laptop
|
94
|
+
at work I use it on XP
|
95
|
+
on the go I use rwdtinker on my Zaurus PDA
|
96
|
+
So I am adding contact record on different machines.
|
97
|
+
There is a function to help sync the separate systems
|
98
|
+
|
99
|
+
in "Selection Panel" click on "Open Schedule Sync Window"
|
100
|
+
|
101
|
+
First you need your ftp details set in the
|
102
|
+
configuration/rwdaddresses.cnf file
|
103
|
+
|
104
|
+
you can upload your contacts from your local names directory to the ftp site
|
105
|
+
you can download contacts from the ftp site to your local updates directory
|
106
|
+
you can perform a sync which finds remote contacts and adds them to your local
|
107
|
+
names directory
|
108
|
+
|
109
|
+
== Change to using png photos instead of jpg
|
110
|
+
|
111
|
+
If you want to
|
112
|
+
Need to change one line in file rwdaddresses.cnf
|
113
|
+
Need to add nophoto.png in names
|
93
114
|
|
94
115
|
== Documents
|
95
116
|
|
@@ -126,6 +147,15 @@ erik = secret
|
|
126
147
|
Thanks, Steven Gibson
|
127
148
|
|
128
149
|
== Changelog
|
150
|
+
version 0.94
|
151
|
+
updated for rwdtinker 1.44 - refactored gui files
|
152
|
+
Changed gui directory names - more like Java package titles
|
153
|
+
added back window for sync tasks
|
154
|
+
added configuration viewing
|
155
|
+
added ftp file download for sync
|
156
|
+
added ftp file upload for sync
|
157
|
+
add update files and addresses sync compares
|
158
|
+
|
129
159
|
version 0.93
|
130
160
|
updated for rwdtinker 1.42 - semi-live updating
|
131
161
|
|