Welcome to TimeSnapper Forums Sign in | Join | Faq

Help Needed

Started by ChristianR at 06-17-2009 6:18. Topic has 6 replies.

Print Search
Sort Posts:    
   06-17-2009, 6:18
ChristianR is not online. Last active: 11/18/2009 10:28:14 PM ChristianR

Top 25 Posts
Joined on 06-17-2009
Posts 4
Export ALL data as XML / DB Connection possible
Reply Quote
Hi,
I want to take a look into the "raw" data Timesnapper creates (already bought the full version and like it)...

I know I can create reports (time in front of computer, programs), but I want to take a look into the "full available data"...

I found this post:
http://forums.timesnapper.com/forums/217/ShowPost.aspx

Is this still the way to go? Is there no "easy" way to simply export all available data as one huge XML file?

Oh, and regarding the plugin programming (writing my diploma thesis about .NET), is there some full API documentation (the FAQ is nice, but not exhaustive). Are the functions like GetListOfApplicationsUsed or GetTitleBarOfApplication and so on...

Thanks for your help,
Chris
   Report 
   06-18-2009, 14:39
AtliB is not online. Last active: 12/2/2009 3:28:03 AM AtliB

Top 10 Posts
Joined on 05-30-2006
Reykjavik / Iceland
Posts 382
Re: Export ALL data as XML / DB Connection possible
Reply Quote
Hi Chris

We have been making some extensive additions to the plugin model, but the documentation parts are still a bit sparse.

Here is one plugin that we are *planning* on shipping with the next release, along with the updated plugin model:

Wiki: SQL Executer Plugin

That might be useful for extracting the data for your purposes.

If you want to automate that, you could use Firebirds ISQL tool (downloadable from the internet), similar to what I do here:

set isql="C:\Program Files\Firebird\Firebird_2_1\bin\isql.exe"
%isql% -u SYSDBA -p masterkey -i script.sql -o Results.txt -pagelength 5000 '.\TimeSnapper.fdb'

TimeSnapper will have a lock on the database, so you will have to shut it down in the meanwhile.

Let me know if you need more help
Atli



Check out TimeSnapper, the automatic screenshot journal at www.timesnapper.com

It runs in the background of your computer, taking screenshots of your desktop every few seconds all week long.

TimeSnapper lets you play back your week just like a movie. Use it to improve your work habits and become more productive.
   Report 
   06-25-2009, 10:30
ChristianR is not online. Last active: 11/18/2009 10:28:14 PM ChristianR

Top 25 Posts
Joined on 06-17-2009
Posts 4
Re: Export ALL data as XML / DB Connection possible
Reply Quote
Hi,
that plugin looks really cool. How are you planning to handle the source code. Open source, contrib possible?

If so, I would definitly be interested in takeing a look in the source, perhaps even providing some additions (depending on my time)...

Greetings from Berlin,
Chris
   Report 
   06-25-2009, 12:24
AtliB is not online. Last active: 12/2/2009 3:28:03 AM AtliB

Top 10 Posts
Joined on 05-30-2006
Reykjavik / Iceland
Posts 382
Re: Export ALL data as XML / DB Connection possible
Reply Quote
We will most probably release the source code for selected plugins. We want it to be easy to write new plugins and samples are the quickest way to help!

Thanks for the interest
Atli



Check out TimeSnapper, the automatic screenshot journal at www.timesnapper.com

It runs in the background of your computer, taking screenshots of your desktop every few seconds all week long.

TimeSnapper lets you play back your week just like a movie. Use it to improve your work habits and become more productive.
   Report 
   11-18-2009, 6:33
ChristianR is not online. Last active: 11/18/2009 10:28:14 PM ChristianR

Top 25 Posts
Joined on 06-17-2009
Posts 4
Re: Export ALL data as XML / DB Connection possible
Reply Quote
Hi,
I just "returned" to the topic of Plugin-Development for Timesnapper.
I took a look at the SQL Plugin, seems promising.

Is the source code available?
If yes, where can I get it?
Does it makes sense to start a CodeProject project?

I would like to automize the export of XML (basically a few predefined queries, which getting executed in a predefined interval).
Should be fairly simple, especially if I build on top of the SQL plugin.

Christian

PS: If you are interested in contributions (especially additions to the SQL Plugin and other automation features, for integration with other .NET WPF tools, could you set up a CodeProject project. Then I can join as contributer, and other may help to). The FAQ for plugin development is already very nice, I am just missing the "more interesting" plugin source code, like the SQL thing...

   Report 
   11-18-2009, 9:44
ChristianR is not online. Last active: 11/18/2009 10:28:14 PM ChristianR

Top 25 Posts
Joined on 06-17-2009
Posts 4
Re: Export ALL data as XML / DB Connection possible
Reply Quote
To answer my own question:

Google is your friend :-)

http://timesnapperplugins.codeplex.com/

Should be in the wiki, though. Would help lazy people like me :-)

   Report 
   11-18-2009, 11:07
AtliB is not online. Last active: 12/2/2009 3:28:03 AM AtliB

Top 10 Posts
Joined on 05-30-2006
Reykjavik / Iceland
Posts 382
Re: Export ALL data as XML / DB Connection possible
Reply Quote
It actually is! :) And I didn't just update it:
http://wiki.timesnapper.com/index.php?title=Plugins

Let us know if you need any help.

And we're definitely interested in general-plugins donations :)



Check out TimeSnapper, the automatic screenshot journal at www.timesnapper.com

It runs in the background of your computer, taking screenshots of your desktop every few seconds all week long.

TimeSnapper lets you play back your week just like a movie. Use it to improve your work habits and become more productive.
   Report 
TimeSnapper For... » TimeSnapper » Help Needed » Re: Export ALL data as XML / DB Connection possible

Powered by Community Server, by Telligent Systems