Restore Minimized App in the Dock (MacOSX Jaguar)

Thomas McGrath III 3mcgrath at adelphia.net
Fri Mar 5 10:32:37 EST 2004


James,

WARNING: don't use this in the IDE only in a standalone. It will center 
all of REV's windows as well. Not really a good thing.

Tom

On Mar 5, 2004, at 10:28 AM, Thomas McGrath III wrote:

> James,
> This is the script I use. It is in case there are substacks open as 
> well as my main stack. So I want ALL stacks to iconify and also when 
> opening i want the topmost stack on iconify to be in front on 
> uniconify.
>
> on iconifyStack
>   put the openstacks into tvar
>   put the short name of this stack into myname
>   repeat for each line i in tvar
>     if i <> myname then
>       set the iconic of stack i to true
>     end if
>   end repeat
>   set the backdrop to none
> end iconifyStack
>
> on unIconifyStack
>   put the openstacks into tvar
>   put the short name of this stack into myname
>   repeat for each line i in tvar
>     if i <> myname then
>       set the iconic of stack i to false
>       set the loc of stack i to the screenloc
>     end if
>   end repeat
>   set the loc of stack myname to the screenloc
> end unIconifyStack
>
> hope that helps
>
> Tom
>
> On Mar 5, 2004, at 10:05 AM, James.Cass at sealedair.com wrote:
>
>> Happy Friday to all!
>>
>> PLATFORM:  MacOSX 10.2.8.
>> CATEGORY:  Dock
>> QUESTION:  How can I cause a dock-minimized application window to 
>> maximize
>> and be in focus when the user clicks on the dock-alias of the 
>> application?
>> DETAILS:  We have an app that users can minimize to the Dock (using 
>> "set
>> the iconic of this stack to true"), which puts the application icon 
>> and
>> the application window in the dock.  So far so good.  Now in most OSX
>> apps, when you click on a docked application icon, the respective
>> application window will maximize out of the dock and be in focus.   
>> When
>> our users click on the docked app icon, nothing happens.  They have to
>> click directly on the minimized application window to maximize it back
>> into focus.
>>
>> Thanks in advance...James
>> _______________________________________________
>> use-revolution mailing list
>> use-revolution at lists.runrev.com
>> http://lists.runrev.com/mailman/listinfo/use-revolution
>>
>>
>
> Thomas J. McGrath III
> SCS
> 1000 Killarney Dr.
> Pittsburgh, PA 15234
> 412-885-8541
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
>

Thomas J. McGrath III
SCS
1000 Killarney Dr.
Pittsburgh, PA 15234
412-885-8541



More information about the use-livecode mailing list