FAQFAQ   SearchSearch   UsergroupsUsergroups   RegisterRegister   ProfileProfile    Log inLog in   RSS Feed

iSync Daily updated

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Salling Software Forums Forum Index -> Archives
View previous topic :: View next topic  
Author Message
Guest






PostPosted: Sun Jun 06, 2004 12:34 am    Post subject: iSync Daily updated Reply with quote

iSync Daily (a lightweight, free automatic synchronization script) has been updated. Now it
will quit iSync after it's done syncing if it wasn't open before.

http://trikuare.cx/code/clicker.html




Back to top
Guest






PostPosted: Sun Jun 06, 2004 2:34 am    Post subject: Re: iSync Daily updated Reply with quote

--- In ericssonclient@yahoogroups.com, "trikuare" wrote:
> iSync Daily (a lightweight, free automatic synchronization script) has been updated.
Now it
> will quit iSync after it's done syncing if it wasn't open before.
>
> http://trikuare.cx/code/clicker.html

Oops, my previous site publish didn't go through, so when this message was posted the
latest version wasn't up yet. It is now. Sorry for the inconvenience.


Back to top
Guest






PostPosted: Sun Jun 06, 2004 4:10 pm    Post subject: Re: iSync Daily updated Reply with quote

I haven't tried this one, but while we're at the subject, I thought I
should tell you that I have posted a similar script at
http://www.snarb.tk/ ("More scripts").

It's actually a collection of two scripts: one that syncs right away,
one that syncs daily when entered proximity. Both displays sync report
and quits iSync if it wasn't already running upon launch.

Also, it doesn't launch iSync to check last sync time. Instead, it
checks the modification date of the sync folder.

Best,
Fabian

On 6 jun 2004, at 00.34, trikuare wrote:

> iSync Daily (a lightweight, free automatic synchronization script) has
> been updated. Now it
> will quit iSync after it's done syncing if it wasn't open before.
>
> http://trikuare.cx/code/clicker.html
>
>
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
>
>
>


Back to top
Guest






PostPosted: Sun Jun 06, 2004 4:50 pm    Post subject: Applescript file upload question Reply with quote

Not exactly Clicker, but something I'm trying to do with clicker --

It seems that the regular urlaccess upload no longer displays a progress bar
with panther (correct?) -- I've looked into trying to trigger curl, but any
'progress' I can flip to the user is either text, or a string emulating as a
progress bar... I've got a number of files that I wish to upload to an ftp
server via clicker, and although the file transfer works properly, there's
no user feedback that something's going on...

Can someone point me to some sort of way to have a mac osx gui progress bar
triggered from applescript? Or a simple ftp upload script to trigger a
progress bar that works in panther?


Back to top
Guest






PostPosted: Sun Jun 06, 2004 5:20 pm    Post subject: Re: iSync Daily updated Reply with quote

--- In ericssonclient@yahoogroups.com, snarb@m... wrote:
> I haven't tried this one, but while we're at the subject, I thought I
> should tell you that I have posted a similar script at
> http://www.snarb.tk/ ("More scripts").
>
> It's actually a collection of two scripts: one that syncs right away,
> one that syncs daily when entered proximity. Both displays sync report
> and quits iSync if it wasn't already running upon launch.

The 'syncs right away' can simply be done by changing the sync interval. :)

> Also, it doesn't launch iSync to check last sync time. Instead, it
> checks the modification date of the sync folder.

Ah, clever. Much less annoying than seeing the little iSync icon flash in the dock. :)



Back to top
Guest






PostPosted: Sun Jun 06, 2004 5:26 pm    Post subject: Sorry, curl again... Reply with quote

I was looking at iHook
(http://rsug.itd.umich.edu/software/ihook/lexicon.html, a gui frontend for
commandline stuff) - and I'm wondering if I _do_ use curl if I can actually
get the min/max to display in my own gui?


Back to top
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Sun Jun 06, 2004 5:31 pm    Post subject: Re: Applescript file upload question Reply with quote

Here's my suggestion:

Show progress on the phone/PDA using Clicker. While there's no
designated widget for this, you can simulate one with the keypad
widget, by having the idle handler push a new text to the display.

As for the upload, you'll need to be able to do it asynchronously for
the above trick to work. With curl, I'd spawn a separate process and
have the idle handler check to see if it's still running. When it no
longer is, the idle handler would display a "done" message.

I've done a similar thing in some scripts I'm working on, so I know
it'll work. Let us know if you have any questions on this.

Thanks.
--
Jonas Salling
President, Salling Software AB

On 2004-06-06, at 16.50, grimmwerks wrote:

> Not exactly Clicker, but something I'm trying to do with clicker --
>
> It seems that the regular urlaccess upload no longer displays a
> progress bar
> with panther (correct?) -- I've looked into trying to trigger curl,
> but any
> 'progress' I can flip to the user is either text, or a string
> emulating as a
> progress bar... I've got a number of files that I wish to upload to an
> ftp
> server via clicker, and although the file transfer works properly,
> there's
> no user feedback that something's going on...
>
> Can someone point me to some sort of way to have a mac osx gui
> progress bar
> triggered from applescript? Or a simple ftp upload script to trigger a
> progress bar that works in panther?


Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Sun Jun 06, 2004 5:54 pm    Post subject: Re: Applescript file upload question Reply with quote

Hmm...I like the idea of showing the progressbar on the phone, but really
wanted to show a progbar on the mac at the same time; building a simple
window with a nib is simple; and I suppose I could just tell window 1 of app
'progbar' to set the progress to 40 or whatever; but is it possible to have
the idle handler check to see what percent curl has finished? Or is it
simply a boolean done/not, in which case I show the barberpole progbar...

As a dumb idea, can a curl progress output - the one with the '####' printed
- be output in some other way? Like if it's printing out 80 characters and
it's showing 20 then I know that 20/float(80) would get me the
percentage....

Seems really stupid to not be able to get any kind of percentage in any ftp
up/down on the mac, no?


Back to top
salling
Site Admin


Joined: 27 Jul 2004
Posts: 7498
Location: Stockholm, Sweden

PostPosted: Sun Jun 06, 2004 6:09 pm    Post subject: Re: Applescript file upload question Reply with quote

An easy method would be to (mis)use the Clicker OSD display for
indicating progress on the Mac display. This way, you don't have to
build a separate progress bar app. Of course, it won't look like a
normal Cocoa progress bar this way.

I'm no expert on curl, but it has a ton of options. I'm sure there's
something you could use. I'd consider piping its output (progress) to a
tmp file, and run "tail" on that in the idle handler to figure out
where you're at. When done, make sure to remove the tmp file.

Cheers.
Jonas

On 2004-06-06, at 17.54, grimmwerks wrote:

> Hmm...I like the idea of showing the progressbar on the phone, but
> really
> wanted to show a progbar on the mac at the same time; building a simple
> window with a nib is simple; and I suppose I could just tell window 1
> of app
> 'progbar' to set the progress to 40 or whatever; but is it possible to
> have
> the idle handler check to see what percent curl has finished? Or is it
> simply a boolean done/not, in which case I show the barberpole
> progbar...
>
> As a dumb idea, can a curl progress output - the one with the '####'
> printed
> - be output in some other way? Like if it's printing out 80 characters
> and
> it's showing 20 then I know that 20/float(80) would get me the
> percentage....
>
> Seems really stupid to not be able to get any kind of percentage in
> any ftp
> up/down on the mac, no?


Back to top
View user's profile Send private message Send e-mail Visit poster's website
Guest






PostPosted: Sun Jun 06, 2004 6:16 pm    Post subject: Re: Applescript file upload question Reply with quote

On 6/6/04 12:08 PM, "Jonas Salling" spewed forth:

> I'm no expert on curl, but it has a ton of options. I'm sure there's
> something you could use. I'd consider piping its output (progress) to a
> tmp file, and run "tail" on that in the idle handler to figure out
> where you're at. When done, make sure to remove the tmp file.

Thanks, that's a good direction to go...


Back to top
Guest






PostPosted: Mon Jun 07, 2004 2:00 am    Post subject: Re: iSync Daily updated Reply with quote

Seeing as we're all plugging our iSync solutions, there is always my "full-featured"
ProximitySync (http://www.braddolman.com/proximitysync/). ;-)

Some features:
- fully automatic
- mutiple sync times per day (user definable)
- "Sync Now" from your phone/pda
- supports MobileSync and iSync
- checks for sync on proximity, when logging in, and when waking from sleep
- on screen status (user definable)
- auto-quits iSync when complete
- does not launch iSync unless a sync is required
- detailed error reporting and log file
- setup wizard
- detailed documentation
- more

Cheers,
Brad


Back to top
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Salling Software Forums Forum Index -> Archives All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group