• 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
Pass a variable to an include file
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Pass a variable to an include file


  • Subject: Pass a variable to an include file
  • From: Steve Foster <email@hidden>
  • Date: Wed, 16 Mar 2005 11:54:01 +0000

Hi

I have an application which gets a value from a text field (no problem), later on in the code I need to run an include file (no problem)

		set strRunScript to run script alias strIncScript

My problem is, when I run the include file I need to get the value from the text field as specified earlier (from the master doc) and use the variable within the include file but dont seem to be able to pass the value over (applescript give me the error 'the variable strTextFieldID is not defined'.

To do something similar (passing values from one document to another) with HTML I would use a query string or maybe if using ASP a session variable!

Any suggestions would be welcomed.

Thanks

Steve

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Pass a variable to an include file
      • From: jj <email@hidden>
  • Prev by Date: Re: list to a text representation of that list
  • Next by Date: Require info
  • Previous by thread: Re: Basic applescript and command line scripting issues
  • Next by thread: Re: Pass a variable to an include file
  • Index(es):
    • Date
    • Thread