• 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
NSApplescript
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSApplescript


  • Subject: NSApplescript
  • From: email@hidden
  • Date: Wed, 02 Apr 2003 21:10:14 -0800 (PST)

perhaps this is just an Applescript question, I am not sure...

But I have the following:

NSString *cmd = @"Tell application \"iTunes\" launch play end Tell"
NSAppleScript *aps = [[NSApplescript alloc] initWithSource: cmd]

[aps executeAndReturnError:nil];

The result is that iTunes launches, but it doesn't play. I tried creating an
AppleScript app in PB and simple used the code in "cmd" and it too only launched
iTunes without playing?

has anyone else had problems launching iTunes with Play?

thanks

Zameer

__________________________________________________________
Get your FREE personalized e-mail at http://www.canada.com
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: knowing which objects are retaining
  • Next by Date: NSButton with wrapping title?
  • Previous by thread: Re: NSResponder - rightMouseDown, What am I missing?
  • Next by thread: Re: NSApplescript
  • Index(es):
    • Date
    • Thread