Re: install & use scripting addition on fly
Re: install & use scripting addition on fly
- Subject: Re: install & use scripting addition on fly
- From: Emmanuel <email@hidden>
- Date: Wed, 7 May 2003 12:36:55 +0200
At 3:06 PM -0700 06/05/03, Jon Pugh wrote:
>
At 8:46 AM -0500 5/6/03, email@hidden wrote:
>
> I have a script that checks for a scripting addition, then if not available, it moves it into the scripting additions folder. I do this with two different scripting additions that I use. Neither osax requires a reboot.
>
>
>
> However it seems that one of them will fail now and then. It's as if it isn't quite ready yet? Is there a way I can call it or hit it with the finder, try, open, ?? and snap it into being useable. Does anyone have any ideas for that...
>
>
You need to get OSACompile or OSAExecute called. These are the routines that check and reload the scripting additions folder.
>
>
The simplest solution is to do something like this:
>
>
run script "5"
Glad if that works, but I would have said that the OP's script has to terminate first.
Emmanuel
_______________________________________________
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.