Stickies
« Sticky Sync »

Welcome Guest. Please Login or Register.
Oct 17th, 2017, 1:27pm


Click to go to the
Zhorn Software Web Site
Click to go to the
Knowledgebase

« Previous Topic | Next Topic »
Pages: 1 2 3  4 Notify Send Topic Print
 veryhotthread  Author  Topic: Sticky Sync  (Read 3720 times)
dartiss
Guest
xx Sticky Sync
« Thread started on: Nov 17th, 2010, 09:07am »

Any chance of a way to sync Stickies automatically across different desktops? I'd love to be able to add a remind to my work computer and for it to appear on my home computer as well, for instance.

David.
User IP Logged

Tom Revell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 3561
xx Re: Sticky Sync
« Reply #1 on: Nov 17th, 2010, 12:10pm »

You can sort of do this with DropBox (or something similar), but although the Stickies API supports this sort of thing, there's no built-in code.

I do want to write something to do this at some point, but it's just finding the time smiley

Tom
User IP Logged

dartiss
Guest
xx Re: Sticky Sync
« Reply #2 on: Nov 17th, 2010, 4:00pm »

At the moment I use the "Save Note" option to save them individually to Dropbox - I can then pick them up on other computers. Is this what you meant?

David.
User IP Logged

Tom Revell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 3561
xx Re: Sticky Sync
« Reply #3 on: Nov 18th, 2010, 3:17pm »

No - you could set the Stickies data directory as one which is sync'd by dropbox. This only works if you run Stickies in one of the places at a time though.

You can search this forum for some more threads about using DropBox.

Tom
User IP Logged

greenflash1986
New Member
Image


member is offline

Avatar




PM


Posts: 5
xx Re: Sticky Sync
« Reply #4 on: Mar 25th, 2011, 3:36pm »

Hi Guys

I'm just writing on something like a syncing tool.
I tried to use the API and it would be nice if I can use something like "do sticky <id> encode" or "do new sticky encode" or something like that.
Actually I get the the complete encoded string, take some things out of this string, change it and then send it to the other PC. But I can't send this complete string to stickies on the other PC I think.
We can discuss the features and somthing more.

Greetings
User IP Logged

Tom Revell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 3561
xx Re: Sticky Sync
« Reply #5 on: Mar 29th, 2011, 6:20pm »

Hi there,

I was going to write back to say "Don't be silly, go read the API guide again" ... and then I noticed that command doesn't exist. "do new sleeping encoded xxx" exists, but not "do new desktop encoded xxx".

So, I added it. The updated exe can be found here:

http://www.zhornsoftware.co.uk/stickies/stickiesPlus.zip

The API command works just how you'd expect, and similar of course to "do new sleeping encoded".

Let me know how you get on with it,

Tom
User IP Logged

greenflash1986
New Member
Image


member is offline

Avatar




PM


Posts: 5
xx Re: Sticky Sync
« Reply #6 on: Mar 30th, 2011, 3:53pm »

Nice. Thanks for your work. rolleyes
But would it be much work to implement some command like "do new encoded"? And "do update encoded"?
It's just a question, I don't want to make to much work for you. wink
We can discuss the "sync"-problem also by email if you want and if you have some more questions what these commands should do.
Otherwise I hope I can do some further work on the sync program on friday.

Sam
User IP Logged

Tom Revell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 3561
xx Re: Sticky Sync
« Reply #7 on: Mar 31st, 2011, 6:36pm »

What would you see those commands doing?

"do new encoded" is pretty much the same thing as the two commands "do new desktop encoded" and "do new sleeping encoded". I know that the encoded string contains details of whether the sticky is sleeping or not, so Stickies could work this out for itself really.

Would "do update encoded" look for a note with the same ID, and if it's found, set all the values found in the encoded string, or perhaps just the ones which have changed?

Tom
User IP Logged

greenflash1986
New Member
Image


member is offline

Avatar




PM


Posts: 5
xx Re: Sticky Sync
« Reply #8 on: Mar 31st, 2011, 8:07pm »

Yes you're right.
"do new encoded" should do these things you descripted, and I don't have to handle two lists of stickies and don't have to search if there's one which changed from or to sleeping.

"do update encoded" should only look for the note with the ID and change the complete encoded string. Setting the right position (and perhaps other things I don't know at this time) will be handled by my program. So I can send a complete stickie with all needed data and so on.

Maybe you want to have a look at my code and insert it at stickies? The sync program isn't so much code if you only look for the modified date and don't look for conflicts. (something under 100 LOC at this time)

Sam
User IP Logged

Tom Revell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 3561
xx Re: Sticky Sync
« Reply #9 on: Apr 5th, 2011, 4:20pm »

Ok, I've updated the download stickiePlus.zip above - I've removed the "do new desktop encoded ..." command and replaced it with "do new encoded ..." instead. This command can create Desktop, Sleeping, Recurring and Attached notes, as it works it out for itself from the contents of the encoded string.

I'll leave the "do new sleeping encoded ..." command in place for any apps which use it at the moment.

I do plan to write some sync code myself at some point - just make sure you've covered all nine combinations I worked out of changed/deleted/new on left/right!

What are you syncing to on the "other" side please? What are you syncing Stickies data with? A file, a web service, another instance of Stickies?

Tom
User IP Logged

greenflash1986
New Member
Image


member is offline

Avatar




PM


Posts: 5
xx Re: Sticky Sync
« Reply #10 on: Apr 8th, 2011, 11:27am »

Nice work from you for updating.
I finished the work on the sync-tool for the first! time, and it's depending on you, if you want to create your own sync-feature or not. Because writing a complete tool with all features and something more is very difficult, when you start at zero. So it would be much easier to integrate the code in you program, then writing a complete fresh program.

You can download the sourcecode @ http://www.megaupload.com/?d=5L5KMVWM
This program is definitly not!!! failsafe and only some "test" or something like that.
You have to start the server first and connect then with the client by entering the ip (Server is running on port 954). At this time, only creating of new stickies is implemented, but the functionality of updating changed stickies is prepared.
For checking of deleted stickies, you need some file, where you store the information of synced stickies and so I'wll need a file. But thats a little bit too much at this time, so if you don't write your own sync-feature, this will take some time. Also to improve the program and so on...

I marked the important functions with *IMPORTANT*, so if you search in the source, you can find the "syncing-functionality". All other stuff are the accessory parts for network communication and communication with stickies.

To answer your last question: I'm syncing with another instance of stickie, running on the other pc, because stickie is in my autostart and so i don't want to stop it, sync it and start it again.

Regards
Sam
User IP Logged

greenflash1986
New Member
Image


member is offline

Avatar




PM


Posts: 5
xx Re: Sticky Sync
« Reply #11 on: Apr 8th, 2011, 11:32am »

edit: correct Link
http://www.megaupload.com/?d=7VOBQIZT
User IP Logged

Tom Revell
Administrator
ImageImageImageImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 3561
xx Re: Sticky Sync
« Reply #12 on: Apr 14th, 2011, 3:19pm »

Hmm, your code, along with another mail I received the other day, has got me interested in looking at this again. Perhaps I'll have a look over Easter. Thanks for the download!

Tom
User IP Logged

tekguru
Junior Member
ImageImage


member is offline

Avatar




Homepage PM

Gender: Male
Posts: 45
xx Re: Sticky Sync
« Reply #13 on: Oct 10th, 2011, 04:27am »

Definitely interested in this myself I must admit. Sync would be wonderful to be implemented natively!
User IP Logged

Daron Brewood
CEO: www.smartphonegurus.com
SomethingCreative
Junior Member
ImageImage


member is offline

Avatar




PM


Posts: 34
xx Re: Sticky Sync
« Reply #14 on: Feb 25th, 2012, 4:40pm »

For all who are searching for a way to synchronize your stickies, I got something developed here:

http://tomrevell.conforums.com/index.cgi?board=featurerequests&action=display&num=1330209543

It only works for those who are using Microsoft Exchange.
User IP Logged

Pages: 1 2 3  4 Notify Send Topic Print
« Previous Topic | Next Topic »

Donate $6.99 for 50,000 Ad-Free Pageviews!

| |

This forum powered for FREE by Conforums ©
Sign up for your own Free Message Board today!
Terms of Service | Privacy Policy | Conforums Support | Parental Controls