• 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: "do script" working in AppleScript 1.8.2b1
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "do script" working in AppleScript 1.8.2b1


  • Subject: Re: "do script" working in AppleScript 1.8.2b1
  • From: Jon Pugh <email@hidden>
  • Date: Fri, 22 Mar 2002 20:13:58 -0800

At 6:23 PM -0700 3/22/02, Gnarlodious wrote:
>Is there another way to call another script from a script?

Yes, don't do do script, just call handlers directly.

-- script 1

tell app "Script 2"
boo()
end

-- then in script 2 (an application)

on boo()
return "Eek! It's Walter!"
end

-- end

It's just that easy.

Jon
_______________________________________________
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.

References: 
 >"do script" working in AppleScript 1.8.2b1 (From: Gnarlodious <email@hidden>)

  • Prev by Date: Milliseconds in OS X?
  • Next by Date: Re: what is the best way to 'unset' a variable
  • Previous by thread: Re: "do script" working in AppleScript 1.8.2b1
  • Next by thread: Entourage "current identity" raw code not working
  • Index(es):
    • Date
    • Thread