Re: List of apps...
Re: List of apps...
- Subject: Re: List of apps...
- From: Emmanuel <email@hidden>
- Date: Tue, 2 Jul 2002 00:53:37 +0200
At 3:17 PM +0200 1/7/02, Albert Atkinson wrote:
>
>
Hello!
>
>
How would I make my applescript so it gives the user a list of apps
>
that contain the name "Swine", the user selects out of that list
>
and it uses that app through the rest of the application.
>
>
So instead of telling it "tell application "Swine 1.2.22" to
>
activate" I would make the user select out of a list and activate
>
that application. My problem is that Swine is released quite often
>
and I do not want to rewrite my applescript each time =)
If you're using OS9 you may find it a better solution to use the "path to
application" command of the Satimage osax, a powerful freeware available at
<
http://www.satimage-software.com>
-----------------------------
path to application : find an application file (or application files) given
a creator type in a given volume
path to application string -- the creator type, a 4-characters string
[in alias] -- a path to a volume
[list all boolean] -- default false : "path to application"
returns the most recently modified application.
Result : anything -- the path to the application or a list of paths
if "list all" is true
-----------------------------
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.