Application in foreground

Sarah Reichelt sarah.reichelt at gmail.com
Fri Nov 4 18:22:20 EST 2005


> Is there a way to automaticly put an application or a rev stack on the
> foreground of the screen after a specified event ?
> Even if it was behind other apllications such as photoshop etc.
>
> Thanks for your answers,
>

On Macs you do it using AppleScript:
 put "tell application " & tAppName & quote & " to activate" into tScript
  do tScript as AppleScript

If it is a Rev stack, set tAppName to "Revolution" and make sure you
have a command to go to your required stack in case it is not the
front stack in Revolution. If this is in a standalone, set tAppName to
 the name of the standalone application.

Cheers,
Sarah



More information about the use-livecode mailing list