• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Prevent asking to locate application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Prevent asking to locate application


  • Subject: Re: Prevent asking to locate application
  • From: Hanaan Rosenthal <email@hidden>
  • Date: Sun, 28 Mar 2004 21:11:37 -0500

Joe,

Place an alias to that application in the Scripting Additions folder.
On top of that, if you change the file name of the alias, you can use
the new name to refer to the application.
For instance, make an alias of QuakXPress to the scripting additions
folder and name it "Quark"
Now, instead of having to type
Tell Application "QuarkXPress 4.11"
you can do
Tell Application "Quark"

Hanaan

On Mar 28, 2004, at 8:50 PM, Joseph Weaks wrote:

> Ok, with code like:
>
> if appChoice is "Microsoft Word" then
> tell app "Microsoft Word" to activate
> else if appChoice is "Appleworks" then
> tell app "Appleworks" to activate
> end if
>
> the problem is of course that when the end user first runs the script,
> it asks them to locate those apps. If they don't have it, they cancel
> and can't use the script. What is the easiest, cleanest, shortest
> workaround for this?
> Is it using
> run script "Tell app..." ?
>
> Thanks,
> Joe Weaks
> _______________________________________________
> 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.
>
>
--
Hanaan Rosenthal * Custom Flow Solutions
MEDIA AUTOMATION CONSULTING
401-487-2957 * email@hidden
* www.customflowsolutions.com *

be successful... ...work less.
_______________________________________________
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.


  • Follow-Ups:
    • Re: Prevent asking to locate application
      • From: Joseph Weaks <email@hidden>
References: 
 >Prevent asking to locate application (From: Joseph Weaks <email@hidden>)

  • Prev by Date: Re: AppleScript & HTML Again...
  • Next by Date: Re: AppleScript & HTML Again...
  • Previous by thread: Prevent asking to locate application
  • Next by thread: Re: Prevent asking to locate application
  • Index(es):
    • Date
    • Thread