Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 18th February 2013, 16:50   #1
freecorvette
Junior Member
 
Join Date: Feb 2013
Posts: 2
Automatically execute NSIS custom page without requiring the user to click "Next"

Background: I'm looking for a way to disable the "Finish" button on the last page, immediately after the user presses on the button. However, it seems that NSIS takes the mouse down event and keeps the button pressed while executing the "leave" function, so it's not possible to update the button there.

So I thought I would duplicate the final page with another custom page that has the Finish button disabled, so that when the user clicks on the original "Finish" button he is taken to the second page which is identical with the first page, except the Finish button is disabled. This part worked fine.

However, I'm looking for a way to make the page execution jump directly to the "leave" function, after the "show" function. I tried calling the relevant code from the "show" function, I tried to simulate a click on the "Finish" button, but with no luck.

Any advices? Thanks!
freecorvette is offline   Reply With Quote
 
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
click, custom, nsis, page, simulate

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump