Bringing a Window to the Front?
Mark Schonewille
m.schonewille at economy-x-talk.com
Tue Jun 10 07:53:26 EDT 2008
Hi Dave,
Here's a solution for Windows:
http://runrev.info/Activate%20Application.htm
and here's one for Mac:
on foo
set the itemdel to slash
put last item of the address into myName
put "tell application" && quote & myName & quote && "to activate"
into myScript
do myScript as AppleScript
ed foo
The Windows solution can probably made much more elegant now, because
the do command works with VBScript now, but I haven't had time to look
into it yet.
Best regards,
Mark Schonewille
Economy-x-Talk Consulting and Software Engineering
http://economy-x-talk.com
http://www.salery.biz
Benefit from our inexpensive hosting services. See http://economy-x-talk.com/server.html
for more info.
On 10 jun 2008, at 13:34, Dave wrote:
> Hi All,
>
> How can I bring one of my RunRev Stacks/Windows to the Front (so
> that it is the "front" window). I use an AppleScript that causes
> iTunes to be selected (iTunes to the front and obscures my App's
> window), after the AppleScript has completed I'd like to ensure my
> my Application's Window is brought back to the front.
>
> A solution that works on Mac and Windows would be sooooo cool!
>
> Thanks a lot
> All the Best
> Dave
More information about the use-livecode
mailing list