On Monday I started working on a small program that was supposed to download all my files from GDocs. I did not get much done on it on Monday, but by Tuesday it was finished (it was only a few lines anyway, and on top of that I built it on a ready-made sample straight from Google).
However, I made one big fail: I did not realize that the Google sample could already do what I needed, so I tried to build the hierarchy my own way. Then I ran into the problem that in my non GApps account I could not get the IDs of documents and folders, while in the GApps account it worked just fine – and when I could not get a document’s ID, I could not determine its parent folders either.
It only dawned on me today, when I woke up and decided to do it the way the Google sample does, that I should use a TreeView, which I already have in the program anyway. And that was all there was to it. Still, most of the time was not spent on the programming and debugging itself, but on endlessly clicking through this: 👻 The screenshot on cl.ly expired long ago..
I will finally have to learn how to click through pages and click programmatically, or this is going to kill me one day :-(. So now, thanks to this program, I have all my documents in a single Google Drive account, I can edit them comfortably on my PC, and they will automatically sync after saving to the Cloud.