Making a Rev-built app hoist itself to the foreground

Frank D. Engel, Jr. fde101 at fjrhome.net
Mon Dec 13 14:53:05 EST 2004


You might try something like this, making the obvious substitution for 
the app title and fixing your trigger conditions, etc. (this works for 
me in a button script, I click the button and switch apps, shortly 
after which Rev automatically brings itself to the front):

on mouseUp
   wait for 20 sec
   do "tell application " & quote & "Revolution" & quote & "to activate" 
as appleScript
end mouseUp


On Dec 13, 2004, at 2:37 PM, Chipp Walters wrote:

> Geoff,
>
> Can you somehow minimize it then maximize it programatically? Just a 
> guess.
>
> -Chipp
>
>
>
> -- 
> No virus found in this outgoing message.
> Checked by AVG Anti-Virus.
> Version: 7.0.296 / Virus Database: 265.5.1 - Release Date: 12/13/2004
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>
-----------------------------------------------------------
Frank D. Engel, Jr.  <fde101 at fjrhome.net>

$ ln -s /usr/share/kjvbible /usr/manual
$ true | cat /usr/manual | grep "John 3:16"
John 3:16 For God so loved the world, that he gave his only begotten 
Son, that whosoever believeth in him should not perish, but have 
everlasting life.
$


More information about the use-livecode mailing list