• 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: variables vrs properties
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: variables vrs properties
      • From: Axel Luttgens <email@hidden>
    • Re: variables vrs properties
      • From: Shane Stanley <email@hidden>
References: 
 >Re: variables vrs properties (From: Shane Stanley <email@hidden>)

  • Prev by Date: Re: slow shell
  • Next by Date: Re: variables vrs properties
  • Previous by thread: Re: variables vrs properties
  • Next by thread: Re: variables vrs properties
  • Index(es):
    • Date
    • Thread