Bringing a Window to the Front?
Dave
dave at looktowindward.com
Tue Jun 10 08:42:47 EDT 2008
Hi Mark,
Thanks a lot for that.
I can't believe that after all this time there isn't an in-built
RunRev function to do this!
Also the AppleScript below, wouldn't the following do the same:
put "activate me" & cr into myScript
do myScript as applescript
All the Best
Dave
On 10 Jun 2008, at 12:53, Mark Schonewille wrote:
> 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
>
> _______________________________________________
> 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