We are working on converting the wiki to a static website controlled by markdown files in https://github.com/nsis-community. You can already see there how plug-ins will be posted. The end-user interface will still be a website but with a fresh coat of paint. Come meet us at Discord to talk about it.

Get installer to open in top left hand corner of screen

From NSIS Wiki
Jump to navigationJump to search
Author: Afrow UK (talk, contrib)


Description

This small script (found by KiCHiK) will open up the position of your install into the screen top-left hand corner of the screen.

If the installer is ever opened again, it will re-appear on the same place.

The Script

Function .onGUIInit
System::Call "User32::SetWindowPos(i, i, i, i, i, i, i) i ($HWNDPARENT, 0, 0, 0, 0, 0, 0x201)"
FunctionEnd

That's all there is to it - NOTHING else!!

Thanks KiCHiK :)

GOD [\LessThan/] KiCHiK & Sunjammer

(I think the credit for this has to go at least partly to brainsucker without whom we wouldn't have the System plugin! -- Sunjammer)

-Stuart (Afrow UK)