• 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: Calling a variable from multiple scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Calling a variable from multiple scripts


  • Subject: Re: Calling a variable from multiple scripts
  • From: Axel Luttgens <email@hidden>
  • Date: Wed, 20 Feb 2008 12:09:27 +0100

Le 20 févr. 08 à 11:51, Nishanth a écrit :

I am not using AppleScript Studio, is there any solution for my queries using Apple Script !

Hello Nishanth,

You didn't provide very much details, so Philip was just trying to guess the context you were considering; and I'm still wondering too... ;-)

Anyway, it looks like you would have to resort to standard AppleScript rules wrt script objects; for example, with two such objects defined in a single script (which will instantiate into a script object itself):

script A
	property btnSave : ""
	set my btnSave to "some button ref"
end script

script B
	tell A to run
	A's btnSave
end script

tell B to run

HTH,
Axel

_______________________________________________
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: Calling a variable from multiple scripts
      • From: Philip Aker <email@hidden>
References: 
 >Calling a variable from multiple scripts (From: Nishanth <email@hidden>)
 >Re: Calling a variable from multiple scripts (From: Philip Aker <email@hidden>)
 >Re: Calling a variable from multiple scripts (From: Nishanth <email@hidden>)

  • Prev by Date: Re: Calling a variable from multiple scripts
  • Next by Date: Re: Calling a variable from multiple scripts
  • Previous by thread: Re: Calling a variable from multiple scripts
  • Next by thread: Re: Calling a variable from multiple scripts
  • Index(es):
    • Date
    • Thread