• 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: Problem with osascript command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Problem with osascript command


  • Subject: Re: Problem with osascript command
  • From: Mike Kobb <email@hidden>
  • Date: Wed, 28 Nov 2007 14:34:20 -0800

Aha!  That totally makes sense.  Thanks very much!

--Mike

On Nov 28, 2007, at 1:22 PM, Christopher Nebel wrote:

The difficulty is that 'tell application id "com.apple.systempreferences"' line. You're passing the script to osascript as plain text, which means osascript needs to compile it. When it encounters a "tell", it gets the scripting interface for that application, and for System Preferences, that (currently) requires launching it.

_______________________________________________ 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
References: 
 >Problem with osascript command (From: Mike Kobb <email@hidden>)
 >Re: Problem with osascript command (From: Christopher Nebel <email@hidden>)

  • Prev by Date: Re: Problem with osascript command
  • Next by Date: Re: Timed loop
  • Previous by thread: Re: Problem with osascript command
  • Next by thread: Visualhub and folder watching automation
  • Index(es):
    • Date
    • Thread