• 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: Scope/Context issue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Scope/Context issue?


  • Subject: Re: Scope/Context issue?
  • From: Skeeve <email@hidden>
  • Date: Tue, 05 Feb 2008 23:11:51 +0100

Kurt Klamp wrote:

try this

-- ScriptB.app

property a : 0
property pathtoA : "PathToScriptA"
on run
    set a to load script file pathtoA
    repeat 3 times
        tell a to run
    end repeat
    store script a in file pathtoA
end run
-- -- -- -- -- -- -- --
Strange. It works. Must have made some stupid typo in my test. It works even if I don't make a and pathtoA properties but simple variables as I had them in my test.

Thanks for helping!
_______________________________________________
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
References: 
 >Scope/Context issue? (From: Skeeve <email@hidden>)
 >Re: Scope/Context issue? (From: Kurt Klamp <email@hidden>)
 >Re: Scope/Context issue? (From: Skeeve <email@hidden>)
 >Re: Scope/Context issue? (From: Kurt Klamp <email@hidden>)

  • Prev by Date: Unsubscribe
  • Next by Date: Re: Evaluating Double Byte
  • Previous by thread: Re: Scope/Context issue?
  • Next by thread: Out of the office for Chinese New Year holidays.
  • Index(es):
    • Date
    • Thread