• 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: About NSAppleScriptErrorNumber = -2709
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About NSAppleScriptErrorNumber = -2709


  • Subject: Re: About NSAppleScriptErrorNumber = -2709
  • From: xiaobin <email@hidden>
  • Date: Wed, 10 Dec 2008 10:50:39 +0900

Thanks for your reply, Rob

I found the following site had the same problem (using an Apple
Script) to mine.
http://lists.apple.com/archives/cocoa-dev/2003/Dec/msg00563.html


In my App A I also use the Security Framework to authenticate the user
to elevate privilege because my App B must be run by admin user.

But I found the question is that even if I elevate privilege from A
user(administrator) to the same A user, the Apple Script is still
failed. Of course, when I modified my app A to make it unauthenticate
user, the Apple Script works fine.

so I'm not sure whether the Security Framework refuse to run an
AppleScript or not. I don't know.



2008/12/9 Rob Keniger <email@hidden>:
>
> On 09/12/2008, at 4:55 PM, xiaobin wrote:
>
>> But I only want to know why it doesn't work by using the apple script.
>> My old applications writing in pure object-c works well in the apple
>> script.
>> I'm afraid that if something is damaged or others in my os, the error
>> may be have influence on my other Apps.
>> So anyone can give me a hit about the error.
>
>
> Good question, I don't know. Your code works perfectly for me here.
>
> --
> Rob Keniger
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden
>
_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >About NSAppleScriptErrorNumber = -2709 (From: xiaobin <email@hidden>)
 >Re: About NSAppleScriptErrorNumber = -2709 (From: Rob Keniger <email@hidden>)
 >Re: About NSAppleScriptErrorNumber = -2709 (From: xiaobin <email@hidden>)
 >Re: About NSAppleScriptErrorNumber = -2709 (From: Rob Keniger <email@hidden>)

  • Prev by Date: Re: Creating a window when pressing a button
  • Next by Date: Re: Custom NSTableView cells
  • Previous by thread: Re: About NSAppleScriptErrorNumber = -2709
  • Next by thread: NSArrayController and moving around its contents.
  • Index(es):
    • Date
    • Thread