How to start a Dashboard widget as soon as the user logs in?

2011-05-22 Thread Behrang Saeedzadeh
Hi, I want to write a dashboard widget that starts up working in the background as soon as the user logs in to his account and that plays a chime whenever a specific event occurs (i.e it should be always running in the background). Is this possible at all? Cheers, -- Cheers, Behrang Saeedzadeh

Re: How to start a Dashboard widget as soon as the user logs in?

2011-05-22 Thread John Joyce
> Hi, > > I want to write a dashboard widget that starts up working in the > background as soon as the user logs in to his account and that plays a > chime whenever a specific event occurs (i.e it should be always running > in the background). Is this possible at all? > > Cheers, > > > -- > C

Re: How to start a Dashboard widget as soon as the user logs in?

2011-05-22 Thread Joanna Carter
Le 22 mai 2011 à 09:43, John Joyce a écrit : > Dashboard Widgets do not begin doing anything until the first time the user > launches Dashboard. I would think the best option for Behrang would be to write an ordinary app, that can be launched on startup, that provides the services behind a Dash

Re: How to start a Dashboard widget as soon as the user logs in?

2011-05-22 Thread Kyle Sluder
On Sun, May 22, 2011 at 1:57 AM, Joanna Carter wrote: > I would think the best option for Behrang would be to write an ordinary app, > that can be launched on startup, that provides the services behind a > Dashboard Widget, which the widget simply "connects" to. Yes, this is the way to go. But

Re: How to start a Dashboard widget as soon as the user logs in?

2011-05-22 Thread Andy Lee
On May 22, 2011, at 12:15 PM, Kyle Sluder wrote: > On Sun, May 22, 2011 at 1:57 AM, Joanna Carter > wrote: >> I would think the best option for Behrang would be to write an ordinary app, >> that can be launched on startup, that provides the services behind a >> Dashboard Widget, which the widget

NSCursor

2011-05-22 Thread Adam Gerson
I am trying to understand NSCursor better. I have an animation that takes place in my view and I dont want to allow any mouse or keyboard interaction while the animation is running. That is easy to do. While this is happening I want to display some kind of custom "waiting" cursor which I have been

NSCursor - ignore previous (was incomplete)

2011-05-22 Thread Adam Gerson
I am trying to understand NSCursor better. I have an animation that takes place in my view and I don't want to allow any mouse or keyboard interaction while the animation is running. That is easy to do. While this is happening I want to display some kind of custom "waiting" cursor which I have been

Re: How to start a Dashboard widget as soon as the user logs in?

2011-05-22 Thread Kyle Sluder
On Sun, May 22, 2011 at 9:36 AM, Andy Lee wrote: > I don't understand the need for a Dashboard widget at all? Because some people prefer it to Growl or utility widget apps? --Kyle Sluder ___ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please d

Re: How to start a Dashboard widget as soon as the user logs in?

2011-05-22 Thread Lee Ann Rucker
I can imagine one - I had an otherwise cool astronomy widget I finally tossed because every time I launched Dashboard I had to wait 5-10 seconds for *any* widget to be functional while it fetched the latest content. Something that ran in the background and fetched data for it every few hours or

Re: How to start a Dashboard widget as soon as the user logs in?

2011-05-22 Thread Andy Lee
On May 22, 2011, at 2:10 PM, Kyle Sluder wrote: > On Sun, May 22, 2011 at 9:36 AM, Andy Lee wrote: >> I don't understand the need for a Dashboard widget at all? > > Because some people prefer it to Growl or utility widget apps? Behrang's wish is to play a background chime when certain things hap

Re: How to start a Dashboard widget as soon as the user logs in?

2011-05-22 Thread Kyle Sluder
On May 22, 2011, at 1:22 PM, Andy Lee wrote: > Behrang's wish is to play a background chime when certain things happen. It's > been suggested that Behrang write two things that will work together: an app > and a widget. If an app has to be written anyway, why not have *it* play the > backgroun

Re: NSCursor - ignore previous (was incomplete)

2011-05-22 Thread Graham Cox
On 23/05/2011, at 3:26 AM, Adam Gerson wrote: > I am not sure exactly where this code belongs or how to keep the > cursor set this way. When I begin my animation I set the cursor, but > it very quickly goes back to the "arrow". I believe this is happening > when some of my views are getting redra

Re: NSCursor - ignore previous (was incomplete)

2011-05-22 Thread Andy Lee
On May 22, 2011, at 7:43 PM, Graham Cox wrote: > Cursors can be tricky, for sure. They are typically associated with an area > of the screen - the cursor is set on entry to that area. This area might be a > view or part of a view and the easiest and most reliable mechanism for > getting notified

Recursive search for files

2011-05-22 Thread James Merkel
I would like to add a capability to an application to search directories and sub-directories eventually opening all image files (basically using NSDirectoryEnumerator). Obviously, I can't allow the user to start at say the volume level and do the search. However as far as I can tell, there is