Re: install & use scripting addition on fly
Re: install & use scripting addition on fly
- Subject: Re: install & use scripting addition on fly
- From: Jon Pugh <email@hidden>
- Date: Tue, 6 May 2003 15:06:01 -0700
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"
That will compile and execute a do nothing script and reload the scripting additions folder if it has changed.
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.