• 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: max script size
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: max script size


  • Subject: Re: max script size
  • From: julifos <email@hidden>
  • Date: Wed, 19 Mar 2003 09:58:19 +0100

> Anyone know how big a script can be in OS X? I have one that is
> pushing 4500 lines and growing... seems OK still, except I have always
> had to run it from the editor (the beta one). Just afraid I am going
> to hit a wall some time soon. Any good ways to split scripts into sub
> scripts?

I've compiled several megabytes without problems...

The best ways is split appart some routines in different scripts, then load
them when desired from your main script:

-- ###################################
set script_chunk to load script alias "path:to:some routines appart"
tell script_chunk to doSomeThing(with_this)
-- ###################################

JJ
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re: How to get Finder and System Events confused
  • Next by Date: Re: Setting Variables to List Items
  • Previous by thread: Re: max script size
  • Next by thread: Re: max script size
  • Index(es):
    • Date
    • Thread