• 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
Passing InDesign variables from one script to an other
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Passing InDesign variables from one script to an other


  • Subject: Passing InDesign variables from one script to an other
  • From: Bert Groeneveld <email@hidden>
  • Date: Wed, 03 Apr 2013 14:07:48 +0200

Shane (or other InDesign specialists), can you please help?

I have a very large applescript that has too much lines (5000+). It's impossible to save with Script Debugger. To solve my problem I created a second script to which I transfered some handlers from the main script. So far so good. Things works fine, except for passing InDesign specific variables from the main script to the helperscript.

For example:
In the main script I have a variable myDoc (set myDoc to document 1). I call a handler from the helper script with myDoc as an argument. Unfortunately the helper script doesn't seem to understand the variable myDoc. Same thing goes for myPage, myRectangle, etc.

Q: How can I pass InDesign specific variables from the main script to helper script, so that they are understood in the helper script?



 _______________________________________________
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: Passing InDesign variables from one script to an other
      • From: Stan Cleveland <email@hidden>
    • Re: Passing InDesign variables from one script to an other
      • From: Luther Fuller <email@hidden>
    • Re: Passing InDesign variables from one script to an other
      • From: Christopher Stone <email@hidden>
  • Prev by Date: Re: Renaming subtitles.
  • Next by Date: Re: Passing InDesign variables from one script to an other
  • Previous by thread: Re: Renaming subtitles.
  • Next by thread: Re: Passing InDesign variables from one script to an other
  • Index(es):
    • Date
    • Thread