• 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 Objects
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Script Objects


  • Subject: Re: Script Objects
  • From: Yvan KOENIG <email@hidden>
  • Date: Tue, 19 Jan 2010 19:40:42 +0100


Le 19 janv. 2010 à 19:25, Stockly, Ed a écrit :


I'd certainly be interested in knowing what other people consider to be bigger
issues.

For me almost anything would be a bigger issue.

I don't like Script Objects because they're a pain to debug.

The only reason I use them (and I don't use them that much) is that in some
cases they dramatically reduce the execution time for specific tasks.


I toyed with them in Script Debugger but found that even then they were more
trouble than they were worth.


I used them in Classic because of the built-in limits on the size of
scripts, but that's no longer an issue. My scripting life is much simpler
now as a result. My solution for reusable code is to reuse handlers and
make long scripts and those run just fine.


I'm also interested in what other AppleScripters think about them.


I don't know if my opinion is important.

i don't use script objects because quite all my scripts are responces to questions asked in iWork's Apple Discussions Forum.

Askers are often reluctant to use scripts so, offering them a soluce using these more complex beast would be rejected.

My own practice is to build a huge fake scripts containing a lot of handlers.

When I build a new script, I copy / paste handlers from the huge thing which behaves as a kind of library.

So, I have the advantages of modular script without the discripencies of Script Objects.

But, I repeat, it's just a specific use of AppleScript.

Yvan KOENIG (VALLAURIS, France) mardi 19 janvier 2010 19:40:37



_______________________________________________
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: 
 >Re: Script Objects (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: Script Objects
  • Next by Date: Re: Script Objects
  • Previous by thread: Re: Script Objects
  • Next by thread: Re: Script Objects
  • Index(es):
    • Date
    • Thread