Does anyone know if this is possible...
I dock a window. It genies to the dock.
I issue a Window.Hide command which makes the windows
dock icon go away.
Now, If I do a Window.Show the window appears visible.
I want it to just reappear in the dock.
Is it possible?
Indeed it is. It takes a bit of a hack but it works none the less.
Put this code in a timer (mode = 0, period = 10).
global property b as boolean
if b = false then
window2.left = screen(0).width + 10
window2.width = 1
window2.height = 1
window2.visible = true
b = true
else
MDockCollapseWindow window2
window2.width = 300
window2.height = 300
MDockUpdateWindow window2
me.mode = 0
end if
(Requires the osx utilities plugin.)
Whenever you want hte window to reappear, just set the mode of the timer to 2.
--
------------ Seth Willits ----------------
Few are those who see with their own eyes
and feel with their own hearts.
-Albert Einstein
---- http://freaksoftware.tripod.com/ ----
|