Application in foreground

MisterX b.xavier at internet.lu
Sat Nov 5 01:55:18 EST 2005


Ken

great vbs line. Can I add it as a contribution (fully credited by you) to
TAOO?

in return I'll let you know where to find the TAOO vbs library ;)

cheers
Xavier 

> -----Original Message-----
> From: use-revolution-bounces at lists.runrev.com 
> [mailto:use-revolution-bounces at lists.runrev.com] On Behalf Of Ken Ray
> Sent: Saturday, November 05, 2005 6:21 AM
> To: Use Revolution List
> Subject: Re: Application in foreground
> 
> 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
> 
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage 
> your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution




More information about the use-livecode mailing list