Quote:
Originally Posted by Anders
PHP Code:
!include LogicLib.nsh
StrCpy $1 0
loop:
FindWindow $0 "MozillaUIWindowClass"
${IfThen} $0 = 0 ${|} FindWindow $0 "MozillaWindowClass" ${|}
${If} $0 <> 0
SendMessage $0 0x0112 0xF060 0
Sleep 500
IntOp $1 $1 + 1
IntCmp $1 25 "" loop
${EndIf}
This works in both 3.6 and 4 on XP (In my non standard FF configuration), but like I said, you should ask the user, not close the windows on your own.
|
I know there is "confirm close" dialog in firefox when the user closes firefox. Right now, I just could not trigger this dialog no matter what I do. Do you have any idea how to achieve that? Thanks a lot.