• 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
access violation in OS X 10.10.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

access violation in OS X 10.10.3


  • Subject: access violation in OS X 10.10.3
  • From: Jim Weisbin <email@hidden>
  • Date: Thu, 30 Apr 2015 11:26:57 -0400

This line breaks with an access violation in OS X 10.10.3:

set myInfo to info for f without size


The solution seems to be to wrap it in a "tell me" block, which I found here:

https://developer.apple.com/library/mac/releasenotes/AppleScript/RN-AppleScript/RN-10_6/RN-10_6.html

For security reasons, most scripting addition commands now return a “privilege violation” error when sent between application processes. In order to preserve compatibility with existing scripts, AppleScript redirects most of these commands to the current application, that is, the process running the script. If a script sends events to a remote computer via EPPC (“Remote Apple Events”), AppleScript may redirect them to the System Events process on the target machine. AppleScript Editor’s Event Log will show when this redirection happens: you will see the event sent first to the original target process, return an error, and then sent again, often to the current application.

So, problem solved for now, but I have no idea why "info for..." is considered to be another application process, or how this might affect my other many long time working scripts.


Jim Weisbin | C.T.O. | human | 138 Fifth Avenue | 3rd Floor | New York, NY | 10011 |  (212) 352-0211 |  (917) 375-2272 | Los Angeles Office | 2046 Broadway | Santa Monica, CA | 90404 |  (310) 264-0211 telephone | 

 _______________________________________________
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: access violation in OS X 10.10.3
      • From: Yvan KOENIG <email@hidden>
  • Prev by Date: Outlook 2011 - Accessing/Removing Recipients
  • Next by Date: Outlook 2011 - Accessing/Removing Recipients
  • Previous by thread: Outlook 2011 - Accessing/Removing Recipients
  • Next by thread: Re: access violation in OS X 10.10.3
  • Index(es):
    • Date
    • Thread