Application in foreground
    Ken Ray 
    kray at sonsothunder.com
       
    Sat Nov  5 00:21:05 EST 2005
    
    
  
On 11/4/05 5:22 PM, "Sarah Reichelt" <sarah.reichelt at gmail.com> wrote:
>> 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
And on Windows you can do it with VBScript:
  set WshShell = WScript.CreateObject("WScript.Shell")
  WshShell.AppActivate <<TITLE_OR_ID>>
where <<TITLE_OR_ID>> is the title of a window or a process ID number.
Ken Ray
Sons of Thunder Software
Web site: http://www.sonsothunder.com/
Email: kray at sonsothunder.com
    
    
More information about the use-livecode
mailing list