Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- !addplugindir .
- outfile exe.exe
- !include LogicLib.nsh
- !include WinMessages.nsh
- page custom pre webleave
- var hackit
- function pre
- strcpy $hackit 0
- system::call 'user32::PostMessage(i $hwndparent,i ${WM_COMMAND},i 1,i0)'
- nsWeb::ShowWebInPage "$exedir\file1.htm"
- functionend
- function webleave
- ${If} $hackit = 0
- FindWindow $0 "#32770" "" $HWNDPARENT
- FindWindow $0 "" "" $0
- System::Call 'user32::SetWindowPos(i $0,i0,i0,i0,i 123,i 123,i 0x0020)i'
- StrCpy $hackit 1
- Abort
- ${EndIf}
- functionend
- section
- sectionend
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement