views:

36

answers:

3

Hi folks ! I have a friend who wants something quite easy : he has a mac, and he would like a very simple script/app that runs in the background. The goal is to replace a file every 5 minutes with one downloaded from the internet. I would also like a menu on the top bar (like the clock on Mac Os, the wifi, the sound, Dropbox,...) What would be the easiest way to do that ? Objective C ? AppleScript ? Do you guys have any inspiration for that ?

Thanks a lot

Julien

+1  A: 

Would be easy with Cocoa, just create an "background" app with the NSMenuExtra (without Dock icon too).

I encourage you to google up some references on how to do this (e.g. Cocoa Dev Central).

Sounds like a fun project, best of luck!

Rev316
Ok I think you said everything, thank you :)
Julien
Funny, if I want to accept I get a message : "You can accept an answer in 6 minutes (click on this box to dismiss)"... I'll try in a few minutes
Julien
+1  A: 

You should be able to do this with a Script application, but I don't know if you can get a menubar item that way. Actually, you can do everything except the menubar item in Automator, if you were so inclined.

Mark Bessey
+1  A: 

As far as running in the background goes, I use Lingon to set up the repeating scripts

http://sourceforge.net/projects/lingon/files/

Super easy, super reliable.

kubi