Re: Calling a script object
Re: Calling a script object
- Subject: Re: Calling a script object
- From: Richard Fairbanks <email@hidden>
- Date: Wed, 10 Sep 2003 01:36:31 -0700
Thanks for the quick responses, everyone!
>
If you're calling it as an application, you run into problems since
>
applications don't know about things like handlers.
Yet the script works fine as a droplet . . . which is an application.
Hmmm.
>
Instead, load the app as a script.
>
>
set f to load script alias "path:to:testApp" --real path
>
tell f to run
Wow. Thanks, Paul!
<scratching head>
Amazing. I just called the script in the application and it ran just as fast as the application did when it was loaded . . . without launching the script app. Baffled and amazed. Too bad I have to keep it open for an "ignoring application responses"!
Thanks everyone for your help!
Must . . . stop . . . playing . . . and . . . go . . . to . . . bed
--
Richard Fairbanks * email@hidden
Fairbanks Productions, Inc. *
http://www.LotusDome.com
Home of the Lotus Dome:
Prefabricated * Modular * Portable * Self-Sustaining
http://www.thehungersite.com/ one click sends food to a hungry person
_______________________________________________
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.