• 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: Mac OS X 10.4: using osascript to interact with users
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Mac OS X 10.4: using osascript to interact with users


  • Subject: Re: Mac OS X 10.4: using osascript to interact with users
  • From: Aaron Wyatt <email@hidden>
  • Date: Fri, 12 Jun 2009 11:36:43 -0400

Phil-

On Jun 12, 2009, at 1:11 AM, Philip Aker wrote:

However, of course, there is no "AppleScript Runner" in 10.4.  Nor have I found that "System Events" works in both OSes.  So my question is, is there a cross-os way to do user interaction osascript calls from bash?

I haven't had a problem using "System Events" in 10.4 and 10.5. The call like the one illustrated above is not sufficient for doing user interaction with System Events though. Perhaps you can elaborate on the specific issues you have encountered.


So the error is:
"execution error: No user interaciton allowed. (-1713)"

It seems to be a security thing (maybe?).

I'll try using System Events again, i've done so many iterations of this thing in a panic that I may not have properly tested it.

Thanks,
aaron
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Mac OS X 10.4: using osascript to interact with users
      • From: Chris Page <email@hidden>
    • Re: Mac OS X 10.4: using osascript to interact with users
      • From: Philip Aker <email@hidden>
References: 
 >Mac OS X 10.4: using osascript to interact with users (From: Aaron Wyatt <email@hidden>)
 >Re: Mac OS X 10.4: using osascript to interact with users (From: Philip Aker <email@hidden>)

  • Prev by Date: Re: FileMaker oddity ?
  • Next by Date: Rép: FileMaker oddity ?
  • Previous by thread: Re: Mac OS X 10.4: using osascript to interact with users
  • Next by thread: Re: Mac OS X 10.4: using osascript to interact with users
  • Index(es):
    • Date
    • Thread