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

script object again


  • Subject: script object again
  • From: nicolas descombes <email@hidden>
  • Date: Thu, 25 Apr 2002 18:00:29 +0200

hello,

with this script :

[SCRIPT]
property maVariable : 0

on run
tell exemple to addition(2)
maVariable of exemple
end run

on dialogue(txt)
display dialog txt
end dialogue

script exemple
on addition(n)
set maVariable to maVariable + n
dialogue("Valeur de 3maVariable2 : " & maVariable)
end addition
end script
[/SCRIPT]

I note that the script object "script exemple" inherits property
"maVariable" and subroutine "dialogue". Thus, the script is the parent
script object by default of a script object. I'm wrong or right ?

thanks for your responses.

a+
Nicolas
--
Traduction frangaise de
AppleScript Language Guide 1.3.7
Tome 1 -> 6 disponibles
Sommaire giniral avec liens directs
<http://trad.applescript.free.fr/Accueil.html>
--
_______________________________________________
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: Copying and appending text in Filemaker
  • Next by Date: Re: Relative paths
  • Previous by thread: Pantone Colours in Xpress 4.11 (Simple for someone who knows...)
  • Next by thread: Re: script object again
  • Index(es):
    • Date
    • Thread