This tool can:
- screenscrape the commodities trading screen
- produce the results as a tab separated values file
- - **TODO** upload the results to PCTB
+ - upload the results to PCTB
To run it, change to this directory, type `make', and then:
./ypp-commodities --tsv >commods.tsv
+or
+ ./ypp-commodities --upload
While it is capturing the screenshots, do not move the mouse or use
the keyboard. Keyboard focus must stay in the YPP client window.
HTML returned from the upload server is left in these dropping
files for debugging etc.
- * <file>.new
+ * <file>.tmp
When any of these tools overwrite one of the persistent dictionary
- files, they temporarily write to <file>.new.
+ files, they temporarily write to <file>.tmp.
These files are all in the current working directory. There is not
yet any feature to have them be somewhere else. The helper programs