Re: variables vrs properties
Re: variables vrs properties
- Subject: Re: variables vrs properties
- From: "Stockly, Ed" <email@hidden>
- Date: Wed, 5 Jan 2011 17:05:27 -0600
- Acceptlanguage: en-US
- Thread-topic: variables vrs properties
That's odd, when I use 'run script' with Shane's version or Yvan's I get the
same error in Script Debugger:
An error of type -30002 has occurred.
But when I use 'tell' in my verison, it works, even without using 'my' and
without changing the order.
Wait a minute ... Shane's version works in Script Editor but not Script
Debugger, does SD handle script objects differently? And mine works in SD
but not SE (displays an empty dialog).
Maybe that's why I don't trust script objects!
I'm on Tiger, could that make a difference?
ES
On 1/5/11 2:49 PM, "Shane Stanley" <email@hidden> wrote:
> On 6/1/11 9:35 AM, "Ed Stockly" <email@hidden> wrote:
>
>> I think you use run script with the load script command.
>
> You can use it either way -- load script gives you a script object, the same
> as defining one in code.
_______________________________________________
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