• 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: Display dialog + compiled scripts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display dialog + compiled scripts


  • Subject: Re: Display dialog + compiled scripts
  • From: Paul Berkowitz <email@hidden>
  • Date: Wed, 31 Jul 2002 10:56:23 -0700

On 7/31/02 9:36 AM, "Mr Tea" <email@hidden> wrote:

> Hi. OS X question.
>
> Is there an 'approved' way to display dialogs in other apps when using a
> utility like DragThing to run a compiled script? I want the dialog to
> display in front of other windows (obviously), but don't want to bring
> DragThing to the front to display it.
>
> Must the command must always be wrapped in a specific application 'tell'
> block directed at the frontmost application? Or is there a way to have the
> OS display the message so that it always shows, no matter what app is
> frontmost?
>
If you put the display dialog inside a tell block to the other app after
telling the other app to activate, it should do what you want. Is the
problem that you don't know what the other app will be, necessarily? You can
use a variable for the other app's name. 'activate' and 'display dialog'
will compile and work without needing any using terms from' around the
app-as-variable.

--
Paul Berkowitz
_______________________________________________
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.

References: 
 >Display dialog + compiled scripts (From: Mr Tea <email@hidden>)

  • Prev by Date: Stability of Program Linking via IP.
  • Next by Date: Re: scripting mail
  • Previous by thread: Display dialog + compiled scripts
  • Next by thread: Re: Display dialog + compiled scripts
  • Index(es):
    • Date
    • Thread