Page 2 of 2

Posted: Sat Jun 06, 2009 11:57 am
by bidgeeman
Hello again Klaus.
Is this correct?

Code: Select all

on openstack
set the rect of stack "trigger" to 9999,9999,10000,10000 
go stack "trigger" 
end openstack
Bidge

Posted: Sat Jun 06, 2009 12:05 pm
by Klaus
Hi Bidge,

yes, this is correct, but you could add a line to make your skinned stack the defaultstack again, see below:
bidgeeman wrote:Hello again Klaus.
Is this correct?

Code: Select all

on openstack
  set the rect of stack "trigger" to 9999,9999,10000,10000 
  go stack "trigger" 
  set the defaultstack to "your skinned stack"
end openstack
Bidge
Best

Klaus

Posted: Sat Jun 06, 2009 12:14 pm
by bidgeeman
Hi Klaus...IT NEARLY WORKED :)
Only problem was when you click the taskbar icon it fails to maximize!
I can't believe it...so close :)

Bidge

Posted: Sat Jun 06, 2009 12:22 pm
by Klaus
Hi Bidge,

OK, try to omit the first line in the script of the trigger stack (set the rect of me...)
since it should know its old position and restore at that place automatically:

Code: Select all

on uniconifyStack 
   show stack "name of your skinned stack" 
end uniconifyStack
Best

Klaus

Posted: Sat Jun 06, 2009 12:30 pm
by bidgeeman
Hi Klaus.
Sorry that did'nt work iether :( ....You have an option of maximizing from the taskbar...when I do this the empty Trigger stack is maximized to full screen.

Cheers
Bidge

Posted: Sat Jun 06, 2009 12:49 pm
by Klaus
Hi Bidge,

DAMN!

Hmm, I will think it over, maybe I have another clever idea :-)


Best

Klaus

Posted: Sat Jun 06, 2009 12:56 pm
by bidgeeman
Thanks Klaus. I appreciate your efforts mate!

Cheers
Bidge

Posted: Sat Jun 06, 2009 3:25 pm
by Klaus
Hi Bidge,

OK, here we go, another brilliant idea! ;-)

We could try to set the maxheight and maxwidth for the stack,
so maximizing would be in this boundarys, know what I mean?

Script of skinned stack:

Code: Select all

on openstack 
  set the rect of stack "trigger" to 9999,9999,10000,10000
  set the maxheight of stack "trigger" to 1
  set the maxwidth of stack "trigger" to 1 
  go stack "trigger" 
  set the defaultstack to "your skinned stack" 
end openstack
At least worth another try :-D

Best

Klaus

Posted: Sun Jun 07, 2009 1:32 am
by bidgeeman
Klaus.
That was quite funny. :) When I tried to maximize the exe from the taskbar a tiny little stack flew upwards and sat offscreen in the upper left hand side of the monitor. At least something happened.

Cheers
Bidge

Posted: Sun Jun 07, 2009 11:26 am
by Klaus
:-D

Sorry, I'm afrad I'm running out of ideas now...

Oh, no, wait, another flash of genius strucks me! :-D :-D :-D

OK, if all this "trigger" concept apparently only works with a "normal"
and visible stack, then we use a "normal and visible stack!
BUT we set its blendlevel to 100, so it is only visible to the computer.
Maybe this does work (somehow) ;-)

Try this:
Script of skinned stack:

Code: Select all

on openstack 
  set the rect of stack "trigger" to 9999,9999,10000,10000 
  set the maxheight of stack "trigger" to 1 
  set the maxwidth of stack "trigger" to 1 

  ## !!!
  set the blendlevel of stack "trigger" to 100
  go stack "trigger" 
  set the defaultstack to "your skinned stack" 
end openstack

Best

Klaus

Posted: Sun Jun 07, 2009 12:04 pm
by bidgeeman
Aaarg! Sorry Klaus. :( that did'nt work either. So close.... The icon is on the task bar but when maximized the trigger stack still shoots up into the upper left off screen.

Cheers
Bidge