• 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: "script does not understand the [handler] message" appears randomly
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "script does not understand the [handler] message" appears randomly


  • Subject: Re: "script does not understand the [handler] message" appears randomly
  • From: Axel Luttgens <email@hidden>
  • Date: Fri, 24 May 2013 10:02:26 +0200

Le 23 mai 2013 à 21:31, Alex Hall a écrit :

> [...]
>
> I am using properties. Here's a copy-and-paste from one of the scripts (and yes, it uses absolute paths for now - I'll change that once I have these working consistently).
> property utilities : load script POSIX file "/Users/mehgcap/prog/apple scripts/utilities.scpt"
> property getResourceInfo : load script POSIX file "/Users/mehgcap/prog/apple scripts/getResourceInfo.scpt"

Hello Alex,

Could you try by replacing above to lines by:

	set utilities to load script POSIX file "/Users/mehgcap/prog/apple scripts/utilities.scpt"
	set getResourceInfo to load script POSIX file "/Users/mehgcap/prog/apple

This would of course replace properties by global variables, but this shouldn't have any side-effects in this case.

The benefit would be to have two run-time statements instead of compile-time initializations, and thus probably explicit error messages in case of problems with the script loading.

Axel


 _______________________________________________
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: 
 >"script does not understand the [handler] message" appears randomly (From: Alex Hall <email@hidden>)
 >Re: "script does not understand the [handler] message" appears randomly (From: Stan Cleveland <email@hidden>)
 >Re: "script does not understand the [handler] message" appears randomly (From: Alex Hall <email@hidden>)

  • Prev by Date: Re: "script does not understand the [handler] message" appears randomly
  • Next by Date: Login scripts
  • Previous by thread: Re: "script does not understand the [handler] message" appears randomly
  • Next by thread: Re: AppleScript-Users Digest, Vol 10, Issue 192
  • Index(es):
    • Date
    • Thread