|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
|
#1 |
|
Junior Member
Join Date: May 2004
Posts: 3
|
Hi,
I need to try and create a countdown to a message box. This is what I have. I have a message box come up with a yes/no selection value but I want the yes option to be selected by default after 60 seconds have gone. Is there anyway to do this using a message box?? Thanks |
|
|
|
|
|
#2 |
|
Senior Member
Join Date: Jan 2002
Location: Berlin
Posts: 172
|
Neither the builtin command nor the messagebox plugin (http://nsis.sourceforge.net/archive/...php?pageid=370) can do this.
Sorry |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
|
this is possible, but not with pure nsis code, u need to create a plugin (might b possible with the system plugin)
take a look at this code on how to "take over" the msgbox: http://www.catch22.org.uk/tuts/msgbox.asp IntOp $PostCount $PostCount + 1 |
|
|
|
|
|
#4 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
Oh Yes! You need to hooked the messagebox. As posted before you need to create the plugin or do hard coding with the system plugin.
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Jan 2004
Posts: 39
|
Lobo, didn't you already make a plugin for this? For some reason I remember someone making a plugin to do this sort of thing and I think it was you.
|
|
|
|
|
|
#6 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
No shea, I didn't.... the only plugin with the messagebox feature customize is the link posted by flizebogen in this topic.
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#7 |
|
Major Dude
|
This gave me an idea.... You could change the UI resource to a format of a MessageBox, and create a page with InstallOptions with any control you want. And you can create another program to wait the number of seconds and close the MessageBox at the time you want. Just use the imagination and you can put this working fine.
|
|
|
|
|
|
#8 |
|
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
i was looking for something like that myself: a countdown in a messagebox, with the DEFBUTTON pressed on termination.
independently from that, i'd like to inform the creator of the messagebox plugin, that IDNO and IDYES only work using the english translations. |
|
|
|
|
|
#9 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
So... the general idea is a MessageBox that will autoclose in user defined time?
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#10 | |
|
Join Date: Sep 2003
Posts: 27,873
|
Quote:
-daz |
|
|
|
|
|
|
#11 | |
|
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
Quote:
|
|
|
|
|
|
|
#12 | |
|
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
Quote:
|
|
|
|
|
|
|
#13 |
|
Forum King
Join Date: Jan 2002
Location: AT-DE
Posts: 3,366
|
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|