Re: bounce script icon in dock
Re: bounce script icon in dock
- Subject: Re: bounce script icon in dock
- From: Håvard Graudo <email@hidden>
- Date: Thu, 25 Sep 2003 08:38:35 +0200
>
At 10:26p +0200 09/24/2003, Hevard Graudo didst inscribe upon an electronic papyrus:
>
>
>Hi
>
>
>
>In a stayopen script I would like to display a dialog in the background and get the users attention by bouncing the script icon in the dock.
>
>
>
>How do I start the bouncing?
At 14:38 -0700 24-09-03, Walter Ian Kaye wrote:
>
The bounce should automatically occur when your dialog is displayed.
>
If your dialog is going to the frontmost app, then do something like
>
>
tell me to display dialog
>
>
to ensure that it stays within yours and thus triggers the bounce.
That was what I thougt, but I cannot get it to work. In OS9 the app menu bar flashes on this:
tell app "Finder" to activate
tell me to display dialog "hi"
However in os X there is no bounce if i run it as an application. If I run the code within Script Debugger, Finder activates and SD's icon bounces. But as a standalone application the dialog is silently displayed in the background without any bounces. (tried on OS 10.2.6 and 10.2.8).
I would like to avoid interrupting the user by forcing the dialog to the front, but still need to get hir attention.
Hevard
_______________________________________________
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.