Re: how does an a/s app find other apps?
Re: how does an a/s app find other apps?
- Subject: Re: how does an a/s app find other apps?
- From: Laine Lee <email@hidden>
- Date: Wed, 03 Nov 2010 16:19:32 -0500
- Thread-topic: how does an a/s app find other apps?
It's the Launch Services database. If you get that "wasn't found" message,
you can rebuild the whole thing, or rebuild it for specified directories or
domains, then try again, although it can take varying amounts of time while
executing your script. Example:
'/System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Lau
nchServices.framework/Versions/A/Support/lsregister -kill -r -domain local
-domain system -domain user'
Laine Lee
On 9/30/10 8:44 PM, "tom wible" <email@hidden> wrote:
> i have an a/s app that controls another:
>
> tell application "VirtualDVHS"
>
> and @some point it stopped working:
>
> File VirtualDVHS.app wasn¹t found.
>
> and, yes, VirtualDVHS exists in /Applications, and was running when
> the above error came up.
>
> bouncing my app cleared up the problem...so how does a/s find other
> apps, and why does it lose track of them?
>
> if anybody's interested in seeing what my app does:
>
> http://toms.homeunix.net:28888 _______________________________________________
> Do not post admin requests to the list. They will be ignored.
> AppleScript-Users mailing list (email@hidden)
> Help/Unsubscribe/Update your Subscription:
> edu
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden
>
_______________________________________________
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