> 
> Instead of Window Show try using:
> 
> Win.Show() or Win.Restore() or Window.MinRestore
> 
> if(visiblewindow("*freecommander*"))do
> win.show("=freecommander")
> else
> do(?"%programfiles%/freecommander/freecommander.exe", "", "", "maximized")
> endIf
>

Hmmm,

yep, you are right...

Win.Restore() works fine :)

Btw, is there a way to assign this code to a keyboard shortcut, without using a 
script.runfile command and a physical file to hdd?

Reply via email to