• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Delegating time to another process
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Delegating time to another process


  • Subject: Re: Delegating time to another process
  • From: John Stiles <email@hidden>
  • Date: Wed, 5 Oct 2005 10:34:51 -0700

You can use Launch Services to launch iTunes without bringing it frontmost.
I would ask the user before blowing away the XML file. (Maybe have a button or menu item for "the song list is out of date" and then have a dialog which explains the situation)



On Oct 5, 2005, at 10:02 AM, Zameer Andani wrote:

I have an application that communicates with iTunes. One of the things I
have found is that iTune's XML file is sometimes out of date with what is in
iTunes.


A work around I have found is that if I delete the XML file and then
activate iTunes, the XML file is created and is then in sync.

Currently I am using cocoa to run an applescript to activate iTunes, however
this is undesireable as it makes iTunes appear in front of my application.
Is there another way that I can allocate run-time to iTunes so as to trigger
it's main application loop to run?


Thanks

Zameer

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40blizzard.com


This email sent to email@hidden


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
  • Follow-Ups:
    • Re: Delegating time to another process
      • From: Henry McGilton <email@hidden>
References: 
 >Delegating time to another process (From: Zameer Andani <email@hidden>)

  • Prev by Date: Re: strange malloc error with NSWindow makeKeyAndOrderFront:
  • Next by Date: Re: Problems with objects getting crossed
  • Previous by thread: Re: Delegating time to another process
  • Next by thread: Re: Delegating time to another process
  • Index(es):
    • Date
    • Thread